Saxon is telling you pretty clearly that the message comes from the XML
parser, so if it were a bug, it would be a bug in the XML parser, not in
Saxon.
A quick look at production 23 of the XML specification, however, should tell
you that the pseudo-attributes within the XML declaration have to be in a
fixed order.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Kenneth Stephen
[mailto:marvin(_dot_)the(_dot_)cynical(_dot_)robot(_at_)gmail(_dot_)com]
Sent: 21 August 2005 05:29
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Saxon xml parser error
Hi,
When I process the following file :
<?xml version="1.0" standalone="no" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:img-parms="http://xml.megadodo.umb/svg"
img-parms:width="" img-parms:height="" img-parms:x=""
img-parms:y="">
<rect img-parms:x="" img-parms:y="" img-parms:width=""
img-parms:height=""
img-parms:rx="" img-parms:ry="" img-parms:style="">
<img-parms:data />
</rect>
</svg>
.....saxon tells me:
SXXP0003: Error reported by XML parser: No more pseudo
attributes are allowed.
I've discovered that if I modify the xml declaration to be :
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
....then the parser doesnt complain. What does the error mean and
is this a bug in Saxon (v8.5)?
Thanks,
Kenneth
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--