FreeTextBox

The no. 1 free ASP.NET HTML Editor.
Welcome to FreeTextBox Sign in | Join | Help
in Search

Error converting HTML to XHTML

Last post 07-22-2008, 1:57 PM by saxmana. 1 replies.
Sort Posts: Previous Next
  •  07-22-2008, 1:26 PM 9299

    Error converting HTML to XHTML

    Error convertring HTML to XHTML...

    System.Exception: System.ArgumentNullException: Value cannot be null. Parameter name: stream at System.IO.StreamReader..ctor(Stream stream, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) at System.IO.StreamReader..ctor(Stream stream) at FreeTextBoxControls.Support.Sgml.SgmlReader.LazyLoadDtd(Uri baseUri)//FreeTextBoxControls.Support.SgmlReader.Resources.Html.dtd\\ at FreeTextBoxControls.Support.Sgml.SgmlReader.LazyLoadDtd(Uri baseUri) at FreeTextBoxControls.Support.Sgml.SgmlReader.OpenInput() at FreeTextBoxControls.Support.Sgml.SgmlReader.Read() at System.Xml.XmlWriter.WriteNode(XmlReader reader, Boolean defattr) at FreeTextBoxControls.Support.Formatter.HtmlToXhtml(String input)

  •  07-22-2008, 1:57 PM 9300 in reply to 9299

    Re: Error converting HTML to XHTML

    Don't forget to include Support.SgmlReader.Resources as embedded resources; and if you've changed the default project name don't forget to change the reference in FreeTextBoxControls.Support.Sgml.SgmlReader.LazyLoadDtd

    And a couple of links to embedding resources...

    http://support.microsoft.com/kb/910442

    http://msdn.microsoft.com/en-us/library/ms950960.aspx

     

View as RSS news feed in XML
www.freetextbox.com