Next in thread → Next in month →

Re: [xml-dev] possible error in XML spec

From
John Cowan <>
To
Date
2002-07-22T16:50:41Z
ID
<>
Thread
Re: [xml-dev] possible error in XML spec
James Cerra scripsit:

> Shouldn't the following Literal (From: section 2.3, also on page 9 in the 
> PDF):
> 
> [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"
> 
> actually be:
> 
> [12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'" + '"')* "'"
> 

No.  If you enclose public ids in single quotes, you cannot use a single-quote
(apostrophe) character in them; if you enclose them in double quotes, you
can.  In no case can you use a double-quote character as part of a
public id.

-- 
Schlingt dreifach einen Kreis vom dies! || John Cowan <>
Schliesst euer Aug vor heiliger Schau,  || http://www.reutershealth.com
Denn er genoss vom Honig-Tau,           || http://www.ccil.org/~cowan
Und trank die Milch vom Paradies.            -- Coleridge (tr. Politzer)
Next in thread → Next in month →