# Re: Crypto example miss-typeo

schemers@Eng
Tue, 30 Jun 1998 12:08:05 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Hadi Mettawa: "Re: Crypto example miss-typeo"
- Previous message: Marianne Mueller: "Re: Crypto example miss-typeo"

    Date: Tue, 30 Jun 1998 12:08:05 -0700 (PDT)

    From: schemers@Eng

    To: Marianne Mueller <Marianne.Mueller@Eng>

    Subject: Re: Crypto example miss-typeo

    In-Reply-To: <libSDtMail.199806301143.25561.mrm@shorter>

Believe it or not (if I recall correctly :-)), you must still use
&lt; inside of <pre></pre> blocks. I think <pre> refers to how
the text is layed out, not the interpretation of special characters.
I think Jan and I verified this when he fixed the javadocs.

roland

Marianne Mueller writes:
> Like Jan said, your copy of the API User's Guide is OK. Browsers don't
> display Java code (or C code, or C++ code, or ...) properly, even inside
> <pre></pre> or <code></code>.
>
> When they see < they think it's an HTML command, and they swallow the
> text after that until they see >.
>
> This might be proper SGML/HTML spec behavior, I don't know. I know
> you can cause < to be printed by using &lt; but then the code *really*
> won't compile. What you need to do is copy the code example from
> API_users_guide.html to some other example.java file and look at it that
> way and compile it from the .java file.
>
>
>

- Next message: Hadi Mettawa: "Re: Crypto example miss-typeo"
- Previous message: Marianne Mueller: "Re: Crypto example miss-typeo"