After digging into the xerces code, both the VALIDATION and DYNAMIC_VALIDATION features
need to be false to avoid validation of docs with DOCTYPEs. The
UnmarshallerImpl.setValidation(boolean) was therefore updated to:
| public void setValidation(boolean validation) throws JBossXBException
| {
| parser.setFeature(VALIDATION, validation);
| parser.setFeature(DYNAMIC_VALIDATION, false);
| }
|
With this change the test passes.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034823#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...