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 "Herbert Oppmann (JIRA)" <xe...@xml.apache.org> on 2010/09/27 10:14:32 UTC

[jira] Updated: (XERCESC-1945) Whitespace in xsi:type

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

Herbert Oppmann updated XERCESC-1945:
-------------------------------------

    Attachment: Test.xsd
                Test.xml

Schema and instance file demonstrating the behaviour.

> Whitespace in xsi:type
> ----------------------
>
>                 Key: XERCESC-1945
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1945
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects Versions: 3.1.1
>         Environment: Detected using example program DOMCount.exe with all checks turned on (-s -f -n).
>            Reporter: Herbert Oppmann
>            Priority: Minor
>         Attachments: Test.xml, Test.xsd
>
>
> Adding space characters to the front or end of type names is accepted by Xerces. But adding other whitespace chars (TAB, CR, LF) is not accepted. According to the spec, the type name is a QName which has a whitespace property of  "collapse", so all the other whitespace chars should be converted to space before trimming.

-- 
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