Comments (4)
XML schema has been expanded to include subnetport[s]
- has already been promoted to DrawFBP lib web pages...
@ERnsTL could you test this? One of the validation products doesn't seem to like the drawfbp_file document type... Thanks in advance!
from drawfbp.
Thanks for adding the subnetports
The document and XSD validates:
I downloaded the .xsd XML schema and ran xmllint
:
$ xmllint --schema drawfbp_file.xsd filelinefiltercount.drw --noout
filelinefiltercount.drw validates
Also tried the W3C online XML and XSD validator. Pasted an example .drw file and the .xsd files. Result:
- .drw is well-formed (I added the tag manually; didn't try the new DrawFBP version yet);
- the updated XSD schema as is right now in Github also validates and
- the .drw file validates against the schema :-)
But the schema reference URL seems to be wrong. It is xsi:noNamespaceSchemaLocation="https://github.com/jpaulm/drawfbp/blob/master/lib/drawfbp_file.xsd"
but this URL leads to an HMTL page with the .xsd nicely formatted for human reading. The URL should be https://raw.githubusercontent.com/jpaulm/drawfbp/master/lib/drawfbp_file.xsd
- this points to the received the plain/raw .xsd file itself.
This is the same URL you get when you click on "View raw" from this page.
Apart from that the new schema version looks OK.
I can check .drw files generated with the new DrawFBP version when it is on Maven.
from drawfbp.
Just ran an updated diagram saved using v2.14.2 with subnetports
through the W3C's XML validator again; the XML is well-formed and conforms to the XSD schema.
Should be fine now.
from drawfbp.
Closed with v2.14.2
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.