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 "Tony Wang (JIRA)" <xe...@xml.apache.org> on 2008/09/24 04:05:44 UTC

[jira] Created: (XERCESC-1831) Xerces c can not parse instance with special chars (", < and >) in target namespace

Xerces c can not parse instance with special chars (", < and >) in target namespace
-----------------------------------------------------------------------------------

                 Key: XERCESC-1831
                 URL: https://issues.apache.org/jira/browse/XERCESC-1831
             Project: Xerces-C++
          Issue Type: Bug
    Affects Versions: 2.7.0
         Environment: Windows 2003, Xerces C 2.7
            Reporter: Tony Wang


I have a schema (ack.xsd, see attachment) which have special chars (", < and >) in target namespace, these special chars are encoded as (&quot;, &lt; and &gt; respectively). I then create a instance (ack.xml) and pass it to pparse.exe, with command: pparse -v=always -n -s -f ack.xml, the following error will be reported:

  Message: Schema in ack.xsd has a different target namespace from the one specified in the instance document http://www.theriak.is/namespace/\:*??"?<?>|.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1831) Xerces c can not parse instance with special chars (", < and >) in target namespace

Posted by "Tony Wang (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wang updated XERCESC-1831:
-------------------------------

    Attachment: ack.xsd

The schema to reproduce the issue.

> Xerces c can not parse instance with special chars (", < and >) in target namespace
> -----------------------------------------------------------------------------------
>
>                 Key: XERCESC-1831
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1831
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: Windows 2003, Xerces C 2.7
>            Reporter: Tony Wang
>         Attachments: ack.xsd
>
>
> I have a schema (ack.xsd, see attachment) which have special chars (", < and >) in target namespace, these special chars are encoded as (&quot;, &lt; and &gt; respectively). I then create a instance (ack.xml) and pass it to pparse.exe, with command: pparse -v=always -n -s -f ack.xml, the following error will be reported:
>   Message: Schema in ack.xsd has a different target namespace from the one specified in the instance document http://www.theriak.is/namespace/\:*??"?<?>|.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Updated: (XERCESC-1831) Xerces c can not parse instance with special chars (", < and >) in target namespace

Posted by "Tony Wang (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tony Wang updated XERCESC-1831:
-------------------------------

    Attachment: ack.xml

The instance to reproduce the issue.

> Xerces c can not parse instance with special chars (", < and >) in target namespace
> -----------------------------------------------------------------------------------
>
>                 Key: XERCESC-1831
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1831
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: Windows 2003, Xerces C 2.7
>            Reporter: Tony Wang
>         Attachments: ack.xml, ack.xsd
>
>
> I have a schema (ack.xsd, see attachment) which have special chars (", < and >) in target namespace, these special chars are encoded as (&quot;, &lt; and &gt; respectively). I then create a instance (ack.xml) and pass it to pparse.exe, with command: pparse -v=always -n -s -f ack.xml, the following error will be reported:
>   Message: Schema in ack.xsd has a different target namespace from the one specified in the instance document http://www.theriak.is/namespace/\:*??"?<?>|.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[jira] Resolved: (XERCESC-1831) Xerces c can not parse instance with special chars (", < and >) in target namespace

Posted by "Alberto Massari (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESC-1831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alberto Massari resolved XERCESC-1831.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0
         Assignee: Alberto Massari

Fix is in SVN.

> Xerces c can not parse instance with special chars (", < and >) in target namespace
> -----------------------------------------------------------------------------------
>
>                 Key: XERCESC-1831
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1831
>             Project: Xerces-C++
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>         Environment: Windows 2003, Xerces C 2.7
>            Reporter: Tony Wang
>            Assignee: Alberto Massari
>             Fix For: 3.1.0
>
>         Attachments: ack.xml, ack.xsd
>
>
> I have a schema (ack.xsd, see attachment) which have special chars (", < and >) in target namespace, these special chars are encoded as (&quot;, &lt; and &gt; respectively). I then create a instance (ack.xml) and pass it to pparse.exe, with command: pparse -v=always -n -s -f ack.xml, the following error will be reported:
>   Message: Schema in ack.xsd has a different target namespace from the one specified in the instance document http://www.theriak.is/namespace/\:*??"?<?>|.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org