santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40156] New: - Canonicalization fails with German umlauts
Date Tue, 01 Aug 2006 19:20:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40156>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40156

           Summary: Canonicalization fails with German umlauts
           Product: Security
           Version: Java 1.3
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Canonicalization
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: dominikschadow@web.de


When canonicalizing German umlauts like ä (&auml; in html) in version 1.3 with
Java 1.5 (probably with different Java versions too). This happens when calling
the Canonicalizer directly, like in the three samples provided
(CanonDirect.java, CanonSubTree.java and CanonByTransform.java). 

The exact exception is

Exception in thread "main" org.xml.sax.SAXParseException: Invalid byte 2 of
3-byte UTF-8 sequence.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
at
org.apache.xml.security.samples.canonicalization.CanonByTransform.main(Unknown
Source)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message