I've been out of the loop for awhile on other projects. I upgraded to the latest stuff and started testing it.
I was trying my hand at the example: samples/namespace-prefix
I created my own NamespacePrefixMapper, then instantiated it as per the example:
m.setProperty("com.sun.xml.bind.namespacePrefixMapper",new NSPrefixMapper());
However, the try/catch around that always fails with a PropertyException that doesn't explain what the problem is:
javax.xml.bind.PropertyException: name: com.sun.xml.bind.namespacePrefixMapper value: com.temporalwave.spec.NSPrefixMapp
er_at_111a3a4
at javax.xml.bind.helpers.AbstractMarshallerImpl.setProperty(AbstractMarshallerImpl.java:290)
at com.sun.xml.bind.marshaller.MarshallerImpl.setProperty(MarshallerImpl.java:226)
at dynTest.<init>(dynTest.java:186)
at dynTest.main(dynTest.java:20)
How do I fix this?
Thanks,
Malachi