Problems with LP_​​XMLConverter tool

Home Forums Problems and solutions in GDL Library build system Problems with LP_​XMLConverter tool

Viewing 3 reply threads
  • Author
    • #18590
      Nader Belal

      Hi there,

      I have an object file that I was converted to from GSM to XML with no problem.

      But when I tried to convert it back after saving the changes done, in XML converter tool tells me that my file have an error, after several trials, I failed to covert back my xml to gsm, even when I used the save file without including the changes.

      The error message that i recieve is:

      _ _ _ file name _ _ _.xml(18531) : error: XML validation failed; value ‘-1’ must be greater than or equal to minInclusive facet value ‘0’

    • #18593
      Péter Baksa

      What is at line 18531? Which version of LP_​​XMLConverter is this? (LP_​​XMLConverter -help)

      Péter Baksa
      Library Platform, Software Engineer

    • #18596
      Nader Belal

      Hi Péter,

      Answering your questions,

      Which version of LP_​​XMLConverter : 22

      What is at line 18531 ?? It’s a part of a rich text that was put in a fragment2 layer

      here is the section of of xml

      		<ParamInd>-1</ParamInd>			!<--the bugger

      Can you tell me what are the possible causes for a parameter index will give you an index number of -1 and how to fix it in the GSM file

    • #18603
      Péter Baksa


      It might be possible that the paragraph was dragged to the 2D Symbol from an object where the object printed one of it’s parameters as text. If this is the case, ParamInd 0 will work fine, the paragraph contains the parameter value as a string.

      There is another known bug in AC22, which has been fixed in AC23: the style referenced in StyleInd is missing from the XML.
      If you need to create objects for AC22, use the LP_XMLConverter of AC23 to create another XML, copy-paste the Drawing tag and its contents to the 22 XML, then change paramInd to 0.

      Péter Baksa
      Library Platform, Software Engineer

Viewing 3 reply threads
  • The forum ‘Library build system’ is closed to new topics and replies.