DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23446>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23446

Transformation produces different results with DOM and Stream sources





------- Additional Comments From [EMAIL PROTECTED]  2003-09-26 23:25 -------
Hi Abhilash,
I ran your program with what is most current in CVS.
The results are the same for both DOM and stream, but different than either of
your output results:

----------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>

<SampleData>
    <attr1></attr1>
    <attr2>b</attr2>
    <attr3>c</attr3>
</SampleData>
----------------------------------------------------

In your XSL I am curious about this part:
    <attr1><xsl:value-of select="@attr1" /> </attr1>
    <attr2><xsl:value-of select="@attr2" /> </attr2>
    <attr3><xsl:value-of select="@attr3" /> </attr3>

It makes me suspicions. What is that single whitespace before </attr1> and 
</attr2> and </attr3> ? Is it just a space? Was something lost in the cut/paste 
and that is why I can't reproduce the problem? If this is the case you can 
create an attachment for your XSL file. Why is this whitespace there at all?

Regards,
Brian Minchau

Reply via email to