summaryrefslogtreecommitdiff
path: root/gnu/xml/stream/XMLEventAllocatorImpl.java
diff options
context:
space:
mode:
authorChris Burdess <dog@bluezoo.org>2005-09-05 12:37:36 +0000
committerChris Burdess <dog@bluezoo.org>2005-09-05 12:37:36 +0000
commitd317eec2012b0c8cb0bf52979c0339f41aa703db (patch)
treec6f942ac769062f7737d28fcc71ce93708463177 /gnu/xml/stream/XMLEventAllocatorImpl.java
parent73e7d86377075c705dbf0f9da0bd925d3784eea3 (diff)
downloadclasspath-d317eec2012b0c8cb0bf52979c0339f41aa703db.tar.gz
2005-09-05 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/XMLEventAllocatorImpl.java, gnu/xml/stream/XMLInputFactoryImpl.java, gnu/xml/stream/XMLStreamReaderImpl.java: Various fixes from system testing. * javax/xml/namespace/QName.java: Avoid unnecessary test.
Diffstat (limited to 'gnu/xml/stream/XMLEventAllocatorImpl.java')
-rw-r--r--gnu/xml/stream/XMLEventAllocatorImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/xml/stream/XMLEventAllocatorImpl.java b/gnu/xml/stream/XMLEventAllocatorImpl.java
index 8a737ed5b..4b21b6c71 100644
--- a/gnu/xml/stream/XMLEventAllocatorImpl.java
+++ b/gnu/xml/stream/XMLEventAllocatorImpl.java
@@ -92,7 +92,7 @@ public class XMLEventAllocatorImpl
// TODO ignorableWhitespace
ignorableWhitespace = whitespace && false;
return new CharactersImpl(location, text,
- whitespace, true, ignorableWhitespace);
+ whitespace, false, ignorableWhitespace);
case XMLStreamConstants.COMMENT:
text = reader.getText();
return new CommentImpl(location, text);
@@ -130,7 +130,7 @@ public class XMLEventAllocatorImpl
// TODO ignorableWhitespace
ignorableWhitespace = whitespace && false;
return new CharactersImpl(location, text,
- whitespace, true, ignorableWhitespace);
+ whitespace, false, ignorableWhitespace);
case XMLStreamConstants.START_DOCUMENT:
String systemId = location.getLocationURI();
String encoding = reader.getCharacterEncodingScheme();