Christian Schlichtherle pisze:
Hi,
many folks seem confused about XML Schema. If so, they may be confused about
DTD or Relax NG as well. All of these are just definitions of a grammar, not
semantics. So if a sitemap has been validated with a schema, this means no
more than that the sitemap is well-formed XML which complies to the specific
grammar in the schema. Just like a traditional parser.
Christian, you are of course right but the strictest schema we have the less
errors you are going to tackle at a runtime.
Anyway, the big benefit of a complete schema for the sitemap to me is code
completion. Now that I have an XML Schema, I can tell my IDE (NetBeans) to
aid me with code completion when editing sitemaps.
Yes, that's the main benefit of having good schema.
For all the folks reading this thread: if you see that current schema is not perfect just improve it, send us a path on JIRA and I'm sure
that someone will be really happy to submit valuable improvements.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]