OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Question about XML Syntax : External Parameter Entity

[ Lists Home | Date Index | Thread Index ]
  • From: KAZUMI Saito <ksaito@flab.fujitsu.co.jp>
  • To: xml-dev@lists.xml.org
  • 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(席直通), FAX 7720-4961




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS