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 "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2015/02/28 01:23:05 UTC

[jira] [Closed] (XERCESC-1937) xsi:type is not applied to root element

     [ https://issues.apache.org/jira/browse/XERCESC-1937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor closed XERCESC-1937.
---------------------------------

> xsi:type is not applied to root element
> ---------------------------------------
>
>                 Key: XERCESC-1937
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1937
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.1.1
>         Environment: Visual Studio 2005, Windows XP SP3
>            Reporter: Alberto Massari
>            Assignee: Alberto Massari
>             Fix For: 3.1.2, 3.2.0
>
>         Attachments: test.xml, test.xsd
>
>
> Validating the attached sample using "saxprint -n -f -s test.xml" reports
> Error at file c:\testcase\ivan.xml, line 4, char 45
>   Message: no declaration found for element 'p'
> even if the schema contains the 'p' element. However, if the root element lists xsi:type *after* the xsi:noNamespaceSchemaLocation attribute, the sample works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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