W3C home > Mailing lists > Public > xml-editor@w3.org > April to June 2000

XML 1.0 Specification Errata

From: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>
Date: Wed, 31 May 2000 17:01:20 +0200
Message-ID: <39352940.3C40206@ppp.uni-bamberg.de>
To: xml-editor@w3.org
I am writing to you to draw your attention to a few passages of the
XML 1.0 specification which seem to need some clarification.


1. Both §4.1 and §4.6 of the XML spec. use the term "for
interoperability" when referring to predefined entities, which means a
non-binding recommendation.  However, if one is following this
non-binding recommendation one _must_ also follow the normative
advice: "If the entities in question are declared, they must be
declared as internal entities whose replacement text is the single
character being escaped or a character reference to that character, as
shown below." (§4.6).  So what happens, if a DTD contains a
declaration like <!ENTITY lt "xyz">?  Is this valid (one does not
follow the recommendation at all, see §4.1) or invalid (one does
follow the recommendation, but in a wrong way, see §4.6)?


2. In the XML 1.0 spec §4.1 the "Well-Formedness Constraint: Entity
Declared" states: "the declaration of a general entity must precede
any reference to it which appears in a default value in an
attribute-list declaration".  It is not clear to me, whether that 
only refers to literal appearance or includes recursive appearance 
as well.  E.g. is the following valid or invalid?:

<!ENTITY foo "&bar;">
<!ATTLIST list
          type    (bullets|ordered|glossary)  "&foo;">
<!ENTITY bar "ordered">


3. An erratum in the errata page itself:  The last sentence in the
second paragraph should read "Early errata (1999-02-17 and before) are
neither classified nor dated."


Since I am currently encoding an XML parser any answer, if your time
permits, would be very welcome.


Regards,

Dieter Köhler

-- 
=====================================================================
 Dieter Koehler, M. A. - dieter.koehler@ppp.uni-bamberg.de
 Mittlere Kaulberg 22, D-96049 Bamberg, +49(0)951-5190726
 "http://www.philo.de/Philosophie-Seiten/": 1000+ Philosophie-Links
 "http://www.philo.de/VirtualLibrary/14.de.htm": Deutsche Philo-Links
 "http://www.philo.de/xml/": Open XML - XML-Komponenten fuer Delphi
=====================================================================
Received on Wednesday, 31 May 2000 11:03:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:30 GMT