Martin Klang <[EMAIL PROTECTED]> wrote:
> i was under the impression that attribute order was not significant..
Well, _attribute_ order is not significant. But the parts of the XML
declaration aren't attributes -- they're just... parts of the XML
declaration.
(I often wish that XML 1.0 had chosen
TED]>
> Cc: "Sasha Alexander Bilton" <[EMAIL PROTECTED]>
> Sent: Thursday, September 14, 2000 8:09 AM
> Subject: attributes in the xml declaration
>
>
> >
> > Hey!
> >
> > xerces-j 1.1.2 ->
> >
> > just noted that this fails:
n" <[EMAIL PROTECTED]>
Sent: Thursday, September 14, 2000 8:09 AM
Subject: attributes in the xml declaration
>
> Hey!
>
> xerces-j 1.1.2 ->
>
> just noted that this fails:
>
> with:
> org.xml.sax.SAXParseException: The XML declaration must end with
Hi Martin,
I will refer you to the Schema spec definition for XMLDecl, production 23:
XMLDecl ::= ''
xerces-j 1.1.2 ->
just noted that this fails:
with:
org.xml.sax.SAXParseException: The XML declaration must end with "?>"
In the XMLDecl, EncodingDecl is before SDDecl.
whereas this works
Hey!
xerces-j 1.1.2 ->
just noted that this fails:
with:
org.xml.sax.SAXParseException: The XML declaration must end with "?>"
whereas this works:
also, seems i can leave the encoding attribute out of the xml file, but if
i don't include it in the xml declaration of my dtd, eg: