tests/auto/qxmlstream/XML-Test-Suite/xmlconf/sun/sun-not-wf.xml
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <!--
       
     3     @(#)not-wf.xml	1.6 98/12/29
       
     4     Copyright 1998 by Sun Microsystems, Inc.
       
     5     All Rights Reserved.
       
     6 -->
       
     7 <TEST URI="not-wf/not-sa03.xml" ID="not-wf-sa03" ENTITIES="parameter"
       
     8 	SECTIONS="2.9" TYPE="not-wf">
       
     9     Tests the Entity Declared WFC, ensuring that
       
    10     a reference to externally defined entity causes a well-formedness error.</TEST>
       
    11 <TEST ID="attlist01" URI="not-wf/attlist01.xml" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    12     SGML's NUTOKEN is not allowed.</TEST>
       
    13 
       
    14 <TEST ID="attlist02" URI="not-wf/attlist02.xml" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    15     SGML's NUTOKENS attribute type is not allowed.</TEST>
       
    16 
       
    17 <TEST ID="attlist03" URI="not-wf/attlist03.xml" TYPE="not-wf" SECTIONS="3.3.1 [59]">
       
    18     Comma doesn't separate enumerations, unlike in SGML.</TEST>
       
    19 
       
    20 <TEST ID="attlist04" URI="not-wf/attlist04.xml" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    21     SGML's NUMBER attribute type is not allowed.</TEST>
       
    22 
       
    23 <TEST ID="attlist05" URI="not-wf/attlist05.xml" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    24     SGML's NUMBERS attribute type is not allowed.</TEST>
       
    25 
       
    26 <TEST ID="attlist06" URI="not-wf/attlist06.xml" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    27     SGML's NAME attribute type is not allowed.</TEST>
       
    28 
       
    29 <TEST URI="not-wf/attlist07.xml" ID="attlist07" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    30     SGML's NAMES attribute type is not allowed.</TEST>
       
    31 
       
    32 <TEST URI="not-wf/attlist08.xml" ID="attlist08" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    33     SGML's #CURRENT is not allowed.</TEST>
       
    34 
       
    35 <TEST URI="not-wf/attlist09.xml" ID="attlist09" TYPE="not-wf" SECTIONS="3.3.1 [56]">
       
    36     SGML's #CONREF is not allowed.</TEST>
       
    37 
       
    38 <TEST URI="not-wf/attlist10.xml" ID="attlist10" TYPE="not-wf" SECTIONS="3.1 [40]">
       
    39     Whitespace required between attributes</TEST>
       
    40 
       
    41 <TEST URI="not-wf/attlist11.xml" ID="attlist11" TYPE="not-wf" SECTIONS="3.1 [44]">
       
    42     Whitespace required between attributes</TEST>
       
    43 
       
    44 <TEST URI="not-wf/cond01.xml" ID="cond01" TYPE="not-wf" SECTIONS="3.4 [61]" ENTITIES="parameter">
       
    45     Only INCLUDE and IGNORE are conditional section keywords</TEST>
       
    46 
       
    47 <TEST URI="not-wf/cond02.xml" ID="cond02" TYPE="not-wf" SECTIONS="3.4 [61]" ENTITIES="parameter">
       
    48     Must have keyword in conditional sections</TEST>
       
    49 
       
    50 <TEST URI="not-wf/content01.xml" ID="content01" TYPE="not-wf" SECTIONS="3.2.1 [48]">
       
    51     No whitespace before "?" in content model</TEST>
       
    52 
       
    53 <TEST URI="not-wf/content02.xml" ID="content02" TYPE="not-wf" SECTIONS="3.2.1 [48]">
       
    54     No whitespace before "*" in content model</TEST>
       
    55 
       
    56 <TEST URI="not-wf/content03.xml" ID="content03" TYPE="not-wf" SECTIONS="3.2.1 [48]">
       
    57     No whitespace before "+" in content model</TEST>
       
    58 
       
    59 <TEST URI="not-wf/decl01.xml" ID="decl01" TYPE="not-wf" SECTIONS="4.3.1 [77]"
       
    60     ENTITIES="parameter">
       
    61     External entities may not have standalone decls. </TEST>
       
    62 
       
    63 <TEST URI="not-wf/dtd00.xml" ID="nwf-dtd00" TYPE="not-wf" SECTIONS="3.2.1 [55]">
       
    64     Comma mandatory in content model</TEST>
       
    65 
       
    66 <TEST URI="not-wf/dtd01.xml" ID="nwf-dtd01" TYPE="not-wf" SECTIONS="3.2.1 [55]">
       
    67     Can't mix comma and vertical bar in content models</TEST>
       
    68 
       
    69 <TEST URI="not-wf/dtd02.xml" ID="dtd02" TYPE="not-wf" SECTIONS="4.1 [69]">
       
    70     PE name immediately after "%"</TEST>
       
    71 
       
    72 <TEST URI="not-wf/dtd03.xml" ID="dtd03" TYPE="not-wf" SECTIONS="4.1 [69]">
       
    73     PE name immediately followed by ";"</TEST>
       
    74 
       
    75 <TEST URI="not-wf/dtd04.xml" ID="dtd04" TYPE="not-wf" SECTIONS="4.2.2 [75]">
       
    76     PUBLIC literal must be quoted</TEST>
       
    77 
       
    78 <TEST URI="not-wf/dtd05.xml" ID="dtd05" TYPE="not-wf" SECTIONS="4.2.2 [75]">
       
    79     SYSTEM identifier must be quoted</TEST>
       
    80 
       
    81 <TEST URI="not-wf/dtd07.xml" ID="dtd07" TYPE="not-wf" SECTIONS="4.3.1 [77]" ENTITIES="parameter">
       
    82     Text declarations (which optionally begin any external entity)
       
    83     are required to have "encoding=...". </TEST>
       
    84 
       
    85 
       
    86 <TEST URI="not-wf/element00.xml" ID="element00" TYPE="not-wf" SECTIONS="3.1 [42]">
       
    87     EOF in middle of incomplete ETAG</TEST>
       
    88 
       
    89 <TEST URI="not-wf/element01.xml" ID="element01" TYPE="not-wf" SECTIONS="3.1 [42]">
       
    90     EOF in middle of incomplete ETAG</TEST>
       
    91 
       
    92 <TEST URI="not-wf/element02.xml" ID="element02" TYPE="not-wf" SECTIONS="3.1 [43]">
       
    93     Illegal markup (&lt;%@ ... %&gt;)</TEST>
       
    94 
       
    95 <TEST URI="not-wf/element03.xml" ID="element03" TYPE="not-wf" SECTIONS="3.1 [43]">
       
    96     Illegal markup (&lt;% ... %&gt;)</TEST>
       
    97 
       
    98 <TEST URI="not-wf/element04.xml" ID="element04" TYPE="not-wf" SECTIONS="3.1 [43]">
       
    99     Illegal markup (&lt;!ELEMENT ... &gt;)</TEST>
       
   100 
       
   101 <TEST URI="not-wf/encoding01.xml" ID="encoding01" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   102     Illegal character " " in encoding name</TEST>
       
   103 
       
   104 <TEST URI="not-wf/encoding02.xml" ID="encoding02" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   105     Illegal character "/" in encoding name</TEST>
       
   106 
       
   107 <TEST URI="not-wf/encoding03.xml" ID="encoding03" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   108     Illegal character reference in encoding name</TEST>
       
   109 
       
   110 <TEST URI="not-wf/encoding04.xml" ID="encoding04" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   111     Illegal character ":" in encoding name</TEST>
       
   112 
       
   113 <TEST URI="not-wf/encoding05.xml" ID="encoding05" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   114     Illegal character "@" in encoding name</TEST>
       
   115 
       
   116 <TEST URI="not-wf/encoding06.xml" ID="encoding06" TYPE="not-wf" SECTIONS="4.3.3 [81]">
       
   117     Illegal character "+" in encoding name</TEST>
       
   118 
       
   119 <TEST URI="not-wf/encoding07.xml" ID="encoding07" TYPE="not-wf" SECTIONS="4.3.1 [77]" ENTITIES="parameter">
       
   120     Text declarations (which optionally begin any external entity)
       
   121     are required to have "encoding=...". </TEST>
       
   122 
       
   123 <TEST URI="not-wf/pi.xml" ID="pi" TYPE="not-wf" SECTIONS="2.6 [16]">
       
   124     No space between PI target name and data</TEST>
       
   125 
       
   126 <TEST URI="not-wf/pubid01.xml" ID="pubid01" TYPE="not-wf" SECTIONS="2.3 [12]">
       
   127     Illegal entity ref in public ID</TEST>
       
   128 
       
   129 <TEST URI="not-wf/pubid02.xml" ID="pubid02" TYPE="not-wf" SECTIONS="2.3 [12]">
       
   130     Illegal characters in public ID</TEST>
       
   131 
       
   132 <TEST URI="not-wf/pubid03.xml" ID="pubid03" TYPE="not-wf" SECTIONS="2.3 [12]">
       
   133     Illegal characters in public ID</TEST>
       
   134 
       
   135 <TEST URI="not-wf/pubid04.xml" ID="pubid04" TYPE="not-wf" SECTIONS="2.3 [12]">
       
   136     Illegal characters in public ID</TEST>
       
   137 
       
   138 <TEST URI="not-wf/pubid05.xml" ID="pubid05" TYPE="not-wf" SECTIONS="2.3 [12]">
       
   139     SGML-ism:  public ID without system ID</TEST>
       
   140 
       
   141 <TEST URI="not-wf/sgml01.xml" ID="sgml01" TYPE="not-wf" SECTIONS="3 [39]">
       
   142     SGML-ism: omitted end tag for EMPTY content</TEST>
       
   143 
       
   144 <TEST URI="not-wf/sgml02.xml" ID="sgml02" TYPE="not-wf" SECTIONS="2.8 ">
       
   145     XML declaration must be at the very beginning of a document;
       
   146   it"s not a processing instruction</TEST>
       
   147 
       
   148 <TEST URI="not-wf/sgml03.xml" ID="sgml03" TYPE="not-wf" SECTIONS="2.5 [15]">
       
   149     Comments may not contain "--"</TEST>
       
   150 
       
   151 <TEST URI="not-wf/sgml04.xml" ID="sgml04" TYPE="not-wf" SECTIONS="3.3 [52]">
       
   152     ATTLIST declarations apply to only one element, unlike SGML</TEST>
       
   153 
       
   154 <TEST URI="not-wf/sgml05.xml" ID="sgml05" TYPE="not-wf" SECTIONS="3.2 [45]">
       
   155     ELEMENT declarations apply to only one element, unlike SGML</TEST>
       
   156 
       
   157 <TEST URI="not-wf/sgml06.xml" ID="sgml06" TYPE="not-wf" SECTIONS="3.3 [52]">
       
   158     ATTLIST declarations are never global, unlike in SGML</TEST>
       
   159 
       
   160 <TEST URI="not-wf/sgml07.xml" ID="sgml07" TYPE="not-wf" SECTIONS="3.2 [45]">
       
   161     SGML Tag minimization specifications are not allowed</TEST>
       
   162 
       
   163 <TEST URI="not-wf/sgml08.xml" ID="sgml08" TYPE="not-wf" SECTIONS="3.2 [45]">
       
   164     SGML Tag minimization specifications are not allowed</TEST>
       
   165 
       
   166 <TEST URI="not-wf/sgml09.xml" ID="sgml09" TYPE="not-wf" SECTIONS="3.2 [45]">
       
   167     SGML Content model exception specifications are not allowed</TEST>
       
   168 
       
   169 <TEST URI="not-wf/sgml10.xml" ID="sgml10" TYPE="not-wf" SECTIONS="3.2 [45]">
       
   170     SGML Content model exception specifications are not allowed</TEST>
       
   171 
       
   172 <TEST URI="not-wf/sgml11.xml" ID="sgml11" TYPE="not-wf" SECTIONS="3.2 [46]">
       
   173     CDATA is not a valid content model spec</TEST>
       
   174 
       
   175 <TEST URI="not-wf/sgml12.xml" ID="sgml12" TYPE="not-wf" SECTIONS="3.2 [46]">
       
   176     RCDATA is not a valid content model spec</TEST>
       
   177 
       
   178 <TEST URI="not-wf/sgml13.xml" ID="sgml13" TYPE="not-wf" SECTIONS="3.2.1 [47]">
       
   179     SGML Unordered content models not allowed</TEST>