Thanks Dave and Joseph.

I will pursue your pointers as indicated.

Thanks again.
Michel.

-----Original Message-----
From: David N Bertoni/Cambridge/IBM [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 9:43 PM
To: [EMAIL PROTECTED]
Subject: Re: Performance hit/exception when top level element has
namespace

A few things:

1. Are you using the Java processor or the C++ processor?  What is your
platform and what version of the processor are you using?

2. Spaces are not valid in URLs, so the parser may be crapping out, then
trying to recover.  Xalan (either the Java or C++ processor) is not at all
involved in parsing a schema instance, or in validating it.

3. If you are using the C++ process, then the Xerces-C++ may be the cause
of the exception, as it uses exceptions to control flow when parsing
external entities like a schema file.

Dave

-----Original Message-----
From: Joseph Kesselman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 12, 2002 7:48 AM
To: [EMAIL PROTECTED]
Subject: Re: Performance hit/exception when top level element has
namespace


XSLT processes namespace-conformant XML files. The XML is not 
namespace-conformant. The name of a namespace must be a URI, and space is 
not a legal URI character.

Fix your file.

(Note that this complaint is probably a Xerces error message rather than a 
Xalan error message. I don't think we have an explicit check for this. But 
I'm glad Xerces does.)

______________________________________
Joe Kesselman  / IBM Research

Reply via email to