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

Re: PEs in Default Attribute Values

  • From: Rob Lugt <roblugt@e...>
  • To: Jason Diamond <jason@i...>, xml-dev@l...
  • Date: Thu, 03 May 2001 10:44:00 +0100

diamond pes
Jason Diamond wrote:-
> This one's tricky. Parameter entity references can only appear at the
> top-level in the internal subset. This is actually a well-formedness
> constraint so conformant XML processors would be required to report it as
an
> error and not just silently pass it through as literal text.
<snip/>
> I suspect that the test is wrong if it expects any output at all since it
> should have stopped processing before encountering the document element.

I too thought it was tricky, but Richard Tobin kindly pointed out[1] that
the James Clark test is valid.  Richard quoted from XML 1.0 4.4 [2]:

Reference in Attribute Value
  as a reference within either the value of an attribute in a
  start-tag, or a default value in an attribute declaration;
  corresponds to the nonterminal AttValue.

Regards
Rob Lugt
ElCel Technology

[1] http://lists.xml.org/archives/xml-dev/200105/msg00024.html
[2] http://www.w3.org/TR/REC-xml#entproc





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.