Strange,
Please fill a bug. We are going to make a relese anytime
soon. And
that is a important bug.
On 7/25/06, Dominik Schadow <dominikschadow web.de> wrote:
> Hello,
>
> I discovered a problem when canonicalizing German
umlauts like ä (ä in html in case it gets lost in
my mail) 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 problem seems to be the byte
stuff...
>
> 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.CanonByTran
sform.main(Unknown Source)
>
> Is a workaround possible (I kind of need this
functionality)?
>
> Regards, Dominik
>
____________________________________________________________
_________
> Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer
Onlinekosten zu sparen!
> http://smartsurfer.web.de/?mc=100071&dis
tributionid=000000000071
>
>
--
http://r-bg.com
|