bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug xml/26325] New: XML parser notifies non-BMP text incorrectly


From: mike at saxonica dot com
Subject: [Bug xml/26325] New: XML parser notifies non-BMP text incorrectly
Date: 16 Feb 2006 16:51:30 -0000

Given the following source XML document

<?xml version="1.0" encoding="UTF-8"?>
<doc>[&#66304;]</doc>

(attached: the thing between the square brackets is a non-BMP character)

the XML parser notifies the text node incorrectly to the ContentHandler.
Tracing shows:

RCVR 2 START DOCUMENT
RCVR 2 START ELEMENT doc
RCVR 2   CHARACTERS 
    "91 55296 57088 93 93 "
RCVR 2 END ELEMENT
RCVR 2 END DOCUMENT

Note that the closing square bracket has been doubled.


-- 
           Summary: XML parser notifies non-BMP text incorrectly
           Product: classpath
           Version: 0.21
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: xml
        AssignedTo: dog at gnu dot org
        ReportedBy: mike at saxonica dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26325





reply via email to

[Prev in Thread] Current Thread [Next in Thread]