in
Innovasys Logo

Compile error with HTML Help Version 2.x

Last post 01-08-2008 9:43 AM by Richard Sloggett (Innovasys). 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-08-2008 7:21 AM

    • JohnB
    • Top 50 Contributor
    • Joined on 11-27-2007
    • Posts 6

    Compile error with HTML Help Version 2.x

    Hi,
     when compiling a help file for HTML Help Version 2.x (Visual Studio .NET) I get a compile error. The language of my help file is German, therefore I have Umlauts in it.

     I get an error in line 7 of the .hxt file.

    <?xml version="1.0"?>
    <!DOCTYPE HelpTOC SYSTEM "MS-Help://Hx/Resources/HelpTOC.DTD">
    <HelpTOC DTDVersion = "1.0"
             LangId = "1033"
             ParentNodeIcon = "Book">
    <HelpTOCNode Title = "Einführung" Url = "introduction.html">
     

    I'm not quite sure if the Umlaut in the word "Einführung" is causing the compile error, however I do have an old version of this file where these Umlauts are missing and which seems to work. But it's not an option for me to manually edit that, as I also don't know if this "wrong" word will appear anywhere for the end user to see.

    I hope you can help me as soon as possible in this matter. Thanks in advance. 

     P.S. Please let me know if this error is fixed in the new version of DocumentX. :)
     

    Filed under:
  • 01-08-2008 7:32 AM In reply to

    Re: Compile error with HTML Help Version 2.x

    Could please confirm what the exact error is you are seeing. Alternatively you can send the entire compiler log to support@innovasys.com in a zip file.

     

    Mike Shaw
    Innovasys
    http://www.innovasys.com
  • 01-08-2008 8:45 AM In reply to

    • JohnB
    • Top 50 Contributor
    • Joined on 11-27-2007
    • Posts 6

    Re: Compile error with HTML Help Version 2.x

    Thanks for your fast reply. I compiled it again to get the logfile. All I got is the following text:

     Building output file \\path\*****.hxs.
    HXC4001: File file://path/DocumentX/*****.HxT, Line 6, Char 27: XML syntax error: Im Textinhalt wurde ein ungültiges Zeichen gefunden.

    HXC2056: Failed to parse the XML file: *****.HxT

     

    The error message means that there was an invalid character found in the text content. That would mean DocumentX doesn't support Umlauts when compiling a .NET 2.0 help file. :(

     


     

  • 01-08-2008 8:53 AM In reply to

    Re: Compile error with HTML Help Version 2.x

    Can you confirm what version of Document! X you are using, as this issue was resolved in Document! X 5. You *may* be able to resolve this issue in v4 by editing the templates Template.HxT file to specify the file encoding, e.g.

    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE HelpTOC SYSTEM "MS-Help://Hx/Resources/HelpTOC.DTD">

    Richard Sloggett
    Innovasys
    http://www.innovasys.com
  • 01-08-2008 9:33 AM In reply to

    • JohnB
    • Top 50 Contributor
    • Joined on 11-27-2007
    • Posts 6

    Re: Compile error with HTML Help Version 2.x

    I'm using Document! X Version 4.1.0.9. I edited the \Innovasys\DocumentX4\configuration\templates\dotnet\template.HxT file and added the utf-8 encoding, but I still get the compile error.

     Any other idea to solve this issue?

     
    When will the new Document! X 2008 be released? Please contact me as soon as it is available. Thanks.

     

  • 01-08-2008 9:43 AM In reply to

    Re: Compile error with HTML Help Version 2.x

    It seems that you would need to use Document! X 5 to get UTF8 encoding for Help 2.x output and therefore handle accented characters correctly.

    We don't have a date to announce on Document! X 2008 just yet, but the beta is imminent.

    Richard Sloggett
    Innovasys
    http://www.innovasys.com
Page 1 of 1 (6 items)