until a full validation framework that support extensions are in place.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197935
13f79535-47bb-0310-9956-
ffa450edef68
"Error: First element must be fo:root formatting object"));
}
} else { // check that incoming node is valid for currentFObj
- try {
- currentFObj.validateChildNode(locator, namespaceURI, localName);
- } catch (SAXParseException e) {
- throw e;
+ if (namespaceURI.equals(FOElementMapping.URI)) {
+ try {
+ currentFObj.validateChildNode(locator, namespaceURI, localName);
+ } catch (SAXParseException e) {
+ throw e;
+ }
}
}