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

Re: strange error in external dtd

Subject: Re: strange error in external dtd
From: Jeff Sese <jeferson.sese@xxxxxxxxxxxx>
Date: Thu, 18 Dec 2008 11:31:35 +0800
Re:  strange error in external dtd
My guess is the two machines have different versions of parsers, if you are using the parser bundled with the Java then you are probably using different versions of the Java.

-- Jeff

On 12 18, 08, at 9:16 AM, Fred Christian wrote:

I am using Saxon on 2 different Windows computers with different results
Both running Saxon 8.6.1 (I know, I should upgrade, sorry :(
And I have actually worked around the problem already but I can't help but be curious what might be going on.

I am not sure what the important difference is
On my XP computer my command line transform works fine.
On my Win 2000 Server computer, it fails with...

Error on line 239 column 15 of
SXXP0003: Error reported by XML parser: A colon is not allowed in the name 'IS10744:arch'
when namespaces are enabled.

Recoverable error on line 2467 of file:/C:/xslfiles/work.xsl:
FODC0005: org.xml.sax.SAXParseException: A colon is not allowed in the name 'IS10744:arch'
when namespaces are enabled.

Line 2467 of work.xsl is
<xsl:for-each select="document(string($psetDoc))" >
the doc being opened is an xhtml file with this doctype
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd ">
<html xmlns="http://www.w3.org/1999/xhtml">

I solved/worked around the problem by removing the doctype from my file. So far, I haven't found any side effects by doing so, but I wouldn't mind putting it back if I can.

Any guesses on what might be causing the error on my Win 2000 server computer and not the other?

Jeferson L. Sese jeferson dot sese at asiatype dot com Asiatype Inc. Suite 114 Columbia Tower Ortigas Ave., Greenhills Mandaluyong City 1550 Philippines Tel: +632-744-6262 Mobile: +63927-671-7901

Current Thread


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.
First Name
Last Name
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.