[
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: [email protected]
For additional commands, e-mail: [email protected]