https://bz.apache.org/bugzilla/show_bug.cgi?id=57867

--- Comment #4 from Hector Fontanez <[email protected]> ---
(In reply to Nick Burch from comment #3)
> I can't find any references to org.apache.xalan in our codebase or
> documentation, sorry. Any chance you could point me to the place where they
> are, so we can get them updated?
> 
> Ideally, if you could also provide a unit test (that fails on trunk without
> the fix) to highlight the problem, that'd be handy too!

The following code works with xalan.jar in the classpath, but throws an
exception without it:

      Workbook wb = new XSSFWorkbook();
      FileOutputStream fileOut = new FileOutputStream("workbook.xlsx");
      wb.write(fileOut); // Fails here (uncaught exception)
      fileOut.close();

Using HSSFWorkbook works with our without Xalan because they don't use OOXML.
My development environment uses Java SE 6 and was failing on the call to the
write method until I downloaded (as recommended by Java) Xalan with all the
additional JARs (serializer.jar, xercesImpl.jar, xml-apis.jar). Removing the
xalan.jar (and leaving the other updated ones) results in following error:
java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to