Re: RE: AW: another issue, this time with page loading

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
Hi Petr,

How are you actually doing the compilation (and what JDK are you 
using...does a different JDK make a difference?)?  I'm attaching a zip file 
containing modified versions of files in the tomcat example 
application.  These modified files use various XHTML and WML dtds.  Just 
extract the zip file to the "examples" directory (of the extracted xmlc-2.2 
release) and all the files will be placed in their appropriate 
places.  Make sure to modify the build.properties file to point to your 
Tomcat install, then just fire up a shell and run "ant" in the root of 
"examples/tomcat".

The reason I'd like you to try this is that I know this should work.  It 
works on Windows.  Since I know the build environment, I can be more 
assured that there isn't some extraneous factor causing the issue.  If you 
get the same sort of errors showing up, please try modifying default.xcat 
like before.  Make sure to modify the one in xmlc-base.jar (the other jars 
containing default.xcat will be excluded from the build).

It would be greatly appreciated if anyone else using Linux could try to run 
this build and report back any errors or ways that you modified things to 
get it to work on Linux (if it doesn't work already).

Jake

At 10:47 PM 9/8/2003 +0200, you wrote:
>V Po, 08. 09. 2003 v 18:17, Jacob Kjome pí¹e:
> > Maybe you can try something for me and let me know if it fixes the
> > issue.  Extract the org/enhyda/xml/xmlc/catalog/default.xcat file from
> > xmlc-all-runtime.jar (or whichever xmlc jar you are using) and modify all
> > "file:/" urls to "file:".  That is, remove the first forward slash.  Add
> > the modified default.xcat back into the xmlc jar and let me know if things
> > now work.
>
>A) with file://org/...
>
>$ xmlc a.html
>Error: java.net.UnknownHostException: org
>
>B) with file:org/...
>
>$ xmlc a.html
>file:///tmp/a.html:0: Error: File
>"file:org/enhydra/xml/xhtml/dtd/w3/1.0/xhtml1-transitional.dtd" not
>found.
>Error: Parse of "a.html" failed: org.xml.sax.SAXException: Stopping
>after fatal error: File
>"file:org/enhydra/xml/xhtml/dtd/w3/1.0/xhtml1-transitional.dtd" not
>found.
>
> >   Make sure you are off-line when doing this
>
>That wasn't possible as I was ssh'ing from home to office and doing the
>test there. I could try to be offline tomorrow but it's of no help since
>originally I had the problem when I was online.
>
>Petr
>
>
>
>_______________________________________________
>XMLC mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/xmlc
tomcat-example.zip (application/zip, 9.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.