jdiegodcp / ramlfications

Python parser for RAML
https://ramlfications.readthedocs.org
Apache License 2.0
234 stars 50 forks source link

Return json & lxml schema objects rather than Python objects #15

Open econchick opened 9 years ago

econchick commented 9 years ago

Using jsonschema and lxml would give the ability to validate the schemas and examples used, as well as allow the user to do as they wish with the returned object (e.g. parse the returned object with xmltodict, pyxb, or some other library).

(cc @jenner)

jenner commented 9 years ago

Now that #19 is almost there, I could try to implement this one... objections?

econchick commented 9 years ago

huge :+1:

econchick commented 9 years ago

Noting for myself and anyone who is interested - per @jenner, lxml doesn't resolve relative paths when trying to include other files. Something to keep in mind.