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

Re: Questions on XML syntax and conformance issues

  • From: Morus Walter <morus.walter@g...>
  • To: xml-dev@x...
  • Date: Wed, 08 Mar 2000 21:44:13 +0100 (CET)

questions on syntax

On 08-Mar-00 Richard Tobin wrote:

Thanks for your anwsers.

> The test is wrong.  Some people have interpreted the table in section
> 4.4 as saying that parameter entities are recognised in attribute
> defaults, but this is fixed in erratum 41
> (http://www.w3.org/XML/xml-19980210-errata#E41):
> 
Thanks. That makes it clear.
BTW: is there anywhere an updated version of the spec including the errata
corrections? Of course this wouldn't be the spec an longer, but would be
helpful, since going through the errata list on every question is a lot of work.

> The test does not match the spec, and I have asked for clarification
> (by mailing the xml-editor address given in the spec).  I believe that
> the answer *should* be that the normalised result is "a\nb" and that
> this should be invalid (but well-formed).  It's invalid in SGML
> because the result of expanding a character entity is treated as
> character data and not as SPACE.
> 
So you would say, that `a&#32;b' should be invalid too?
Having a fast look at the spec I think this would be wrong.
Section 3.3.3 says, that attribute-value normalization takes place before
checking of the value. And since "[8] Nmtokens ::= Nmtoken (S Nmtoken)" I
would say, both 'a&#32;b' 'a&#10;b' (checked as 'a b' and 'a\nb') are valid.
However I would still prefer to see this as an error in the spec. It does
not make sense to deliver different strings to the application in these cases.
Considering your note on SGML this seems to be another point where the languages
differ.

> 
> Did you find an Oasis test that gets this wrong?
> 
No. See my anwser to Takuki Kamiya on this. Sorry for the confusion.

greetings
        Morus


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.