[jira] [Commented] (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:comment-tabpanel=17684411#comment-17684411 ] Radu Coravu commented on XERCESJ-1755: -- I would not say "wrong", the namespace prefix is an attribute name so it must adhere to the attribute name syntax. Other than that it's everybody's choice how they use the XML standard as long as they obey it. > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Commented] (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:comment-tabpanel=17684288#comment-17684288 ] Elliotte Rusty Harold commented on XERCESJ-1755: The user is wrong. It makes no sense to use U+FF0B as a namespace prefix or almost anywhere else outside of typesetting. Honestly maybe not even there. It's not clear to me this is truly a distinct character, and perhaps shouldn't have been added to Unicode in the first place. Regardless though, it clearly does not belong in markup, even were it allowed, and the user is making trouble for themselves by trying to use it there. It's a good example of some developer being way too impressed with their own cleverness and knowledge of technical arcana. This should not have gotten past the first code review. > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Commented] (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:comment-tabpanel=17684181#comment-17684181 ] Radu Coravu commented on XERCESJ-1755: -- In this case end user said something along the line they have a web site domain used in the namespace ending with ".plus" so I guess it made sense to use + as the prefix to the namespace :) > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Commented] (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:comment-tabpanel=17684163#comment-17684163 ] Elliotte Rusty Harold commented on XERCESJ-1755: Interesting case. The example you show has the sign in the attribute name, not the value. Which did you mean? I think it should be OK in attribute value in all versions of XML. > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Commented] (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:comment-tabpanel=17682384#comment-17682384 ] Radu Coravu commented on XERCESJ-1755: -- Thanks [~mrgla...@ca.ibm.com] > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org
[jira] [Commented] (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:comment-tabpanel=17681987#comment-17681987 ] Radu Coravu commented on XERCESJ-1755: -- There may be other characters as well accepted by the XML 1.0 specs but rejected by Xerces. > 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} > https://iso20022.plus;>{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-unsubscr...@xerces.apache.org For additional commands, e-mail: j-dev-h...@xerces.apache.org