Philipp,

You are hitting on a problem we are going to try and address with 
the SVG working group. We think that the xmlns:xlink attribute should
be declared in the attribute list for the root <svg> element (like
the xmlsn attribute is), but it is not. Until we get an answer, 
you can modify the svg10.dtd (in 
resources/org/apache/batik/dom/svg/resources) and add:

    xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink";

right after:

<!ATTLIST svg

        xmlns CDATA #FIXED "http://www.w3.org/2000/svg";


this will take care of the issue for now.
I hope this helps.
Vincent.

Philipp Matthias Hahn wrote:
> 
> Hello!
> 
> I would have liked to enter a bug-report, but since the option for a
> validation parser is in batik-1.1 only, I will send it here:
> 
> Get CVS from 2001-11-25 (that's the version with didn't work)
> Enable "Use a validating XML pareser" in Preferences->Browser Option
> Quit batik
> Start batik
> 
> You will get the error-message about xmlns:xlink not beeing a valid
> attribute for <svg> and batik will just hang there after clicking "OK".
> 
> The only way to getting batik back to work is to edit
> $HOME/.batik/preferences.xml by hand and to kill the java vm forcefully.
> 
> I hope my report helps. Thank you for your great work so far.
> 
> BYtE
> Philipp
> --
>    / /  (_)__  __ ____  __ Philipp Hahn
>   / /__/ / _ \/ // /\ \/ /
> /____/_/_//_/\_,_/ /_/\_\ [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to