[jdom-interest] Element without a Namepace

Werner Gresshoff gressho at uni-muenster.de
Tue Jul 17 05:07:14 PDT 2001


Hello,

I'm just trying to put a harvest client for the open archive initiative
together. I tried out JDOM beta 7, getting
the following result:

<?xml version="1.0" encoding="UTF-8"?>
<Identify xmlns="http://www.openarchives.org/OAI/1.1/OAI_Identify"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openarchives.org/OAI/1.1/OAI_Identify
http://www.openarchives.org/OAI/1.1/OAI_Identify.xsd">
<responseDate xmlns="">Dienstag, 17. Juli 2001 12.32 Uhr
CEST</responseDate>
</Identify>

The root element "Identify" has several Namespaces, but it's child
element "responseDate" was build without any namespace
(simply Element rd = new Element("responseDate");), and so I didn't
expect the result above.

Perhaps I've missed something in the XMLOutputter? I don't think this is
such a big problem, the response should be
understood...

Greetings,

Werner Greßhoff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gressho.vcf
Type: text/x-vcard
Size: 221 bytes
Desc: Card for Werner Gresshoff
Url : http://jdom.org/pipermail/jdom-interest/attachments/20010717/6ab3d57e/gressho.vcf


More information about the jdom-interest mailing list