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

XPath parse issue #85

Open
Devasta opened this issue Jul 11, 2024 · 3 comments
Open

XPath parse issue #85

Devasta opened this issue Jul 11, 2024 · 3 comments

Comments

@Devasta
Copy link
Collaborator

Devasta commented Jul 11, 2024

Hi Steve,

So, if you can see in some of the work done for RelaxNG support, there is a stylesheet called "PatternPrepper" that I plan to use to convert the schema file into a pattern for validating the document. (Its running through most of the simplification steps as specified in https://relaxng.org/spec-20011203.html#simplification)

However, building the transformation context appears to be tripping up on the xpath expression on line 62.

*[namespace-uri() != 'http://relaxng.org/ns/structure/1.0']

I'll take a look when I can, it could 100% be the stylesheet in question.

patternprepper.zip

@ballsteve
Copy link
Owner

ballsteve commented Jul 12, 2024 via email

@Devasta
Copy link
Collaborator Author

Devasta commented Aug 31, 2024

So checking the dev branch, the error is now:

Error parsing match pattern "rng:[name()='data' or name()='value'][not(@datatypeLibrary)]": extra characters found: "":[name()='data' or name()='value'][not(@datatypeLibrary)]""

New error messages are still progress. 😄

@Devasta
Copy link
Collaborator Author

Devasta commented Nov 2, 2024

This error is still there as of xrust 1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants