Alex Mueller on Software and Technology 
Wednesday, January 12, 2005
DasBlog v. 1.6.4121.1 has FreeTextBox 1.6 built into it as an option to edit html based text. After fighting with it for a while, I am finally using FreeTextBox again thanks to an oversight from a friend on my implementation of it.

What I do not like about FreeTextBox is that it is not XHTML compliant. My sites which use XML are looking for XHTML or text, so my XmlDocument object can use them in the form of XmlDocument.InnerXml or XmlDocument.InnerText. When visiting the FreeTextBox website, one can demo the latest version on their front page. To see where I have problems, provide the following code in the “HTML” view of FreeTextBox's demo version.

<table width="100" height="100" border="1">
<tr>
<td class="someclass">Test
</td>
</tr>
</table>
<br></br>
<p/>

Then click on the “Design” view of FreeTextbox, then immediately back to the “HTML” view. Notice now the following code looks like this.

<TABLE height=100 width=100 border=1>
<TBODY>
<TR>
<TD class=someclass>Test </TD></TR></TBODY></TABLE><BR><BR>
<P></P>

As we can see, the modified HTML is not XHTML. I can work around it, but my question is, why does FreeTextBox alter the HTML input in this manner? In my case, my XmlDocument object uses InnerText when it gets the FreeTextBox.Text. If the HTML rendered were XHTML, I could use InnerXml.
Wednesday, January 12, 2005 9:35:54 AM (Mountain Standard Time, UTC-07:00) | Comments [4] | #
MuellerDesigns.net
Search
On This Page
The Split Personality of the Tester/Developer
Cross Site Scripting (XSS)
Creating files with FSUTIL
PowerShell Management Library for Hyper-V
Installing Windows 7
Installing Linux in Hyper-V
Internet Explorer 8 Release Candidate 1
PowerShell Documentation
Automate Daily Tasks with PowerShell
SketchPath XPath Editor
Software Testing - Revisited
Architecting Buildings and Software
NBCOlympics.com with Silverlight
Marker Interfaces and C# Attributes
Most Popular
JavaScript ReplaceAll Functionality
What is polymorphism?
What is composition?
Sorting with IComparable and IComparer
Applying the Observer Pattern in ASP.NET
MVP in ASP.NET
What is abstraction?
What is encapsulation?
What is a class?
What is inheritance?
Authentication in ASP.NET
Calendar Controls
XPathNavigator.CheckValidity new for 2.0
SQL Server 2005 Connection Issues
Auto-attach to process '[####] aspnet_wp.exe' on m...
What is an object?
FreeTextBox
VMWare and VPC
An Example of Reflection using C#
Changing File Ownership In Vista and Longhorn
Archive
Links
Categories
My Local Blog Map
Blogroll
About
Powered by:

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
MuellerDesigns.net

Sign In

Help Those In Need
The Hunger Site
Ronald McDonald House Charities (RMHC) of Western Washington & Alaska