More on using global element decls - RSS
Really Simple Syndication
Copyright 2003-4 Randy Charles Morin
<< Previous Main Next >>
Tue, 31 Aug 2004 04:34:22 GMT
More on using global element decls

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":
Top Articles
  1. Unblock MySpace
  2. MySpace
  3. FaceParty, the British MySpace
  4. and
  5. Blocking Facebook and MySpace
  1. Review of RSS Readers
  2. MySpace Layouts
  3. RSS Stock Ticker
  4. RSS Gets an Enema
  5. Google Reader rejects