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

Elliotte Rusty Harold commented on XERCESJ-1776:
------------------------------------------------

We should probably use the Ant XSLT task:

https://ant.apache.org/manual/Tasks/style.html

This could remove the build's explicit dependency on Xalan. 

> Replace Apache Stylebook
> ------------------------
>
>                 Key: XERCESJ-1776
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1776
>             Project: Xerces2-J
>          Issue Type: Improvement
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> Our build process uses the long defunct Apache Stylebook. I can barely find 
> references to it on the web, not even in the attic, and it breaks our build 
> due to 
>   
> {noformat}
>    [java] [Xalan2Processor] Applying XSL sheet 
> "sbk:/style/stylesheets/any2header.xsl"
>      [java] Warning: the font "Times" is not available, so "Lucida Bright" 
> has been substituted, but may have unexpected appearance or behavor. 
> Re-enable the "Times" font to remove this warning.
>      [java] Exception in thread "main" java.lang.NoClassDefFoundError: 
> com/sun/image/codec/jpeg/JPEGCodec
>      [java]   at org.apache.stylebook.printers.ImagePrinter.print(Unknown 
> Source)
>      [java]   at org.apache.stylebook.BasicEntry.create(Unknown Source)
>      [java]   at org.apache.stylebook.Project.create(Unknown Source)
>      [java]   at org.apache.stylebook.StyleBook.main(Unknown Source)
>      [java] Caused by: java.lang.ClassNotFoundException: 
> com.sun.image.codec.jpeg.JPEGCodec
>      [java]   at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
>      [java]   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
>      [java]   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
>      [java]   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
>      [java]   ... 4 more
> {noformat}
> We don't even have the source code anymore, and would be hard pressed to fix 
> any security issue or bugs that arose here. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to