[ 
https://issues.apache.org/jira/browse/XERCESJ-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026947#comment-13026947
 ] 

Michael Glavassevich commented on XERCESJ-1505:
-----------------------------------------------

Also a good idea to install an ErrorHandler on the SchemaFactory. There's a 
warning that's probably being reported for the connection failure to xml.xsd, 
but is currently being ignored by your test application.

> Error "Cannot resolve the name 'xml:space' to a(n) 'attribute declaration' 
> component." in an XML Schema (possible regression detected by Gump run while 
> testing Apache FOP)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: XERCESJ-1505
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1505
>             Project: Xerces2-J
>          Issue Type: Bug
>         Environment: Apache Gump, OpenJDK
>            Reporter: Jeremias Maerki
>
> A few days ago, we (fop-...@xmlgraphics.apache.org) were notified that Gump 
> failed to complete the test run for Apache FOP, apparently due to a possible 
> regression in Xerces:
> junit-intermediate-format:
>      [echo] Running intermediate format tests...
>     [junit] Testsuite: org.apache.fop.intermediate.IntermediateFormatTestSuite
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
>     [junit] 
>     [junit] Null Test:        Caused an ERROR
>     [junit] null
>     [junit] java.lang.reflect.InvocationTargetException
>     [junit] Caused by: java.lang.ExceptionInInitializerError
>     [junit]   at 
> org.apache.fop.intermediate.AbstractIFTestCase.<clinit>(AbstractIFTestCase.java:64)
>     [junit]   at 
> org.apache.fop.intermediate.IntermediateFormatTestSuite.suite(IntermediateFormatTestSuite.java:63)
>     [junit] Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot 
> resolve the name 'xml:space' to a(n) 'attribute declaration' component.
>     [junit]   at 
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown 
> Source)
>     [junit]   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown 
> Source)
>     [junit]   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown 
> Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown 
> Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown 
> Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndAttrGrps(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.processComplexContent(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseComplexTypeDecl(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDComplexTypeTraverser.traverseLocal(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseNamedElement(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDElementTraverser.traverseGlobal(Unknown
>  Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.traverseSchemas(Unknown 
> Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
>     [junit]   at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown 
> Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
>     [junit]   at 
> org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
>     [junit]   at 
> org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(Unknown Source)
>     [junit]   at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
>     [junit]   at javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
>     [junit]   at 
> org.apache.fop.intermediate.AbstractIFTestCase.<clinit>(AbstractIFTestCase.java:60)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.fop.intermediate.IntermediateFormatTestSuite 
> FAILED
> The full Gump notification:
> http://fop.markmail.org/thread/lsvvh3zgdjyiu6wo
> http://vmgump.apache.org/gump/public/xml-fop/xml-fop-test/index.html
> I haven't tried to reproduce it locally, yet. If you want to try to reproduce 
> this locally, you can check out FOP Trunk 
> (https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk), replace Xerces JAR 
> in the lib directory and run the Ant build. But it is probably sufficient to 
> try to parse the following XSD:
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/documentation/intermediate-format-ng/fop-intermediate-format-ng.xsd
> The following class is responsible for loading this XSD:
> http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/test/java/org/apache/fop/intermediate/AbstractIFTestCase.java

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to