> > cannot change the JVM default encoding (or can I?)
>
> yes you can, though it is operating system specific.
> Unfortunately I can only tell you how to do it the unix / linux way.

I don't want to change my OS locale :-) And, I am affaid that there is no
locale that will use utf-8 encoding.

> > Side note: Wicket is bright new and nice package, I am
> surpriced that
> > it doesn't support HTML 4.0 / XHTML Strict mode standards and that
> > nobody complains about it. The samples for Wicket are not valid.
>
> I'm not exactly sure what you mean. Why is it not HTML 4.0 or
> XHTML compliant? in case you're talking about the tags and
> attributes in wicket namespace, you can remove them for
> production (settings.setStripWicketTags).

I know I can ommit the tags, unfortunately I cannot create valid XHTML
source markup because of the wicket namespace (I cannot use validating XHTML
editor such as XML Mind). This should be cured with XML Schema as Eelco
pointed.

If you look at samples, the helloworld is not valid HTML. (Maybe it
validates with Transient versions of the standard, I didn't tried). The
<span> cannot be child of <head>, <h3> cannot be inside <a> and <font>
doesn't exist at all (use CSS).

>
> Please correct if I'm wrong, but you require to remove
> <?xml?> because of IE, not because it is not (X)HTML compliant?

It's because of IE:
The XHTML file should be valid XML file, it means that it should have the
initial XML declaration with encoding. IE (and many other browsers) have at
least two modes, one that is compliant with standards (or should be) and one
that is backward compatible with previouse version of the browser (called
quirks mode). In order to switch browser into compliant mode, you have to
feed in a special prologue, see the link in my previouse post. For instance
in IE quirks mode the CSS boxing is very different from CSS standard.
XML standard says, that if the initial XML declaration is not present, it
utf-8 encoding should be assumed.

Jan





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to