Giter VIP home page Giter VIP logo

Comments (7)

jpaulm avatar jpaulm commented on July 28, 2024 1

Aha! Got it! Dumb error: if desc was missing, I suppressed the net tag as well. It will be fixed in v2.14.2...

Apologies!

from drawfbp.

jpaulm avatar jpaulm commented on July 28, 2024

from drawfbp.

jpaulm avatar jpaulm commented on July 28, 2024

Hi ERnsTL, I cannot duplicate your problem - the code includes the "net" tag, and all the saved files I have checked all show it, including one I saved a few minutes ago... I am wondering if it was deleted by one of the tools you use - or possibly it is a "reserved" symbol in XML... Can you check some of your other files, and see if they all have this problem...? Thanks in advance. Paul

from drawfbp.

ERnsTL avatar ERnsTL commented on July 28, 2024

Greetings, the error showed up in all the .drw files used for development of the .drw parser.

I just created a new test file with just one process for testing using DrawFBP v2.13.24 - the latest available on Maven.

Output is:

<?xml version="1.0"?> 
 <drawfbp_file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="https://github.com/jpaulm/drawfbp/blob/master/lib/drawfbp_file.xsd"><complang>Java</complang> <clicktogrid>true</clicktogrid> 
<blocks><block> <x> 434 </x> <y> 247 </y> <id> 1 </id> <type>B</type> <width>92</width> <height>64</height> <description>TestProcess</description> <multiplex>false</multiplex><invisible>false</invisible><issubnet>false</issubnet> 
</block> 
</blocks> <connections>
</connections> </net> </drawfbp_file>

Before the <complang> there should be the <net> opening tag, but it is missing.

Nicely formatted:

<?xml version="1.0"?> 
<drawfbp_file xmlns:xsi="[...]" xsi:noNamespaceSchemaLocation="[...]">
    <net>    <!-- this <net> opening tag is missing -->
        <complang>Java</complang>
        <clicktogrid>true</clicktogrid> 
        <blocks>
        <block>
            <x> 434 </x>
            <y> 247 </y>
            <id> 1 </id>
            <type>B</type> 
            <width>92</width> 
            <height>64</height> 
            <description>TestProcess</description> 
            <multiplex>false</multiplex>
            <invisible>false</invisible>
            <issubnet>false</issubnet> 
        </block> 
        </blocks>
        <connections>
        </connections>
    </net>    <!-- closing tag is present -->
</drawfbp_file>

I dont have any other files besides these test files. Hoping to use .drw files more for visual development!

from drawfbp.

ERnsTL avatar ERnsTL commented on July 28, 2024

No problem; thanks for fixing!

from drawfbp.

ERnsTL avatar ERnsTL commented on July 28, 2024

Can confirm the issue is fixed in v2.14.2 - thanks again!

from drawfbp.

jpaulm avatar jpaulm commented on July 28, 2024

Good news! Thanks for both notes! Onwards and upwards!

from drawfbp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.