Hi, I'm developping a FOP extension and I would like to use a schema to indicate which attributes/elements are optional/mandatory but as soon as I specify a xsi:schemaLocation on my fo:root, I get the following exception: org.apache.fop.fo.ValidationException: Invalid property encountered on "fo:root": xsi:schemaLocation (See position 4:143) at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38) at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54) at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175) at $Proxy4.invalidProperty(Unknown Source) at org.apache.fop.fo.PropertyList.handleInvalidProperty(PropertyList.java:470) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:334) at org.apache.fop.fo.FObj.processNode(FObj.java:119) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:282) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) at org.apache.xalan.transformer.TransformerIdentityImpl.startElement(TransformerIdentityImpl.java:1073) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485) [fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:my-extension="urn:fop-ext:my-extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:fop-ext:my-extension my-extension.xsd"]...[/fo:root] Regards, Xavier
resetting P2 open bugs to P3 pending further review
not a bug; if you want to ignore attributes with a specific namespace, then use FopFactory.ignoreNamespace(); if you feel there should be another way to specify namespaces to ignore, e.g., by a configuration file or command line option, then file an enhancement bug requesting the addition of such a feature; even better, submit a patch that implements such a feature along with such an enhancement request;
batch transition resolved+invalid to closed+invalid