Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   XML (http://www.velocityreviews.com/forums/f32-xml.html)
-   -   inline schema vs DTDs (http://www.velocityreviews.com/forums/t167669-inline-schema-vs-dtds.html)

martin 08-16-2004 07:43 AM

inline schema vs DTDs
 
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?

Martin Honnen 08-16-2004 12:30 PM

Re: inline schema vs DTDs
 


martin wrote:

> 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?

--

Martin Honnen
http://JavaScript.FAQTs.com/



All times are GMT. The time now is 10:40 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57