Giter VIP home page Giter VIP logo

Comments (4)

jpaulm avatar jpaulm commented on July 28, 2024

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.

ERnsTL avatar ERnsTL commented on July 28, 2024

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.

ERnsTL avatar ERnsTL commented on July 28, 2024

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.

jpaulm avatar jpaulm commented on July 28, 2024

Closed with v2.14.2

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.