Pattern files won't open

Issue #194 closed
Former user created an issue

I created a few patterns with valentina without major issues... Since today. I can't open almost every pattern I created exept two and I have no idea why... This is the error message I get when I try to open a pattern : "Exception: Content of attribute name does not match its type definition: String content does not match pattern facet.. Validation error file /home/ms/Documents/couture/patrons valentina/pant38.val in line 75 column 12"

Apparently this happened since I updated valentina, as everything worked fine a few days ago... Any ideas on how I can open the patterns ?

Comments (4)

  1. Roman Telezhynskyi repo owner

    Yes, sorry about that. But pattern format is not stable.

    One possible reason is wrong point label name. My last update change set legal charecters for label. Page about labels in user manual.

    You can open file by text editor and fix wrong place by yourself. Or can send me. See line number in error message. I think you should edit attribute name.

    name="wrong_value"
    

    Also change label will broke formulas, you should fix it too. For this you can use Valentina.

  2. mil sv

    Thank you, I will try to change point label name. Actually, I opened the files with a text editors, and the problem lines appears to be the lines with "point of intersection"

  3. Roman Telezhynskyi repo owner

    Possible because this tool also make label.

    Example:

    <point type="pointOfIntersection" secondPoint="5" firstPoint="2" mx="0.132292" name="A6" my="0.264583" id="167"/>
    

    Issue must be in the attribute name: name="A6".

    Situations like this is one possible reason why i use text format for patterns instead of binary.

  4. Log in to comment