Groups | Blog | Home
all groups > dotnet xml > september 2004 >

dotnet xml : benefits of xml schemas in .net


Paul
9/18/2004 9:45:01 AM
Hi,

I have been asked to write xml schema files for some xml local datastores
that we will be using. Being new to .net, I do not know if this will be of
any benefit to our development efforts. So I am curious. Does an xml
schema assist in .net development in anyway? Does it make the xml parsing
faster or something?

I don't quite understand the point of the schemea if you properly write the
xml file out.

Thanks for reading and participating.

Martin Honnen
9/18/2004 4:49:45 PM


[quoted text, click to view]


[quoted text, click to view]

An XML file that doesn't have a schema or DTD associated is only checked
against well-formedness criteria (one root element, properly nested
child element etc) but its structure or the data type of element or
attribute content is in no way specified or constrained. A schema
defines the structure and constraints the element and attribute content.

--

Martin Honnen
AddThis Social Bookmark Button