At 15.54 19/09/2007 +0530, Pranav, Savkur wrote:
Hello Alberto,
        thanks for the reply.
How is this different from what I have done?

You were specifying a namespace-declaring attribute (xmlns:spv="...") instead of a namespace URI.

Have you any idea why the exception was being thrown in the way I had done this

No idea; I cannot reproduce the exception in a simple test I made.

Alberto


Regards,
Pranav

-----Original Message-----
From: ext Alberto Massari [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 19, 2007 11:22 AM
To: Pranav, Savkur
Cc: [email protected]
Subject: RE: [jira] Resolved: (XERCESC-1711) TIS-620 encoding causes
exception

At 09.22 19/09/2007 +0530, Pranav, Savkur wrote:

>  Hello Alberto,group,
>         the createDocument API of DOMImplementation gives an exception

>sometimes. Following is the way I have used it:
>
>[...]
>m_ppDOMDocument =impl->createDocument(
>         X("xmlns:spv=\"urn:www.siemens.com\/SPV_Schema\""),// root
>element namespace URI.
>         X("SPV_Root"),         // root element name
>         0);

Try with

   m_ppDOMDocument =impl->createDocument(
         X("urn:www.siemens.com\/SPV_Schema"),// root element namespace
URI.
         X("spv:SPV_Root"),         // root element name
         0);

Alberto




Disclaimer:
This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to