Hi,

I am new to batik, svg and xml. I have an svg file that can be rendered
with a simple batik application I wrote. it has:

        <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>.

If I change it to another DTD which I wrote for testing, for example,
to: 
        <!DOCTYPE svg SYSTEM "http://mydomain/DTDs/test.dtd";>

it still can be rendered even with the setValidating(true) on the
SAXSVGDocumentFactory object. Also the file is actually not valid
according to the DTD I gave. Could anybody explain to me what is going
on? I thought batik would validate the document with the dtd I gave at
the DOCTYPE declaration.

Thank you very much.

wz





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to