On 06/15/2010 09:31 AM, Markus Piff wrote:
Maybe somehow related to the question:
Is it possible to define an xml schema which matches any well formed xml file?
Thx again,
Markus
With XML Schema you need to define at least one global root element for
it to start validation from. But after that you can have the children
contain any element type using <xs:any/>.
http://www.w3.org/TR/xmlschema-0/#any
But a standalone XML Schema that matches any well formed element isn't
currently possible. I think RelaxNG and SchemaTron can be used in those
cases, and there might be a way to do it with XML Schemas 1.1, which ODE
doesn't yet support. Xerces-J 2.10 recently released just added XML
Schema 1.1 assertion support.
Dave