W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2001

Re: Error (?) in xhtml-arch-1.mod

From: Jesse McCarthy <mccarthy36@earthlink.net>
Date: Tue, 4 Dec 2001 20:00:28 -0500
To: www-html-editor@w3.org, Gary Bentley <gb@opengroup.org>
Message-ID: <MWMail.qbeqgdhd@host.none>
Gary, I would tend to think that your parsers are in error as according to 
the XML 1.0 specification the colon ":" is unambiguously allowed in 
processing instruction targets, among other things. 

- Jesse

From: Gary Bentley <gb@opengroup.org>
To: www-html-editor@w3.org
Date: Tue, 4 Dec 2001 17:40:54 +0000
Message-Id: <0112041740540F.00808@sinope>
Subject: Error (?) in xhtml-arch-1.mod


When trying to access the XHTML DTD:


the XML parser I am using eventually spits back an error saying that the 
Processing Instruction cannot contain the character ":".  The error cropped 
up in:


I used JDOM 7 and Xerces 1.2.3 for the XML parsing.  The full error message 
is below:

"The target "IS10744:arch" is not legal for JDOM/XML Processing Instructions: 
Processing instruction targets cannot contain colons."

I then tried the same with the Openwave SDK version 5.1 and got a similar 

"Entity, EntityRef, PI, Notation names, or NMToken cannot contain a
colon. Line 36, Position 16

<?IS10744:arch xhtml"

Is this really an error in the DTD, if so is there an eta on when it 
would/could be fixed?  If it's not an error, then does this mean that the 
parsers are at fault?

Many thanks,

Received on Tuesday, 4 December 2001 20:12:53 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:33 UTC