[jdom-interest] Parsing a MODS-document with validation fails

Bradley S. Huffman bshuffman at gmail.com
Tue Aug 9 18:01:34 PDT 2011

On Tue, Aug 9, 2011 at 1:41 PM, Rolf Lear <rolf.lear at algorithmics.com> wrote:
> There are conditions where there is no prefix available for a default/fixed
> attribute. Specifically, if an attribute is declared to be form="qualified",
> and the Default namespace for the document is the targetNamespace for the
> attribute.... and, the XML document does not have an explicitly prefixed
> version of the default namespace as well, then there is no way to get the
> namespace prefix. Wow, that was a mouthful.

But the way I read section 6.2, attributes are never in the default
namespace, either they are in a namespace and prefixed, or unprefixed
and in no namespace.

More information about the jdom-interest mailing list