[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Question about XML Syntax : External Parameter Entity
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|