xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Re: Potential Xerces regression (was: xml-stylebook with xml-xalan2)
Date Fri, 09 Mar 2001 17:45:47 GMT
More specific instructions (and no, I don't plan to go away until this is
addressed, but thanks for asking ;-]):

1) Start with a clean checkout of xml-xerces and a download of xalan-j_2_0_0.

2) cd xml-xerces\java; build jar

3) copy build\xerces.jar to tools\xerces.jar

4) copy xalan.jar and stylebook-1.0-b3_xalan-2.jar from xalan-j_2_0_0\bin to tools

5) erase tools\stylebook-1.0-b2.jar

6) build -Ddoc.generator.package=tools\stylebook-1.0-b3_xalan-2.jar docs

     [java] [Loader] Parsing Project file
     [java] [Xalan2Processor] Applying XSL sheet "sbk:/style/stylesheets/book2project.xsl"
     [java] [StyleBook] Caught org.apache.stylebook.LoadingException
     [java] org.apache.stylebook.LoadingException: Project does not start with <project>
     [java]     at org.apache.stylebook.Project.<init>(Project.java:39)
     [java]     at org.apache.stylebook.Loader.load(Loader.java:57)
     [java]     at org.apache.stylebook.StyleBook.getProject(StyleBook.java:121)
     [java]     at org.apache.stylebook.StyleBook.main(StyleBook.java:85)
     [java] [StyleBook] Error creating project
     [java] Java Result: 3

7) copy xerces.jar from xalan-j_2_0_0\bin to tools

8) build -Ddoc.generator.package=tools\stylebook-1.0-b3_xalan-2.jar docs
   [java] [StyleBook] All done successfully

Again, the problem seems to have been introduced in the Feb 2nd through Feb 4th time frame,
and appears to be related to the following source modules:

   javax/xml/parsers/DocumentBuilder.java
   javax/xml/parsers/DocumentBuilderFactory.java
   org/apache/xerces/dom/AttrImpl.java
   org/apache/xerces/dom/DocumentImpl.java
   org/apache/xerces/dom/ElementImpl.java
   org/apache/xerces/dom/ParentNode.java
   org/apache/xerces/jaxp/DefaultValidationErrorHandler.java
   org/apache/xerces/jaxp/DocumentBuilderFactoryImpl.java
   org/apache/xerces/jaxp/DocumentBuilderImpl.java
   org/apache/xerces/jaxp/SAXParserFactoryImpl.java
   org/apache/xerces/jaxp/SAXParserImpl.java
   org/apache/xerces/parsers/DOMParser.java
   org/apache/xerces/validators/common/XMLValidator.java
   org/apache/xerces/validators/schema/TraverseSchema.java

- Sam Ruby


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message