Help! ContentHandlerAdaptor.startPrefixMapping called with null prefix!
I'm using jwsdp-1.6 with a 1.5.0_05 JRE on Linux. I have an node in my schema I've set up with .
When attempting to marshal the JAXB root to XML, I wind up getting NPEs from the JAXB derived classes. The root cause is this stack trace:
At that point, impl.runtime.ContentHandlerAdaptor.startPrefixMapping is being called with a null prefix.
The root node of the DOM document does indeed have an xmlns:xxx="http://yaddayadda..." namespace declaration, but obviously 'xxx' is not null in this case.
What kills me is that if I run the exact same code on my mac, it works just fine.
If I look at the DOM document nodes before attempting to hook them up to the AuxXMLData JAXB class, they look just fine, including the namespace declaration attributes.
I would be inclined to think that this is a difference between the JAXP / DOM / SAX libraries on the two platforms, but I've tried to fetch the org.apache versions and it hasn't helped any.
I can work around the problem by editing the ContentHandlerAdaptor class and changing the null prefix into the correct one, but that would be just completely retarded.
I am slowly losing my tiny little mind. What is the deal here?