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

Re: DTD parameter entities


illegal parameter entity reference
At 14:45 22.4.2004, you wrote:
>This is well-formed but not valid: the rule that a declaration must
>end in the same entity it starts in is a validity constraint.
>
>RXP will report this if you use the -V flag (at least recent versions
>will, I can't remember when I implemented that check).

True, my windows executable (v 1.2.5) catches this when I turn validation
on with -v flag:

Warning: Attlist declaration ends in different entity from that in which it 
star
ts in entity "CLOSE" defined at line 2 char 1 of file:///C:/temp/petest.dtd
in unnamed entity at line 6 char 58 of file:///C:/temp/petest.dtd

It is this "not from the same entity thing" that makes %ATTLIST; and 
%CLOSE; illegal (and
making any DTD declaration start like <!ELEMENT or <[IGNORE[ to be written 
as PE reference illegal).
Same thing that makes splitting general entity references like <!ENTITY e1 
"<!--"> and <!ENTITY e2 "-->">
illegal, is this true?
but shouldn't this be a well-formedness error?


with respect,
Toni Uusitalo



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.