The warnings are "OK" (kinda). In fact, there are two parsers that are
generated from the same grammar. -One that uses JJTree and one that uses
simple nodes. XDoclet uses the "simple nodes" one. XDoclet gui uses the
JJTree one, sonce this makes it possible to mutate the AST, and thereby
modify the sources (the javadoc tags).

The JJTtree parser is a lot slower then the simple node parser, that's why
we have two different ones.

The grammar file is "preprocessed" by an Ant Copy/FilterSet in order to
insert the correct class name for the parser.

IMPORTANT:
The warnings related to UNICODE can be ignored, but means that xjavadoc
won't be able to read Java sources with unicode escapes. One user has
reported this already:
http://sourceforge.net/tracker/?group_id=31602&atid=402704&func=detail&aid=5
35982
If we get more complains about this after 1.2beta, we'll have to look into
it.

The other warnings (VISITOR,NODE_USES_PARSER) are completely harmless. They
occur since the same grammar is used for both javacc and jjtree, and the
jjtree options aren't recognised by javacc. I have included an echo in the
build file that informs about this.

Aslak

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Marcus
> Brito
> Sent: 17. mai 2002 13:43
> To: Lista xdoclet-devel
> Subject: [Xdoclet-devel] XJavadoc and Unicode
>
>
> This has been on the build files since the beginning of xjavadoc's
> existence, and now I'm wondering: isn't this a bug source?
>
> [javacc] Warning: Line 267, Column 3: The generated CharStream class
> cannot handle 16 bit characters. Please set the JAVA_UNICODE_ESCAPE
> option or the UNICODE_INPUT option to true so that a CharStream class
> that can handle 16 bit characters is generated.
>
> There are other javacc warnings as well. Shouldn't we change the .jj
> files so these warnings are gone? Well, I understand *nothing* about
> javacc, so maybe these warnings are necessary and I'm just playing dumb
> here...
>
> --
> Ja ne,
>    Pazu
>    mailto: [EMAIL PROTECTED]
>
> Anime Gaiden: de fãs para fãs, sempre.
>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to