[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug xml/40653] New: Issue with XML stream writer and namespaces
From: |
ludovic dot claude at laposte dot net |
Subject: |
[Bug xml/40653] New: Issue with XML stream writer and namespaces |
Date: |
5 Jul 2009 13:27:42 -0000 |
I have an issue with XMLStreamWriter. I have a test case which works perfectly
with Sun 6 and Sun 5 + StAX reference implementation from stax.codehaus.org,
but it fails on GNU Classpath. The issue is that the validation seems too
strong for the namespace, and it doesn't like writeNamespace() with a null
prefix argument, although the documentation says:
> Writes a namespace to the output stream If the prefix argument to this method
> is the empty string, "xmlns", or null this method will delegate to
> writeDefaultNamespace
This is the result of running my test:
1)
testWriter(gnu.xml.stream.XMLStreamWriterTest)java.lang.IllegalArgumentException:
illegal NCName: null
at gnu.xml.stream.XMLStreamWriterImpl.writeNamespace(libgcj.so.90)
at
gnu.xml.stream.XMLStreamWriterTest.testWriter(XMLStreamWriterTest.java:26)
at gnu.xml.stream.XMLStreamWriterTest.main(XMLStreamWriterTest.java:37)
--
Summary: Issue with XML stream writer and namespaces
Product: classpath
Version: 0.98
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: xml
AssignedTo: dog at gnu dot org
ReportedBy: ludovic dot claude at laposte dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40653
- [Bug xml/40653] New: Issue with XML stream writer and namespaces,
ludovic dot claude at laposte dot net <=
- [Bug xml/40653] Issue with XML stream writer and namespaces, ludovic dot claude at laposte dot net, 2009/07/05
- [Bug xml/40653] Issue with XML stream writer and namespaces, dog at gnu dot org, 2009/07/06
- [Bug xml/40653] Issue with XML stream writer and namespaces, dog at gnu dot org, 2009/07/06
- [Bug xml/40653] Issue with XML stream writer and namespaces, ludovic dot claude at laposte dot net, 2009/07/06
- [Bug xml/40653] Issue with XML stream writer and namespaces, gnu_andrew at member dot fsf dot org, 2009/07/07