Thomas DeWeese wrote:
> I think the problem is the xml:base, xml:space etc that the SVG DTD > defines. You might try adding > xmlns:xml="http://www.w3.org/XML/1998/namespace"
Oops... evidently I've not had enough coffee yet today because I sent you the wrong file. Sorry to waste your time with that, but you seem to have found the problem in spite of my mistake.
The file that Batik is complaining about is in fact some (edited) output from inkscape. And it turns out that the *presence* of the xmlns:xml namespace is what's causing the problem. If I remove that line, batik can read it without xerces.
Here is the correct file that batik complains about.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <!-- Created with Inkscape (http://www.inkscape.org/) --> <!-- (with some manual editing by George Armhold) --> <svg id="svg1" sodipodi:version="0.32" inkscape:version="0.38.1" width="8in" height="5in" viewBox="0 0 841 595" preserveAspectRatio="xMidYMid meet" sodipodi:docname="lecture123.svg" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://web.resource.org/cc/" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" sodipodi:docbase="/home/armhold/java/elearning/svg">
<g>
</g>
</svg>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]