Xschema comments
Lars Marius Garshol
larsga at ifi.uio.no
Wed Jul 22 18:09:32 BST 1998
I've just read the XSchema spec for the first time and have some minor
comments:
- 2.3.5: Perhaps the reference content model should be called element
content model instead? That's what it is and the Element GI
is free since element declarations are called ElementDecl.
In the very last paragraph there is a typo: OneOrMore should
be ZeroOrMore.
- 2.3.6: "The XSchema processor should ignore any frequency attributes
in the Ref element."
Perhaps it would be better to require it to give a warning, since
quite a few people are bound to try this and will be confused
when the content model is silently accepted, but still doesn't
work like they expected.
- 2.4.3: The thorny issue of entity references in attribute default values
does not seem to be dealt with in any way. Perhaps this should be
explicitly disallowed, since XSchemas do not provide any means
for entity declaration? If not, should entity references of the
standard kind be regarded as parameter entity references in DTDs,
while &entref;-style references be considered entity
references in the entity replacement text? In the latter case,
how would these entities be defined?
Although the standard interpretations of XML constructs may make
this a non-issue I think it would be a good idea to spell out the
XSchema policy on this to avoid confusion.
- 3.0: Simple typo in second paragraph:
"...the 18 May 1998 "Namespaces in XML" Working Draft and is
will change ..." ^^
Apart from these nits the XSchema spec looks good to me, although more
features would of course be desirable.
--Lars M.
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list