Comments (7)
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.
from drawfbp.
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.
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.
No problem; thanks for fixing!
from drawfbp.
Can confirm the issue is fixed in v2.14.2 - thanks again!
from drawfbp.
Good news! Thanks for both notes! Onwards and upwards!
from drawfbp.
Related Issues (20)
- Associating the drawfbp.bat file with the .drw extension HOT 2
- What is generating a `drawfbp.bat` file in `build\scripts`? HOT 1
- Attached Classes to components vanish in V2.22.1 upwards HOT 2
- Vanishing arrows at least in V2.22.0 upwards HOT 7
- Selected subnet name gets wrongly attached to component HOT 1
- Wrongly generated class name for component Subin/out in C# mode HOT 4
- Lockup on code generation if port name is missing HOT 4
- Filling in C# classes for a network using C#FBP HOT 6
- DrawFBP modified to use double buffering HOT 3
- Generated code window slow! HOT 4
- Only the last generated code window can be closed. HOT 1
- Edge shading on block remains after block dragged HOT 1
- Two tries to connect arrow to block! HOT 1
- Width of IIP block set to zero when editing contents HOT 1
- Pressing ESC button at wrong time can lose diagram
- Cast error when changing font size
- Dependency Dashboard
- Problem in last few releases: clicking on "canvas" does not bring updesired icon!
- Zoom not working!
- Zoom generally fixed - however cannot detect edges of blocks when zoom not equal 100%
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawfbp.