Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XML schematron validation #11

Open
matthiaskoenig opened this issue Dec 2, 2016 · 0 comments
Open

XML schematron validation #11

matthiaskoenig opened this issue Dec 2, 2016 · 0 comments

Comments

@matthiaskoenig
Copy link
Owner

I could not get the schematron validation working with python so far.
I tried the XSLT transformation approach and directly using lxml schematron.

Schema can be transformed, but validation results in

Traceback (most recent call last):
  File "/home/mkoenig/git/libsbgn-python/libsbgnpy/validation/validator.py", line 141, in <module>
    sct_valid = validate_schematron(f)
  File "/home/mkoenig/git/libsbgn-python/libsbgnpy/validation/validator.py", line 123, in validate_schematron
    doc_svrlt = transform_2(doc_sbgn)
  File "src/lxml/xslt.pxi", line 599, in lxml.etree.XSLT.__call__ (src/lxml/lxml.etree.c:175596)
lxml.etree.XSLTApplyError: Failed to evaluate the expression of variable 'arc-count-distinct-1'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant