You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (Jira)" <xe...@xml.apache.org> on 2023/01/30 16:41:00 UTC

[jira] [Resolved] (XERCESJ-1755) Unicode character Fullwidth Plus Sign not allowed in attribute value (XML 1.0)

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

Michael Glavassevich resolved XERCESJ-1755.
-------------------------------------------
    Resolution: Not A Bug

The documentation for Xerces explicitly states that it supports XML 1.0 4th edition: https://www.w3.org/TR/2006/REC-xml-20060816/. XML 1.0 5th edition (which you have linked to) was never implemented and there were never plans to implement it in Xerces due to compatibility concerns. A user could create an XML 1.1 document if they want to use such characters in XML names.

> Unicode character Fullwidth Plus Sign not allowed in attribute value (XML 1.0)
> ------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1755
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1755
>             Project: Xerces2-J
>          Issue Type: Bug
>            Reporter: Radu Coravu
>            Priority: Minor
>
> Unicode character U+FF0B: Fullwidth Plus Sign not allowed in attribute value with XML 1.0 version.
> This XML fragment is reported by Xerces as invalid:
> {code}<?xml version="1.0"?>
> <abc xmlns:+="https://iso20022.plus"></abc>{code}
> {quote}Element or attribute do not match QName production: QName::=(NCName':')?NCName.{quote}
> Although FF0B seems to fit in this range of allowed chars [#xE000-#xFFFD] for XML 1.0:
> https://www.w3.org/TR/REC-xml/#NT-Char
> If I change the XML version to 1.1 the validation starts working again.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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