Hi, > First I don't think you can do whitespace handling in the parser. > It's a little hard to know exactly where Batik fits in the XML scheme > of things (it's not 100% clear to me if it is an XML processor or an > Application) but my reading of the XML spec indicates that Batik can't > strip spaces they must be made available through the DOM.
1) Since it is a DOM stuff, not a XML stuff. I am going to rewrite it for DOM normalize method, is this approach correct ? 2) When digging the Batik DOM for this stuff, I found AbstractParentNode provide implementation for normalize() however it does not cater for XML space preserve|default. Is this implementation correct? 3) Is there something about xml preserve stuff that I should consider for? Looking through DOM & XML spec from W3C it doesn't say much regarding this matter? 4) Since text node could contains entity, what entity I should consider for? Do I only need to consider the predefined entity in XML spec which is only &, > <, ', " ? How to handle non predefined entity? Regards Tonny Kohar -- Sketsa SVG Graphics Editor http://www.kiyut.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]