You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Alberto Massari <am...@datadirect.com> on 2007/09/19 13:24:45 UTC

RE: [jira] Resolved: (XERCESC-1711) TIS-620 encoding causes exception

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:amassari@datadirect.com]
>Sent: Wednesday, September 19, 2007 11:22 AM
>To: Pranav, Savkur
>Cc: c-dev@xerces.apache.org
>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: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org