A
while back I started writing a sitemap schema using relax-ng. I've compared it a
little with your DTD and found some shortcommings:
- the
element 'label' isn't supported
-
elements such as the various component declarations, views, resources,
action-sets, and even the pipelines element are all optional (at least I think
so)
- the
serialize element has empty content, while it should allow parameter-elements
inside it. It could also have mime-type and status-code
attributes
- the
aggregate element can have a prefix attribute
- the
pipeline element can have an internal-only attribute
- the
mount element can have a reload-method attribute
-
...
To
know what element/attributes exist you can look in the sitemap.xsl
file.
I've
attached my relax-ng schema, which is usable but could be improved. More
information and a link to a relax-ng implementation can be found on http://www.oasis-open.org/committees/relax-ng/
Bruno
Dumon
|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]