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:12:34 UTC

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

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


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


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

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

Alberto Massari updated XERCESC-1945:
-------------------------------------

    Fix Version/s: 3.1.2
                   3.2.0

> 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
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.1.2, 3.2.0
>
>         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


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

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

Alberto Massari resolved XERCESC-1945.
--------------------------------------

    Resolution: Fixed

A fix is in SVN.

> 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
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.1.2, 3.2.0
>
>         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


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

Posted by "Herbert Oppmann (JIRA)" <xe...@xml.apache.org>.
     [ 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


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

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

Alberto Massari reassigned XERCESC-1945:
----------------------------------------

    Assignee: Alberto Massari

> 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
>            Assignee: Alberto Massari
>            Priority: Minor
>             Fix For: 3.1.2, 3.2.0
>
>         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