[Home] [By Thread] [By Date] [Recent Entries]

  • From: KAZUMI Saito <ksaito@f...>
  • To: xml-dev@l...
  • Date: Fri, 28 Jul 2000 16:37:25 +0900


I have an question about external parameter entity.

Some of XML parsers can parse following samples without error.

------  a1.xml  ------
<?xml version="1.0"?>
<!DOCTYPE doc SYSTEM "a3.dtd" [
<!ELEMENT doc (a | c)*>
<!ENTITY % A  SYSTEM "a.ent">
<!ELEMENT a (#PCDATA)>
<!ELEMENT c (%A;)>
]>
<doc/>
-----------------------

-----   a.ent   -----
a
-----------------------

But, the XML errata (http://www.w3.org/XML/xml-19980210-errata.) says,

 E13
  Section 2.8 
   To the paragraph before production [30], add "The external subset
   and any external parameter entities referred to in the DTD must
   match the production for extPE. See 4.3.2 Well-Formed Parsed Entities". 

After this errata is applied, since the a.ent does not match the production
for extPE[79], above sample is wrong?

Please suggest me.


-----
 KAZUMI Saito
 Information Service Architecture Lab. FUJITSU Laboratories Ltd.
 TEL 7720-8892($B@JD>DL(B), FAX 7720-4961

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member