[xsl] Saxon xml parser error

Subject: [xsl] Saxon xml parser error
From: Kenneth Stephen <marvin.the.cynical.robot@xxxxxxxxx>
Date: Sat, 20 Aug 2005 23:28:56 -0500
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

Current Thread