The xml:id test suite consists of thirteen tests and an XSL stylesheet which exercises them. Other methods, for example very recent versions of Amaya, may also be available.
The thirteen tests are:
Expected result: xml:id on para is an ID (te st)
Notes: XSLT cannot perform this test.
Expected result: xml:id on para is an ID (test)
Expected result: xml:id on para is an ID (id)
Expected result: xml:id on para is an ID (id)
Notes: Proper evaluation requires a schema-aware processor.
Expected result: xml:id on para is an ID (id)
Notes: Must generate invalid declared type error.
Expected result: xml:id on para is an ID (dup)
Notes: Should generate duplicate ID error; may report both elements.
Expected result: xml:id on para is an ID (id)
Notes: Must generate invalid declared type error; proper evaluation requires a schema-aware processor.
Expected result: id on para is an ID (id1) xml:id on para is an ID (id1)
Notes: Should generate duplicate ID error; may report both elements.
Expected result: xml:id on p is an ID (anid)
Expected result: xml:id on p is an ID (idâ°€ok)
Notes: Will fail if an XML 1.0 processor is used.
Expected result: id on para is an ID (id1) xml:id on para is an ID (id2) Found para Found para
Expected result: xml:id on p is an ID (anid)
Expected result: xml:id on para is an ID (
p2)
Notes: XSLT cannot perform this test.
Additional information about these tests is available in the xml:id implementation report.