Make sure you pass the parameters right to the namespace-aware calls.
Besides, try explicitly add XML decalrations <?xml version="1.0">. Just
my guess, tell me if it works.
-----Original Message-----
From: Martin Sparenberg
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 12:19 PM
To: [EMAIL PROTECTED]
Subject: Re: Line 0; Column 0; ... stylesheet requires attribute:
version
[EMAIL PROTECTED] wrote:
>
> I'm not sure this is the specific cause of our problem, but you should
> probably upgrade your code to use the DOM Level 2 namespace-aware
calls --
> DOMImplementation.createDocument, Document.createElementNS,
> Document.createAttributeNS, and Document.setAttributeNS.
Hi!
I just updated my code to the calls you named. So I got two cases:
When I implemented all as you said, I got an error: "DOM006 Hierarchy
request error"
I then took a look into the Xalan-FAQ where I found a sentence saying
not to use "DOMImplementation.createDocument()" and to take
"DocumentBuilder newDocument()" instead. So I did and got to my other
case. That is I get my old "stylesheet requires attribute:
version;"-error again. :-(
Do you have any more idea?
Thanks
Martin Sparenberg