JADEĀ  Environment Development Ideas

Integration with XSDs

Quite often I have seen a specification for XML using XSDs (XML Schema Definitions.) Not only does it contain the expected XML tags expected it usually contains rules, such as how many times a field is expected.

Unfortunately as Jade developers we either have to decipher these schema files ourselves by hand, or if you wish to go outside scope create a tool to read these. If by hand then it is extremely easy to introduce bugs against the xsd.

An XML document sometimes will have the xsd location added as an attribute. It would be great if the xsd could be imported as part of the JadeXMLDocument. Once it is imported then the tag names could be populated and validated as per the xsd.
  • Guest
  • May 1 2019
  • Needs review
  • Attach files
  • +3