Re: Parsing a MODS-document with validation fails
"Bradley S. Huffman" <[email protected]>
| Newsgroups | gmane.comp.java.jdom.general |
|---|---|
| Message-ID | <CANq13GtG2ZUOu-HrqB10i5rGoELskuaYq7n4=Bx+vuZKtWeavg@mail.gmail.com> |
On Tue, Aug 9, 2011 at 1:41 PM, Rolf Lear <[email protected]> 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. _______________________________________________ To control your jdom-interest membership: http://www.jdom.org/mailman/options/jdom-interest/[email protected]