The RSS Blog

News and commentary from the RSS and OPML community.

Tim Ewald: Randy commented on yesterday's post about how I use XSD. He doesn't like the use of multiple global element decls because it makes it unclear which one or ones can be used as the root of a document. I like the GED-centric model because I often want to reuse chunks of XML in multiple places and it feels like the best way to do that. There is a larger point here, though.

Randy: Tim follows up on my previous concern about his use of XML Schema. I have to agree w/ him. My approach is about authoring XSD and his is about validation. He suggests writing 2 XSD. I've done this many times in the past, most recently when I wrote the Atom XSDs. In this case, I wrote a strict and lax XSD, one for validation and one for use by XSD-based tools like XSDObjectGen. I'm not certain this is a good practice.

Reader Comments Subscribe
Type "339":