Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Supporting XHTML and older browsers (IE6) in WLP 9.2

698716Apr 28 2009 — edited May 8 2009
Hi

We're trying to have a Portal that renders XHTML-1.0-TRANSITIONAL content.
In order to support older browsers, we have content-override set to "text/html".

However, WLP renders the script tags that link directly to .js files with just one self-closing tag.
<script src="/front/framework/skins/shared/js/Utils2.0.js" type="text/javascript" />

This confuses browsers, as it should (for compatability reasons) close it with an end tag, with emtpy content.
<script src="/front/framework/skins/shared/js/Utils2.0.js" type="text/javascript"></script>

Is there any way to control this behaviour?

Skeleton.xml
<ns:skeleton xmlns:ns="http://www.bea.com/servers/portal/framework/laf/1.0.0">
<ns:render-format>
<ns:preset>XHTML_1_0_TRANSITIONAL</ns:preset>
<ns:content-type-overrides>
<ns:override content-type="text/html" classification="allbrowsers"/>
</ns:content-type-overrides>
</ns:render-format>
</ns:skeleton>

client-classifications.xml
...
<classification name="allbrowsers" description="For everything">
<useragent-regex value=".*" priority="5" />
</classification>
...

beehive-netui-config.xml
...
<jsp-tag-config>
<doctype>xhtml1-transitional</doctype>
</jsp-tag-config>
...

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 5 2009
Added on Apr 28 2009
8 comments
1,447 views