[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SAXON Fatal Error UTF-8 sequence (character code:

Subject: RE: SAXON Fatal Error UTF-8 sequence (character code: 0x63)
From: Wolfgang Bogacz <wbogacz@xxxxxxxxxxx>
Date: Fri, 21 Dec 2001 10:10:38 -0500
utf 8 sequence
This shows that you're stating the file to be UTF-8,
while internally the encoding is different than UTF-8.

If you correctly state the encoding, all will be well.

-----Original Message-----
From: Mike Ferrando [mailto:mikeferrando@xxxxxxxxx]
Sent: Friday, December 21, 2001 9:51 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  SAXON Fatal Error UTF-8 sequence (character code:
0x63)


Michael,
I did have the encoding specified in both the xml and the xsl
documents (below). You book helped me to realize the value of doing
this despite the utf-8 default.

As a result, I knew it must be a character problem but I didn't know
where to look in the document because the column and line numbers
were so wacky. Is there a way to decipher this error location when it
happens so I won't have to do the same thing again?

> >   Line:   -1
> >   Column: 33064

I read somewhere that this is a binary location. Does that mean I
could translate it (from however saxon is giving the location) and
find out where it is in my document? (Hey, I am really trying to
figure out how saxon comes up with this location.)

Thanks,
Mike F.

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl"?>
<!DOCTYPE C01>
<C01>
....data
</C01>

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

...html and templates...

</xsl:stylesheet>




--- Michael Kay <michael.h.kay@xxxxxxxxxxxx> wrote:
> It means your file is in a non-UTF-8 encoding (probably iso-8859-1)
> but it
> doesn't contain an XML declaration that says so. Add an XML
> declaration
> specifying the correct encoding and all should be well.
> 
> Mike Kay
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of
> > Mike Ferrando
> > Sent: 20 December 2001 19:59
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > Subject:  SAXON Fatal Error UTF-8 sequence (character code:
> 0x63)
> >
> >
> > Friends,
> > I have been doing just fine using Saxon to parse my xml
> documents.
> > But now I am getting an wierd error. (below) Can anyone tell me
> how I
> > can fix this?
> >
> > Mike F.
> >
> >
> > C:\WORKSHOP\BATCH>c:\workshop\saxoninstant\saxon.exe -w0 -o
> > ..\documents\Edison
> > -INStst.html ..\documents\Edison-INStst.xml
> > ..\shared\styles\Myxmltools10.xsl  "
> > filename=Edison-INStst"
> > Fatal error reported by XML parser: bad continuation of
> multi-byte
> > UTF-8 sequenc
> > e (character code: 0x63)
> >   URL:    file:/C:/WORKSHOP/documents/Edison-INStst.xml
> >   Line:   -1
> >   Column: 33064
> > Error
> >   org.xml.sax.SAXParseException: bad continuation of multi-byte
> UTF-8
> > sequence (
> > character code: 0x63)
> > Transformation failed
> >
> > C:\WORKSHOP\BATCH>pause
> > Press any key to continue . . .
> > UTF-8 sequence (character code: 0x63)
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Check out Yahoo! Shopping and Yahoo! Auctions for all of
> > your unique holiday gifts! Buy at http://shopping.yahoo.com
> > or bid at http://auctions.yahoo.com
> >
> >  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> >
> 
> 
>  XSL-List info and archive: 
> http://www.mulberrytech.com/xsl/xsl-list
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.