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,

I think I might know the reason for this, but I'm not sure why it hasn't 
been witnessed before by Unix users compiling documents off-line (you are 
using some sort of Unix, right?).  Maybe not many were compiling the 
various supported XML documents while, at the same time, off-line.

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.  Make sure you are off-line when doing this, otherwise it won't 
be a valid test of the functionality.

What I found in Barracuda was that when we were using an xcatalog for a 
local definition of a dtd, things were failing for one of our users who was 
building Barracuda on Linux while offline.  It seems that using "file:/" on 
Unix causes it to point to the root of the file system rather than the root 
of the sourcepath/classpath.  However, either "file:/" or "file:" works 
fine on Windows.

Anyway, let me know.  This might justify an XMLC-2.2.1 release to fix this 
issue.

Jake

At 02:04 PM 9/8/2003 +0200, you wrote:
>Hi All,
>
>I am crossposting to XMLC mailing list because I am getting lost and the
>Enhydra 5.1 release is getting so near. Perhaps this is XMLC issue and
>so guys here can help me?
>
>V Po, 08. 09. 2003 v 13:34, Petr Stehlik pí¹e:
> > Anyway, now I am stuck on compiling a simple XHTML file with the <meta
> > id="">. Could this be a problem of old XHTML DTD?
>
>I tried to create a simple show-case but failed to compile from command
>line:
>
>$ xmlc a.html
>file:///tmp/a.html:0: Error: File
>"file:/org/enhydra/xml/xhtml/dtd/w3/1.0/xhtml1-transitional.dtd" not
>found.
>
>The a.html looks as follows:
>=========================================================
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>     "http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd">
>
>
>empty
>
>
>
>=========================================================
>
>Here I am getting lost. This is yet another error that I haven't seen
>previously. How does the XMLC translated the http:// URL to
>file:/org/enhydra... ? There's indeed no /org/enhydra/.. file on my
>filesystem.. The DTD should be hidden in the xhtml.jar or somewhere down
>there. Any idea why XMLC searches in file:/org/enhydra/. ??
>
>Thanks in advance.
>
>Petr
>
>
>
>_______________________________________________
>XMLC mailing list
>[email protected]
>http://www.enhydra.org/mailman/listinfo.cgi/xmlc
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.