Valid XML test cases are expected to pass schema validation since they contain structurally and semantically correct content.
For instance, the following DocBook XML file should conform to the defined structures contained in the schema being validated, where all the role
attribute values for the biblioset
element are permitted values:
<book xmlns="http://docbook.org/ns/docbook" xml:id="b-book" role="fullText"> <info> <title>biblioset-role-attribute-tests</title> <biblioset role="publisher"/> <biblioset role="isbns"/> <biblioset role="series"/> <biblioset role="companionWebsite"/> </info> </book>