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

Re: must be a trivial problem

Subject: Re: must be a trivial problem
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 12 Feb 2001 14:09:46 -0700 (MST)
Re:  must be a trivial problem
stefano debenedetti wrote:
> as I can't find any information on what's going wrong here, seems I'm the only one
> who can't figure it out.
> 
> With xalan-j_2_0_D01 every time I try to transform an XML with a DOCTYPE declaration
> of any kind from the command line I get an error pretty much like this:
> 
> java.lang.StringIndexOutOfBoundsException: String index out of range: -174
>         at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:878)

Since it's an XML parsing problem coming from Xerces, not an XSLT
transformation processing problem coming from Xalan, I'd say you probably
have an encoding problem. Not to mention a bug in how Xerces handles it.

Are you *sure* your documents are actually encoded as UTF-8 or did you
just declare them to be UTF-8 without actualy saving them as UTF-8? Point
us to a representative XML file (don't copy/paste it here), or run it
through a different parser and see if you get a more helpful error
message.

   - Mike
____________________________________________________________________
Mike J. Brown, software engineer at            My XML/XSL resources: 
webb.net in Denver, Colorado, USA              http://skew.org/xml/


 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.