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 ji...@apache.org on 2004/04/23 19:39:54 UTC

[jira] Closed: (XERCESJ-868) [XML 1.1]: CoreDocumentImpl.checkQName rejects names with supplemental characters

Message:

   The following issue has been closed.

   Resolver: Michael Glavassevich
       Date: Fri, 23 Apr 2004 10:38 AM

Closed.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESJ-868

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESJ-868
    Summary: [XML 1.1]: CoreDocumentImpl.checkQName rejects names with supplemental characters
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: Xerces2-J
 Components: 
             DOM
   Versions:
             2.6.0

   Assignee: Michael Glavassevich
   Reporter: Michael Glavassevich

    Created: Fri, 16 Jan 2004 4:53 PM
    Updated: Fri, 23 Apr 2004 10:38 AM
Environment: Operating System: All
Platform: All

Description:
CoreDocumentImpl.checkQName is used to check if a qualifed name is valid and is 
used in several contexts. It checks the prefix and local part character by 
character but fails to check for surrogates which are legal in XML 1.1. For 
example when I try to create an attribute with a legal qname containing 
supplemental chars on a XML 1.1 document an INVALID_CHARACTER_ERR error is 
raised.

Document doc;
...
doc.createAttributeNS("", "\udb7f\udfff:\udb7f\udfff");


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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