source: trunk/QA/xmlconf/ibm/valid/P56/ibm56v06.xml @ 450

Last change on this file since 450 was 450, checked in by cameron, 9 years ago

Include xmlconf

  • Property svn:executable set to *
File size: 572 bytes
RevLine 
[450]1<?xml  version="1.0"?>
2<!-- validity constraint check for Production 56(Positive Test)-->
3<!DOCTYPE test
4 [
5 <!ELEMENT test ANY>
6 <!ELEMENT id EMPTY>
7 <!ELEMENT idref EMPTY>
8 <!ATTLIST id UniqueName ID #REQUIRED>
9 <!ATTLIST idref reference IDREF #IMPLIED>
10 ]>
11<test>
12<id UniqueName = "AC456"></id>
13<idref reference = "AC456"></idref>
14Positive test for validity constraint of IDREF.
15In an attribute decl, values of type IDREF match tha name production
16and the IDREF value matches the value assigned to an ID attribute somewhere
17in the XML document.
18</test>
Note: See TracBrowser for help on using the repository browser.