inline schema vs DTDs

M

martin

Are inline schema (i.e a schema included in the XML document)
compliant with the W3C recommendations on schema? I keep reading about
them in .net articles on webservices.
I don't understand how this can be the a valid approach, as far as I
know the only way to include information on the structure of an XML
document is by enclosing the DTD in the XML document.
Am I missing something or is this just a MS approach of XML?
 
M

Martin Honnen

martin said:
Are inline schema (i.e a schema included in the XML document)
compliant with the W3C recommendations on schema? I keep reading about
them in .net articles on webservices.
I don't understand how this can be the a valid approach, as far as I
know the only way to include information on the structure of an XML
document is by enclosing the DTD in the XML document.
Am I missing something or is this just a MS approach of XML?

I think an inline schema is allowed and supported by the XML schema
specification although I can't tell you whether MS uses it in a way
complying with the standard or has invented something of its own. Do you
have an example of an MS inline schema?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top