OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Schematron: Categories of Usage?

Hi Roger,

Last time i used Schematron to validate sitemap files during project
builds. By sitemap files i mean XML documents where the element
structure is used to denote URLs of a web application, something like:

  <login />
  <logout />
  <!-- ... ->

Anyway, one would want to ensure that all denoted URIs are unique, i.e.
that arbitrary element names are unique between siblings. It took
seconds with Schematron but, if possibhle at all, it would take a lot
more with another schema language. I haven't bothered to find out.

Dunno how would one describe this without flattening everything down to
"power of XPath" or without getting way too funny like "sub-document
context random uniqueness?" :-)

Free time for hacking is limited. Schematron really works while not
getting in the way, so "Hacking" deserves to be a (great) category


PS: Now that i think about it, since even my error pages are XHTML docs,
i may even try to use this to check against 404s/obsolete paths during
validation. Heh.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS