Re: error in .jhtml

 Oups, I forgot that now you can get updated source file with CVS.
 This is explained here [1], that's a better way than mail.

 [1] http://dev.w3.org/cgi-bin/cvsweb

 I modified PageCompileFrame, but it's not yet updated on the public 
 CVS tree. It should be updated tomorrow.

 Regards, Benoit.

Benoit Mahe writes:

> 
>  Well, this is a bug :(
>  This problem doesn't occurs on Unix (because path separator is '/' 
>  and not '\').
>  I'll fix it as soon as possible. You can wait for the next release 
>  (at the end of the month) or I can send you a modified source file 
>  that you'll have to compile.
> 
>  Regards, Benoit.
> 
> "Shevlyakov A.S." writes:
> 
> > Hi all!
> > 
> > Jigsaw is best bat I have a problem or i have not knowledge
> > 
> > test.jhtml
> > 
> > <html>
> > <head>
> > <title>Page Compilation Test</title>
> > </head>
> > <body>
> > <h1>Page Compilation Test</h1>
> > <java>
> >  out.println ("<p>Page Compilation test");
> > </java>
> > </body>
> > </html>
> > 
> > test.java
> > 
> > import java.io.*;
> > import org.w3c.jigsaw.pagecompile.*;
> > import org.w3c.jigsaw.http.*;
> > public class test extends GeneratedFrame  {
> > 
> >     protected void get(Request request,
> >                        Reply reply,
> >                        PageCompileOutputStream out)
> >         throws IOException
> >     {
> >         PageCompileFile _file = new
> > PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
> >         _file.writeBytes(0,102,out);
> > 
> >  out.println ("<p>Page Compilation test");
> >         _file.writeBytes(162,182,out);
> >     }
> > }
> > 
> > test.err
> > 
> > C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
> >         PageCompileFile _file = new
> > PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
> >                                                        ^
> > C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
> >         PageCompileFile _file = new
> > PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
> >                                                               ^
> > C:\Jigsaw\Jigsaw\compiledPage\test.java:11: Invalid escape character.
> >         PageCompileFile _file = new
> > PageCompileFile("C:\Jigsaw\Jigsaw\WWW\test.jhtml");
> >                                                                      ^
> > 3 errors
> > 
> > under Windows 95
> > no comment... ;(
> > Shevlyakov Alexander
> > 
> > 
> 
> 
> - Benoît Mahé -------------------------------------------------------
>                       World Wide Web Consortium (W3C)
>                     Architecture domain - Jigsaw Team           
> 
>   http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
> ---------------------------------------------------------------------
> 
> 


- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team           

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89 
---------------------------------------------------------------------

Received on Wednesday, 21 October 1998 03:44:27 UTC