Jim Ley wrote:

Hi,

With my SVG application, I currently only have 1 issue with Batik 1.5beta 5 serious enough that I need to fork the script to seperate ASV from Batik:

a=parseXML("<xml/>",null)

This works in ASV for creating a new document, however in Batik it produces an error, and you can only produce documentFragments by having the second parameter be the SVG document (which doesn't work properly in ASV, and isn't really neat when you have a standalone document.

Is this simply not yet implemented in Batik, or is it a bug?


So the problem here is that in Java (strongly typed language) parseXML is defined to
return a DocumentFragment. In fact we currently parse the string into it's own document
then import it as a document fragment into the provided Document.


So Vincent, Christophe what do you think? Is it ok to change the return type of parseXML
so it returns a Node instead of a DocumentFragment? I say yes.





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



Reply via email to