Hi,

i have a problem with xalan converting some of my Unicode-Signs.
My imput file contains elements with an attribute like this:
uid="􀀁"
My HTML output file should contain these unicode-ids somewhere within the
text (for example: <body>&#x100001;</body>), but XALAN replaces it with 2
characters instead (in this example: <body>&#56256;&#56321;</body>)
If I use the Mozilla Firefox to transform my input file this error doesn't
occur.

Is there any way to fix this in XALAN? I hope you can help me.


Here is my test example:
  test.xml:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <test uid="&#x100001;"></test>

  test.xsl:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
      <xsl:strip-space elements="*"/>
      <xsl:template match="min">
        <html><body><xsl:value-of select="@uid"/></body></html>
      </xsl:template>  
    </xsl:stylesheet>

  output.html is:
    <html><body>&#56256;&#56321;</body></html>
  instead of:
    <html><body>&#x100001;</body></html>
-- 
View this message in context: 
http://old.nabble.com/Problems-with-Unicode-Signs-tp29008571p29008571.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to