alt tag
home > Release information > Partners > 05-12-2009 Release (XHTML Compliance)

05-12-2009 Release (XHTML Compliance)

Aplies to:

Grouptree.Core.Asset
Grouptree.Core.AssetWrapper
Grouptree.Core.LayoutWrapper
Grouptree.Core.Content
Grouptree.Core.HTML.HTMLRenderer

Release type:

Update

Reason for change:

The reason for this update is to ensure better XHTML compliance.

Change details:

Asset

Added navigationNameHTMLEncoded readonly property. This shoudl be used where writing out HTML. for example in Left and Top navs.

AssetWrapper

Added navigationNameHTMLEncoded readonly property. This shoudl be used where writing out HTML. for example in Left and Top navs

HTML.HTMLRenderer

Added a static method to this class that HTML encodes the string. It cannot use the standard HttpUtilites.HtmlEncode as all the tags are encoded too. Basically the method picks #38 and anything over 127 in the ASCII coding and converts it to the HTML equivelent. For example: & is converted to &

LayoutWrapper

Ensures that template code is XHTML is compliant

Content

Ensures that content code is XHTML is compliant

Possible issues 

Double encoding.

Comments