[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug xml/26324] New: AElfred: spurious extra newline notified
From: |
mike at saxonica dot com |
Subject: |
[Bug xml/26324] New: AElfred: spurious extra newline notified |
Date: |
16 Feb 2006 16:28:34 -0000 |
AElfred notifies a spurious extra newline to the user-supplied ContentHandler.
Given the source document
<?xml version="1.0" encoding="ISO-8859-1"?>
<doc>
<child1>This is the child number 1.</child1>
</doc>
Tracing shows the following sequence of events notified:
RCVR 2 START DOCUMENT
RCVR 2 START ELEMENT doc
RCVR 2 CHARACTERS (whitespace)
"10 32 32 "
RCVR 2 START ELEMENT child1
RCVR 2 START CONTENT
RCVR 2 CHARACTERS
"84 104 105 115 32 105 115 32 116 104 101 32 99 104 105 108 100 32 110 117
109 98 101 114 32 49 46 "
RCVR 2 END ELEMENT
RCVR 2 CHARACTERS (whitespace)
"10 10 "
RCVR 2 END ELEMENT
RCVR 2 END DOCUMENT
The last "CHARACTERS" event should be a single newline, not two.
Note that in the source, the newlines are actually x0D x0A (Windows line
endings)
--
Summary: AElfred: spurious extra newline notified
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=26324
- [Bug xml/26324] New: AElfred: spurious extra newline notified,
mike at saxonica dot com <=