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

RelaxNG validation with XInclude / File association report DOCTYPE error #1421

Closed
angelozerr opened this issue Dec 19, 2022 · 0 comments · Fixed by #1423
Closed

RelaxNG validation with XInclude / File association report DOCTYPE error #1421

angelozerr opened this issue Dec 19, 2022 · 0 comments · Fixed by #1423
Assignees
Labels
bug Something isn't working validation
Milestone

Comments

@angelozerr
Copy link
Contributor

Given :

  • foo.rng:
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
	datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
	xmlns:xi="http://www.w3.org/2001/XInclude">
	<start>
		<ref name="foo" />
	</start>
	<define name="foo">
		<element name="foo">
			<element name="bar">
				<attribute name="xml:base" />
			</element>
		</element>
	</define>
</grammar>
  • bar.xml:

<bar></bar>

  • foo.xml
<foo xmlns:xi="http://www.w3.org/2001/XInclude">
	<xi:include href="bar.xml" />
</foo>

with :

  • XInclude enabled
  • foo.xml associate with foo.rng file association

The is an error with DOCTYPE:

image

Although it should have no error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working validation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant