W3C

Test Suite for XInclude 1.1

XML Core Working Group

4 October 2013

Abstract

This document lists a number of XInclude 1.1 tests.


From the XInclude 1.1 Specification

Text parsing

This test demonstrates the ability to perform RFC5147 text parsing.

Text parsing (with integrity constraints)

This test demonstrates the ability to perform RFC5147 text parsing with integrity constraints.

Attribute copying 1

This example demonstrates the XInclude 1.1 “copy attributes” feature.

Attribute copying 2

This example demonstrates the XInclude 1.1 “copy attributes” feature being used to change the value of the xml:id attribute.

Integrity constraint checking

This test demonstrates that an integrity constraint failure in RFC5147 parsing is an XInclude resource error.