Tonny Kohar wrote:

Since Batik is also SVG processor, does the white-space processing
returned by that method is valid?

What method? defaultXMLSpace? yes I believe so for the very simple case of a single text node child (it wouldn't be right for tspans).

eg:
<text someAttr=".."> text with white-space before and after </text>
that method trim() will remove the leading/trailing whitespace.

Trim alone is not enough for the "default" case as you also need to collapse multiple spaces and remove CR/NL. Search the SVG specification for xml:space for the actual text.

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



Reply via email to