Title: Message
I totally agreed with that!
 
However, currently in Xalan-J's XSLT, the ElemAtribute.constructNode() method is using "transformer.transformToString(..)" to construct the attribute value, which will use the serializer to do the job (in TransfomerImpl.java).
 
And, I think this is the cause of the problem.
 
Thanks.
William.
-----Original Message-----

William Lee writes:
>By the way, is it correct to use the text-serializer
>for node construction?

This seems like the problem to me.  It does not make
any sense to use a serializer to constuct an element
node.  Any serialization issues like replacing special
characters in content with references or performing
line break conversion to the platform form are meant
to be handled when the node is serialized, not when
it is constructed.

-Glenn

This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.

Reply via email to