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

Documentation glitch: does validate-with-relax-ng() really return the current working directory? #499

Open
cmsmcq opened this issue Apr 30, 2024 · 0 comments

Comments

@cmsmcq
Copy link

cmsmcq commented Apr 30, 2024

In file src/guide/xml/ref-functions.xml, the reference entry for validate-with-relax-ng says its purpose is:

Returns the current working directory.

So does the reference manual. But the fuller description says it performs Relax NG validation and either raises an exception or returns a map with keys valid, document, and errors..

Descriptions in src/guide/xml/ch02.xml, src/test/resources/expected/chapter.003.html, and rc/test/resources/xml/chapter.003.xml say, more plausibly, that it performs Relax NG validation.

For what it's worth, blame says this part of the reference list is unchanged from the initial commit.

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

1 participant