W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2009

RE: Schema embedded in an XML document

From: Michael Glavassevich <mrglavas@ca.ibm.com>
Date: Fri, 24 Apr 2009 00:27:36 -0400
To: xmlschema-dev@w3.org
Message-ID: <OF85446E21.AE7C2593-ON852575A2.00162640-852575A2.00186CC3@ca.ibm.com>

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 - Rowan
Received 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