Xerces-J also supports inline schemas though there's no magic flag for enabling it. You need to write some glue code as shown in one of the samples [1]. [1] http://xerces.apache.org/xerces2-j/samples-jaxp.html#InlineSchemaValidator Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrglavas@ca.ibm.com E-mail: mrglavas@apache.org Stan.Kitsis@microsoft.com wrote on 04/22/2009 02:17:56 PM: > Current validators from Microsoft (both system.xml and MSXML) > support inline schemas: http://msdn.microsoft.com/en-us/library/aa302288.aspx > However, I think that the majority of the validators out there don?t > support them and even if you look at those that do, you might find > significant differences. > > Stan Kitsis > Microsoft Corporation > > From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org] > On Behalf Of Rowan Bradley > Sent: Wednesday, April 22, 2009 7:38 AM > To: xmlschema-dev@w3.org > Subject: Schema embedded in an XML document > > Is it possible to incorporate the schema in a single file along with > the XML content that?s meant to conform to the schema? I?m thinking > of something rather like HTML files that can incorporate embedded > CSS styles, or the CSS files can be extracted into a separate CSS file. > Thanks - RowanReceived on Friday, 24 April 2009 04:27:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:15:11 GMT