#1279 Saved profiles cannot be reloaded

None
closed
nobody
5
2013-07-04
2012-03-30
Mario Valle
No

I'm migrating to another laptop.
Both Win 7 both with TCX alpha 4.
The attached profile on reload on the new laptop show an error:

An error occurred while reading an XML file.

Error 0x00ce04: Element content is invalid according to the DTD/Schema.
Expecting: postProcessors.

File: myfile.tco
Line 8
Character 20

<preProcessors/>

Discussion

  • Mario Valle

    Mario Valle - 2012-03-30

    Exported profiles that cannot be reloaded

     
  • Mario Valle

    Mario Valle - 2012-03-30

    If I delete all the <preProcessors/> lines it asks for a more modern version of MSXML.
    On both machine I have installed MSXML version 4.0 SP3 but TXC continue with this message and I cannot reload my profiles.

    As a side note, this second error message points you to the TXC site for a pointer to download the new version of MSXML. Unfortunately I'm not able to find it on the site.

    Last note: both installations are 32 bits, but the new machine is 64 bits

     
  • Marcel

    Marcel - 2012-05-24

    Hi mvalle58, I had the same problem for a while now an I was trying to fix it the last hour once again ^^.

    Finally find a solution.
    If you open your program folder you will see a file named:

    "OutputProfiles.xsd"

    This file defines the xml structure of the file you wish to import.
    Open it with an editor like np++ and do the following:

    Search for this line: <!-- definition of a single output profile (identified by name) -->

    Copy the following code and paste it above the postProcessor element. It's almost the same just "post" replaced by "pre". But because this is missing in the expecting structure but listed in the file you wish to import you're getting the error message.

    <xs:element name="preProcessors" type="ProcessorList">
    <xs:unique name="preProcessorNames">
    <xs:selector xpath="processor" />
    <xs:field xpath="@name" />
    </xs:unique>
    </xs:element>

    Now save the file.
    Everything should be fine now.

    Happy TeXing
    Marcel

     
  • Tino Weinkauf

    Tino Weinkauf - 2012-11-03
    • status: open --> closed
     
  • Tino Weinkauf

    Tino Weinkauf - 2012-11-03

    Thanks for your report. We already fixed that bug. The changes will be in the next release.

     

Anonymous
Anonymous

Cancel  Add attachments