[Bug 4560] [build] package html.parser does not exist

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4560


catalin.hritcu@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |catalin.hritcu@gmail.com




------- Comment #2 from catalin.hritcu@gmail.com  2007-08-17 06:00 -------
Abe, I don't think this is a fix. While this allows you to compile and get a
jar file out, when running you will get the following exception:

org.w3c.css.css.XMLStyleSheetHandler: couldn't load catalog.xml
  no protocol:
"jar:file:/Users/hritcu/JavaApps/css-validator/css-validator.jar!/org/w3c/css/util/xml/catalog.xml"
Aug 17, 2007 8:55:49 AM org.apache.velocity.runtime.log.JdkLogChute log
INFO: FileResourceLoader : adding path
'file:/Users/hritcu/JavaApps/css-validator/css-validator.jar!/org/w3c/css/css/'
Aug 17, 2007 8:55:49 AM org.apache.velocity.runtime.log.JdkLogChute log
SEVERE: ResourceManager : unable to find resource 'text.properties' in any
resource loader.
Unable to find resource 'text.properties'
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'text.properties'
        at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
        at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
        at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
        at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1077)
        at
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:303)
        at org.apache.velocity.app.Velocity.getTemplate(Velocity.java:503)
        at
org.w3c.css.css.StyleSheetGenerator.<init>(StyleSheetGenerator.java:164)
        at
org.w3c.css.css.StyleReportFactory.getStyleReport(StyleReportFactory.java:19)
        at org.w3c.css.css.CssValidator.handleRequest(CssValidator.java:176)
        at org.w3c.css.css.CssValidator.main(CssValidator.java:149)
java.lang.NullPointerException
        at
org.w3c.css.css.StyleSheetGenerator.print(StyleSheetGenerator.java:421)
        at org.w3c.css.css.CssValidator.handleRequest(CssValidator.java:185)
        at org.w3c.css.css.CssValidator.main(CssValidator.java:149)
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
    <title>CSS Validator : Error</title>
    <link type="text/css" rel='stylesheet'
href='http://jigsaw.w3.org/css-validator/style/error.css' />
  </head>

  <body>
    <div>
      <a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home"
alt="w3c" /></a>
    </div>
    <hr />
    <div class="t1">CSS</div>
    <div class="t2">Validator</div>
    <div class="t3">Error</div>

<h2>Target: http://www.w3.org/</h2>
<div class="error">
<p>Oups! Internal error!</p><p>
</p></div>
<hr />
<p><img src='images/mwcss.gif' alt='made with CSS' /></p>
<address><a href='Email.html'>www-validator-css</a></address>
</body></html>

Received on Friday, 17 August 2007 06:00:09 UTC