Falk Langhammer wrote:

After I change my declaration to
    <namespace uri="mynsuri" default="elements"/>
I get an exception if I unmarshall, then marshall my document.

But this only happens with attributes within elements being marshalled. They should have no namespace set from unmarshalling (only elements should) but they actually DO have the namespaceURI "".

This leads to
    DomMapperBase.findNamespaceIndex(null,"") returns -1
(stack trace appended).

Your stack trace line numbers don't appear to match the code from either beta3c or the CVS, so I'm not sure what you're working with. For attributes the namespace handling is triggered entirely by the prefix, since an attribute without a prefix will always be in the default namespace. The namespace URI for an attribute will be ignored, as far as I can see, unless you give the attribute a prefix. Given that you're showing a null being passed to findNamespaceIndex it looks like there's no prefix on this attribute. Can you tell me what code you're using?


 - Dennis


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to