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

Encoding problem or what else?

Subject: Encoding problem or what else?
From: "FC" <flavio@xxxxxx>
Date: Wed, 7 Dec 2005 17:08:27 +0100
sxxp0003
Hi all,
I've a couple of xml source files that I need to transform using the open
source of saxon version 8.6.1 that I downloaded a few days ago.
Both files have the following xml header and root element:


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<PickData xsi:noNamespaceSchemaLocation="PickData.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

However when I run my transformation one of the two produces the following
saxon error:

SXXP0003: Error reported by XML parser: Document root element is missing.

I managed to work around the problem by manually changing the document
encoding from utf-8 to iso-8859-1 using Altova XMLSpy, so my assumption is
that although the file is declared to be in UTF-8, it is not really as such.
Note also that XMLSpy opens both documents as UTF-8 and reports no problems
when parsing them.

So, do you think I report this problem back to the people that are sending
me this file or am I missing something else here?

Thanks.
Flavio

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.