[
Lists Home |
Date Index |
Thread Index
]
- From: "Rick Jelliffe" <ricko@allette.com.au>
- To: <xml-dev@ic.ac.uk>
- Date: Wed, 28 Jul 1999 13:07:42 +0800
From: John E. Simpson <simpson@polaris.net>
>It's possible I'm missing something extremely (perversely) subtle, but
I
>don't get the sense of "*cannot* redeclare" [emphasis added] at all in
the
>above passage. True, it does say that "all XML processors must
recognize"
>the predefined entities. If no redeclaration at all were permitted, the
>sentence beginning "If the entities in question are declared" wouldn't
make
>a lot of sense, right?
There is a similar issue with xml:lang.
Some processors (e.g. early LotusXSL and others) did not have built-in
declarations for xml:lang. But when you tried to give one, it required
a namespace declaration. And then it would say that declaring an
xml namespace was not allowed.
I think it is a sign of inadequate testing. Developers should check that
their products allow xml:lang in WF, valid and namespaced documents.
Even just putting xml:lang="en-US" on one element in a test file
should
expose the problem.
The spec says "In valid documents, this attribute, like any other, must
be
declared if it is used."
Rick Jelliffe
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|