[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Question about XML Syntax : External Parameter Entity

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

xml 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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.