W3C Architecture Domain XML | Member-Confidential!

XML 1.0 (Second Edition) errata 20020320,

W3C Conformance Test Suite 20020606

This version:
Current Version:
Previous Version:
Test Archive:
W3C XML Core Working Group:
Comments:

Table of Contents

  1. Introduction
  2. Test Matrix
    1. Binary Tests
    2. Output Tests
  3. Test Case Descriptions
    1. Valid Documents
    2. Invalid Documents
    3. Not-WF Documents
    4. Optional Errors
  4. Contributors

1. Introduction

The tests described in this document provide an initial set of metrics to determine how well a particular implementation conforms to the W3C XML 1.0 (Second Edition) Recommendation. The XML Conformance Test Suite is intended to complement the W3C XML 1.0 (Second Edition) Recommendation. All interpretations of this Recommendation are subject to confirmation by the W3C XML Group .

Conformance tests can be used by developers, content creators, and users alike to increase their level of confidence in product quality. In circumstances where interoperability is necessary, these tests can also be used to determine that differing implementations support the same set of features.

The XML Test Suite was transferred from OASIS to W3C and is being augmented to reflect the current work of the W3C XML Core Working Group, including resolved issues related to the Recommendation and published Errata. This report provides supporting documentation for all the tests included in the test suite. Sources from which these tests have been collected include: James Clark XMLTEST cases, 18-Nov-1998; Fuji Xerox Japanese Text Tests; Sun Microsystems XML Tests; OASIS/NIST TESTS, 1-Nov-1998; IBM XML Tests; .

2. Test Matrix

Two basic types of test are presented here. These are respectively Binary Tests and Output Tests .

2.1 Binary Tests

Binary conformance tests are documents which are grouped into one of four categories. Given a document in a given category, each kind of XML parser must treat it consistently and either accept it (a positive test) or reject it (a negative test). It is in that sense that the tests are termed "binary". The XML 1.0 (Second Edition) Recommendation talks in terms of two types of XML processor: validating ones, and nonvalidating ones. There are two differences between these types of processors:

  1. Validating processors check special productions that nonvalidating parsers don't, called validity constraints. (Both must check a basic set of productions, requiring XML documents to be well formed.)
  2. Nonvalidating processors are permitted to not include external entities, such as files with text. Accordingly, they may not report errors which would have been detected had those entities been read.

There are two types of such entity, parameter entities holding definitions which affect validation and other processing; and general entities which hold marked up text. It will be appreciated that there are then five kinds of XML processor: validating processors, and four kinds of nonvalidating processor based on the combinations of external entity which they include.

Basic XML Parsing Test Matrix
Test Document Type v. Parser Type
Nonvalidating Validating
External Entities
Ignored (3 cases)
External Entities
Read
Valid Documents accept accept accept
Invalid Documents accept accept reject
Non-WF Documents reject reject reject
WF Errors tied
to External Entity
accept
(varies)
reject reject
Documents with
Optional Errors
(not specified) (not specified) (not specified)

At this time, the XML community primarily uses parsers which are in the rightmost two columns of this table, calling them Well Formed XML Parsers (or "WF Parsers") and Validating XML Parsers. A second test matrix could be defined to address the variations in the types of of XML processor which do not read all external entities. That additional matrix is not provided here at this time.

2.2 Output Tests

The XML 1.0 (Second Edition) Recommendation places a number of requirements on XML processors, to ensure that they report information to applications as needed. Such requirements are testable. Validating processors are required to report slightly more information than nonvalidating ones, so some tests will require separate output files. Some of the information that must be reported will not be reportable without reading all the external entities in a particular test. Many of the tests for valid documents are paired with an output file as the canonical representation of the input file, to ensure that the XML processor provides the correct information.

3. Test Case Descriptions

This section of this report contains descriptions of test cases, each of which fits into the categories noted above. Each test case includes a document of one of the types in the binary test matrix above (e.g. valid or invalid documents).

In some cases, an output file , as described in Section 2.2, will also be associated with a valid document, which is used for output testing. If such a file exists, it will be noted at the end of the description of the input document.

The description for each test case is presented as a two part table. The right part describes what the test does. This description is intended to have enough detail to evaluate diagnostic messages. The left part includes:

3.1 Valid XML Documents

All conforming XML 1.0 Processors are required to accept valid documents, reporting no errors. In this section of this test report are found descriptions of test cases which fit into this category.

Sections [Rules]:2.1
Test ID:ibm-valid-P01-ibm01v01.xml
Collection:IBM XML Conformance Test Suite - Production 1

Tests with a xml document consisting of prolog followed by element then Misc

There is an output test associated with this input file.

Sections [Rules]:2.10
Test ID:valid-sa-084
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that although whitespace can be used to set apart markup for greater readability it is not necessary.

There is an output test associated with this input file.

Sections [Rules]:2.10
Test ID:valid-sa-093
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace is not intended for inclusion in the delivered version of the document.

There is an output test associated with this input file.

Sections [Rules]:2.11
Test ID:valid-sa-116
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that a line break within CDATA will be normalized.

There is an output test associated with this input file.

Sections [Rules]:2.11
Test ID:valid-ext-sa-001
Collection:James Clark XMLTEST cases, 18-Nov-1998

A combination of carriage return line feed in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.11
Test ID:valid-ext-sa-002
Collection:James Clark XMLTEST cases, 18-Nov-1998

A carriage return (also CRLF) in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.11
Test ID:valid-ext-sa-004
Collection:James Clark XMLTEST cases, 18-Nov-1998

A carriage return (also CRLF) in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.11
Test ID:valid-ext-sa-009
Collection:James Clark XMLTEST cases, 18-Nov-1998

A carriage return (also CRLF) in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.11, 3.3.3
Test ID:valid-sa-108
Collection:James Clark XMLTEST cases, 18-Nov-1998

This tests normalization of end-of-line characters (CRLF) within entities to LF, primarily as an output test.

There is an output test associated with this input file.

Sections [Rules]:2.11, 4.5
Test ID:valid-sa-068
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests definition of an internal entity holding a carriage return character reference, which must not be normalized before reporting to the application. Line break normalization only occurs when parsing external parsed entities.

There is an output test associated with this input file.

Sections [Rules]:2.11 3.2.1 3.2.2 4.2.2 [48] [51] [75]
Test ID:valid-ext-sa-006
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of optional character and content particles within mixed element content. The test also shows the use of an external entity and that a carriage control line feed in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.11 4.2.2 [75]
Test ID:valid-ext-sa-011
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of a public identifier with and external entity. The test also show that a carriage control line feed combination in an external entity must be normalized to a single newline.

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P33-ibm33v01.xml
Collection:IBM XML Conformance Test Suite - Production 33

Tests LanguageID with Langcode - Subcode

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P34-ibm34v01.xml
Collection:IBM XML Conformance Test Suite - Production 34

Duplicate Test as ibm33v01.xml

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P35-ibm35v01.xml
Collection:IBM XML Conformance Test Suite - Production 35

Tests ISO639Code

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P36-ibm36v01.xml
Collection:IBM XML Conformance Test Suite - Production 36

Tests IanaCode

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P37-ibm37v01.xml
Collection:IBM XML Conformance Test Suite - Production 37

Tests UserCode

There is an output test associated with this input file.

Sections [Rules]:2.12
Test ID:ibm-valid-P38-ibm38v01.xml
Collection:IBM XML Conformance Test Suite - Production 38

Tests SubCode

There is an output test associated with this input file.

Sections [Rules]:2.12 [35]
Test ID:v-lang01
Collection:Sun Microsystems XML Tests

Tests a lowercase ISO language code.

There is an output test associated with this input file.

Sections [Rules]:2.12 [35]
Test ID:v-lang02
Collection:Sun Microsystems XML Tests

Tests a ISO language code with a subcode.

There is an output test associated with this input file.

Sections [Rules]:2.12 [35]
Test ID:v-lang05
Collection:Sun Microsystems XML Tests

Tests an uppercase ISO language code.

There is an output test associated with this input file.

Sections [Rules]:2.12 [36]
Test ID:v-lang03
Collection:Sun Microsystems XML Tests

Tests a IANA language code with a subcode.

There is an output test associated with this input file.

Sections [Rules]:2.12 [37]
Test ID:v-lang04
Collection:Sun Microsystems XML Tests

Tests a user language code with a subcode.

There is an output test associated with this input file.

Sections [Rules]:2.12 [37]
Test ID:v-lang06
Collection:Sun Microsystems XML Tests

Tests a user language code.

There is an output test associated with this input file.

Sections [Rules]:2.2
Test ID:ibm-valid-P02-ibm02v01.xml
Collection:IBM XML Conformance Test Suite - Production 2

This test case covers legal character ranges plus discrete legal characters for production 02.

Sections [Rules]:2.2 [1]
Test ID:o-p01pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

various Misc items where they can occur

Sections [Rules]:2.2 [2]
Test ID:valid-sa-049
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that characters outside of normal ascii range can be used as element content.

There is an output test associated with this input file.

Sections [Rules]:2.2 [2]
Test ID:valid-sa-050
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that characters outside of normal ascii range can be used as element content.

There is an output test associated with this input file.

Sections [Rules]:2.2 [2]
Test ID:valid-sa-051
Collection:James Clark XMLTEST cases, 18-Nov-1998

The document is encoded in UTF-16 and uses some name characters well outside of the normal ASCII range.

There is an output test associated with this input file.

Sections [Rules]:2.2 [2]
Test ID:valid-sa-052
Collection:James Clark XMLTEST cases, 18-Nov-1998

The document is encoded in UTF-8 and the text inside the root element uses two non-ASCII characters, encoded in UTF-8 and each of which expands to a Unicode surrogate pair.

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P03-ibm03v01.xml
Collection:IBM XML Conformance Test Suite - Production 3

Tests all 4 legal white space characters - #x20 #x9 #xD #xA

Sections [Rules]:2.3
Test ID:ibm-valid-P09-ibm09v01.xml
Collection:IBM XML Conformance Test Suite - Production 9

Empty EntityValue is legal

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P09-ibm09v02.xml
Collection:IBM XML Conformance Test Suite - Production 9

Tests a normal EnitityValue

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P09-ibm09v03.xml
Collection:IBM XML Conformance Test Suite - Production 9

Tests EnitityValue referencing a Parameter Entity

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P09-ibm09v04.xml
Collection:IBM XML Conformance Test Suite - Production 9

Tests EnitityValue referencing a General Entity

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P09-ibm09v05.xml
Collection:IBM XML Conformance Test Suite - Production 9

Tests EnitityValue with combination of GE, PE and text, the GE used is declared in the student.dtd

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v01.xml
Collection:IBM XML Conformance Test Suite - Production 10

Tests empty AttValue with double quotes as the delimiters

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v02.xml
Collection:IBM XML Conformance Test Suite - Production 10

Tests empty AttValue with single quotes as the delimiters

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v03.xml
Collection:IBM XML Conformance Test Suite - Production 10

Test AttValue with double quotes as the delimiters and single quote inside

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v04.xml
Collection:IBM XML Conformance Test Suite - Production 10

Test AttValue with single quotes as the delimiters and double quote inside

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v05.xml
Collection:IBM XML Conformance Test Suite - Production 10

Test AttValue with a GE reference and double quotes as the delimiters

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v06.xml
Collection:IBM XML Conformance Test Suite - Production 10

Test AttValue with a GE reference and single quotes as the delimiters

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v07.xml
Collection:IBM XML Conformance Test Suite - Production 10

testing AttValue with mixed references and text content in double quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P10-ibm10v08.xml
Collection:IBM XML Conformance Test Suite - Production 10

testing AttValue with mixed references and text content in single quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P11-ibm11v01.xml
Collection:IBM XML Conformance Test Suite - Production 11

Tests empty systemliteral using the double quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P11-ibm11v02.xml
Collection:IBM XML Conformance Test Suite - Production 11

Tests empty systemliteral using the single quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P11-ibm11v03.xml
Collection:IBM XML Conformance Test Suite - Production 11

Tests regular systemliteral using the single quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P11-ibm11v04.xml
Collection:IBM XML Conformance Test Suite - Production 11

Tests regular systemliteral using the double quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P12-ibm12v01.xml
Collection:IBM XML Conformance Test Suite - Production 12

Tests empty systemliteral using the double quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P12-ibm12v02.xml
Collection:IBM XML Conformance Test Suite - Production 12

Tests empty systemliteral using the single quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P12-ibm12v03.xml
Collection:IBM XML Conformance Test Suite - Production 12

Tests regular systemliteral using the double quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P12-ibm12v04.xml
Collection:IBM XML Conformance Test Suite - Production 12

Tests regular systemliteral using the single quotes

There is an output test associated with this input file.

Sections [Rules]:2.3
Test ID:ibm-valid-P13-ibm13v01.xml
Collection:IBM XML Conformance Test Suite - Production 13

Testing PubidChar with all legal PubidChar in a PubidLiteral

There is an output test associated with this input file.

Sections [Rules]:2.3 [12]
Test ID:valid-sa-100
Collection:James Clark XMLTEST cases, 18-Nov-1998

Makes sure that PUBLIC identifiers may have some strange characters. NOTE: The XML editors have said that the XML specification errata will specify that parameter entity expansion does not occur in PUBLIC identifiers, so that the '%' character will not flag a malformed parameter entity reference.

There is an output test associated with this input file.

Sections [Rules]:2.3 [12]
Test ID:o-p12pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid public IDs.

Sections [Rules]:2.3 [4]
Test ID:valid-sa-012
Collection:James Clark XMLTEST cases, 18-Nov-1998

Uses a legal XML 1.0 name consisting of a single colon character (disallowed by the latest XML Namespaces draft).

There is an output test associated with this input file.

Sections [Rules]:2.3 [5]
Test ID:valid-sa-063
Collection:James Clark XMLTEST cases, 18-Nov-1998

The document is encoded in UTF-8 and the name of the root element type uses non-ASCII characters.

There is an output test associated with this input file.

Sections [Rules]:2.3 [6]
Test ID:o-p06pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

various satisfactions of the Names production in a NAMES attribute

Sections [Rules]:2.3 [7]
Test ID:o-p07pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

various valid Nmtoken 's in an attribute list declaration.

Sections [Rules]:2.3 [8]
Test ID:o-p08pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

various satisfaction of an NMTOKENS attribute value.

Sections [Rules]:2.3 [9]
Test ID:o-p09pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid EntityValue's. Except for entity references, markup is not recognized.

Sections [Rules]:2.3 2.10
Test ID:valid-sa-092
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demostrates that extra whitespace is normalized into a single space character.

There is an output test associated with this input file.

Sections [Rules]:2.3 3.1 [10][40][41]
Test ID:valid-sa-109
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an attribute can have a null value.

There is an output test associated with this input file.

Sections [Rules]:2.3 3.1 [13] [40]
Test ID:valid-sa-013
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that the Attribute in a Start-tag can consist of numerals along with special characters.

There is an output test associated with this input file.

Sections [Rules]:2.3 3.1 [13] [40]
Test ID:valid-sa-014
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that all lower case letters are valid for the Attribute in a Start-tag.

There is an output test associated with this input file.

Sections [Rules]:2.3 3.1 [13] [40]
Test ID:valid-sa-015
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that all upper case letters are valid for the Attribute in a Start-tag.

There is an output test associated with this input file.

Sections [Rules]:2.3 3.1 [43]
Test ID:valid-sa-009
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that PubidChar can be used for element content.

There is an output test associated with this input file.

Sections [Rules]:2.3 4.1 [10] [69]
Test ID:valid-not-sa-023
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of a parameter entity reference within an attribute list declaration.

There is an output test associated with this input file.

Sections [Rules]:2.4
Test ID:ibm-valid-P14-ibm14v01.xml
Collection:IBM XML Conformance Test Suite - Production 14

Testing CharData with empty string

There is an output test associated with this input file.

Sections [Rules]:2.4
Test ID:ibm-valid-P14-ibm14v02.xml
Collection:IBM XML Conformance Test Suite - Production 14

Testing CharData with white space character

There is an output test associated with this input file.

Sections [Rules]:2.4
Test ID:ibm-valid-P14-ibm14v03.xml
Collection:IBM XML Conformance Test Suite - Production 14

Testing CharData with a general text string

There is an output test associated with this input file.

Sections [Rules]:2.4 2.5 2.6 2.7 [15] [16] [18]
Test ID:o-p43pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of character data, comments, processing instructions and CDATA sections within the start and end tag.

Sections [Rules]:2.4 3.1 [14] [43]
Test ID:valid-sa-048
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that character data is valid element content.

There is an output test associated with this input file.

Sections [Rules]:2.4 3.1 [43]
Test ID:valid-sa-008
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates character references can be used for element content.

There is an output test associated with this input file.

Sections [Rules]:2.5
Test ID:valid-sa-119
Collection:James Clark XMLTEST cases, 18-Nov-1998

Comments may contain any legal XML characters; only the string "--" is disallowed.

There is an output test associated with this input file.

Sections [Rules]:2.5
Test ID:ibm-valid-P15-ibm15v01.xml
Collection:IBM XML Conformance Test Suite - Production 15

Tests empty comment

There is an output test associated with this input file.

Sections [Rules]:2.5
Test ID:ibm-valid-P15-ibm15v02.xml
Collection:IBM XML Conformance Test Suite - Production 15

Tests comment with regular text

There is an output test associated with this input file.

Sections [Rules]:2.5
Test ID:ibm-valid-P15-ibm15v03.xml
Collection:IBM XML Conformance Test Suite - Production 15

Tests comment with one dash inside

There is an output test associated with this input file.

Sections [Rules]:2.5
Test ID:ibm-valid-P15-ibm15v04.xml
Collection:IBM XML Conformance Test Suite - Production 15

Tests comment with more comprehensive content

There is an output test associated with this input file.

Sections [Rules]:2.5 [15]
Test ID:dtd01
Collection:Sun Microsystems XML Tests

Comments don't get parameter entity expansion

There is an output test associated with this input file.

Sections [Rules]:2.5 3.1 [15] [43]
Test ID:valid-sa-021
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that comments are valid element content.

There is an output test associated with this input file.

Sections [Rules]:2.5 3.1 [15] [43]
Test ID:valid-sa-022
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that comments are valid element content and that all characters before the double-hypen right angle combination are considered part of thecomment.

There is an output test associated with this input file.

Sections [Rules]:2.6
Test ID:ibm-valid-P16-ibm16v01.xml
Collection:IBM XML Conformance Test Suite - Production 16

Tests PI definition with only PItarget name and nothing else

There is an output test associated with this input file.

Sections [Rules]:2.6
Test ID:ibm-valid-P16-ibm16v02.xml
Collection:IBM XML Conformance Test Suite - Production 16

Tests PI definition with only PItarget name and a white space

There is an output test associated with this input file.

Sections [Rules]:2.6
Test ID:ibm-valid-P16-ibm16v03.xml
Collection:IBM XML Conformance Test Suite - Production 16

Tests PI definition with PItarget name and text that contains question mark and right angle

There is an output test associated with this input file.

Sections [Rules]:2.6
Test ID:ibm-valid-P17-ibm17v01.xml
Collection:IBM XML Conformance Test Suite - Production 17

Tests PITarget name

There is an output test associated with this input file.

Sections [Rules]:2.6 [15]
Test ID:valid-sa-037
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid comment and that it may appear anywhere in the document including at the end.

There is an output test associated with this input file.

Sections [Rules]:2.6 [15]
Test ID:valid-sa-038
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid comment and that it may appear anywhere in the document including the beginning.

There is an output test associated with this input file.

Sections [Rules]:2.6 [16]
Test ID:valid-sa-036
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid processing instruction.

There is an output test associated with this input file.

Sections [Rules]:2.6 [16]
Test ID:valid-sa-039
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid processing instruction and that it may appear at the beginning of the document.

There is an output test associated with this input file.

Sections [Rules]:2.6 2.10 [16]
Test ID:valid-sa-055
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace within a processing instruction willnormalized into s single space character.

There is an output test associated with this input file.

Sections [Rules]:2.6 2.10 [16]
Test ID:valid-sa-098
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace within a processing instruction is converted into a single space character.

There is an output test associated with this input file.

Sections [Rules]:2.6 3.1 [16] [43]
Test ID:valid-sa-016
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that Processing Instructions are valid element content.

There is an output test associated with this input file.

Sections [Rules]:2.6 3.1 [16] [43]
Test ID:valid-sa-017
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that Processing Instructions are valid element content and there can be more than one.

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:valid-not-sa-031
Collection:James Clark XMLTEST cases, 18-Nov-1998

Expands a general entity which contains a CDATA section with what looks like a markup declaration (but is just text since it's in a CDATA section).

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:ibm-valid-P18-ibm18v01.xml
Collection:IBM XML Conformance Test Suite - Production 18

Tests CDSect with CDStart CData CDEnd

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:ibm-valid-P19-ibm19v01.xml
Collection:IBM XML Conformance Test Suite - Production 19

Tests CDStart

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:ibm-valid-P20-ibm20v01.xml
Collection:IBM XML Conformance Test Suite - Production 20

Tests CDATA with empty string

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:ibm-valid-P20-ibm20v02.xml
Collection:IBM XML Conformance Test Suite - Production 20

Tests CDATA with regular content

There is an output test associated with this input file.

Sections [Rules]:2.7
Test ID:ibm-valid-P21-ibm21v01.xml
Collection:IBM XML Conformance Test Suite - Production 21

Tests CDEnd

There is an output test associated with this input file.

Sections [Rules]:2.7 [20]
Test ID:valid-sa-114
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that all text within a valid CDATA section is considered text and not recognized as markup.

There is an output test associated with this input file.

Sections [Rules]:2.7 3.1 [18] [43]
Test ID:valid-sa-018
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that CDATA sections are valid element content.

There is an output test associated with this input file.

Sections [Rules]:2.7 3.1 [18] [43]
Test ID:valid-sa-019
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that CDATA sections are valid element content and that ampersands may occur in their literal form.

There is an output test associated with this input file.

Sections [Rules]:2.7 3.1 [18] [43]
Test ID:valid-sa-020
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstractes that CDATA sections are valid element content and that everyting between the CDStart and CDEnd is recognized as character data not markup.

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:valid-sa-094
Collection:James Clark XMLTEST cases, 18-Nov-1998

Attribute defaults with a DTD have special parsing rules, different from other strings. That means that characters found there may look like an undefined parameter entity reference "within a markup declaration", but they aren't ... so they can't be violating the PEs in Internal Subset WFC.

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:pe01
Collection:Sun Microsystems XML Tests

Parameter entities references are NOT RECOGNIZED in default attribute values.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v01.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with XMLDecl and doctypedecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v02.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with doctypedecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v03.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with Misc doctypedecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v04.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with doctypedecl Misc

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v05.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with XMLDecl Misc doctypedecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v06.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with XMLDecl doctypedecl Misc

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P22-ibm22v07.xml
Collection:IBM XML Conformance Test Suite - Production 22

Tests prolog with XMLDecl Misc doctypedecl Misc

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v01.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VersionInfo only

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v02.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VersionInfo EncodingDecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v03.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VersionInfo SDDecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v04.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VerstionInfo and a trailing whitespace char

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v05.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VersionInfo EncodingDecl SDDecl

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P23-ibm23v06.xml
Collection:IBM XML Conformance Test Suite - Production 23

Tests XMLDecl with VersionInfo EncodingDecl SDDecl and a trailing whitespace

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P24-ibm24v01.xml
Collection:IBM XML Conformance Test Suite - Production 24

Tests VersionInfo with single quote

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P24-ibm24v02.xml
Collection:IBM XML Conformance Test Suite - Production 24

Tests VersionInfo with double quote

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P25-ibm25v01.xml
Collection:IBM XML Conformance Test Suite - Production 25

Tests EQ with =

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P25-ibm25v02.xml
Collection:IBM XML Conformance Test Suite - Production 25

Tests EQ with = and spaces on both sides

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P25-ibm25v03.xml
Collection:IBM XML Conformance Test Suite - Production 25

Tests EQ with = and space in front of it

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P25-ibm25v04.xml
Collection:IBM XML Conformance Test Suite - Production 25

Tests EQ with = and space after it

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P26-ibm26v01.xml
Collection:IBM XML Conformance Test Suite - Production 26

Tests VersionNum 1.0

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P27-ibm27v01.xml
Collection:IBM XML Conformance Test Suite - Production 27

Tests Misc with comment

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P27-ibm27v02.xml
Collection:IBM XML Conformance Test Suite - Production 27

Tests Misc with PI

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P27-ibm27v03.xml
Collection:IBM XML Conformance Test Suite - Production 27

Tests Misc with white spaces

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P28-ibm28v01.xml
Collection:IBM XML Conformance Test Suite - Production 28

Tests doctypedecl with internal DTD only

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P28-ibm28v02.xml
Collection:IBM XML Conformance Test Suite - Production 28

Tests doctypedecl with external subset and combinations of different markup declarations and PEReferences

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P29-ibm29v01.xml
Collection:IBM XML Conformance Test Suite - Production 29

Tests markupdecl with combinations of elementdecl, AttlistDecl,EntityDecl, NotationDecl, PI and comment

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P29-ibm29v02.xml
Collection:IBM XML Conformance Test Suite - Production 29

Tests WFC: PE in internal subset as a positive test

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P30-ibm30v01.xml
Collection:IBM XML Conformance Test Suite - Production 30

Tests extSubset with extSubsetDecl only in the dtd file

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P30-ibm30v02.xml
Collection:IBM XML Conformance Test Suite - Production 30

Tests extSubset with TextDecl and extSubsetDecl in the dtd file

There is an output test associated with this input file.

Sections [Rules]:2.8
Test ID:ibm-valid-P31-ibm31v01.xml
Collection:IBM XML Conformance Test Suite - Production 31

Tests extSubsetDecl with combinations of markupdecls, conditionalSects, PEReferences and white spaces

There is an output test associated with this input file.

Sections [Rules]:2.8, 4.1 [69]
Test ID:valid-not-sa-024
Collection:James Clark XMLTEST cases, 18-Nov-1998

Constructs an <!ATTLIST...> declaration from several PEs.

There is an output test associated with this input file.

Sections [Rules]:2.8 [22]
Test ID:o-p22pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

XML decl and doctypedecl

Sections [Rules]:2.8 [22]
Test ID:o-p22pass5
Collection:OASIS/NIST TESTS, 1-Nov-1998

just doctypedecl

Sections [Rules]:2.8 [22]
Test ID:o-p22pass6
Collection:OASIS/NIST TESTS, 1-Nov-1998

S between decls is not required

Sections [Rules]:2.8 [23]
Test ID:valid-sa-033
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that both a EncodingDecl and SDDecl are valid within the prolog.

There is an output test associated with this input file.

Sections [Rules]:2.8 [24]
Test ID:valid-sa-028
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid prolog that uses double quotes as delimeters around the VersionNum.

There is an output test associated with this input file.

Sections [Rules]:2.8 [24]
Test ID:valid-sa-029
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid prolog that uses single quotes as delimters around the VersionNum.

There is an output test associated with this input file.

Sections [Rules]:2.8 [25]
Test ID:valid-sa-030
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid prolog that contains whitespace on both sides of the equal sign in the VersionInfo.

There is an output test associated with this input file.

Sections [Rules]:2.8 [29]
Test ID:o-p29pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid types of markupdecl.

Sections [Rules]:2.8 [31]
Test ID:o-p31pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

external subset can be empty

Sections [Rules]:2.8 3.4 4.2.2 [31] [62] [63] [75]
Test ID:o-p31pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with EXternalID as Enternal Entity. The external entity contains a parameter entity reference and condtional sections.

Sections [Rules]:2.8 4.1 [28] [69]
Test ID:o-p28pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with Parameter entity reference. The declaration of a parameter entity must precede any reference to it.

Sections [Rules]:2.8 4.1 [28] [69]
Test ID:o-p28pass5
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with ExternalID as an External Entity. A parameter entity reference is also used.

Sections [Rules]:2.8 4.2.2 [28] [75]
Test ID:o-p28pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with ExternalID as an External Entity declaration.

Sections [Rules]:2.8 4.2.2 [30] [75]
Test ID:o-p30pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with ExternalID as an External Entity. The external entity has an element declaration.

Sections [Rules]:2.8 4.2.2 4.3.1 [30] [75] [77]
Test ID:o-p30pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid doctypedecl with ExternalID as an Enternal Entity. The external entity begins with a Text Declaration.

Sections [Rules]:2.9
Test ID:not-sa01
Collection:Sun Microsystems XML Tests

A non-standalone document is valid if declared as such.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:not-sa02
Collection:Sun Microsystems XML Tests

A non-standalone document is valid if declared as such.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:not-sa03
Collection:Sun Microsystems XML Tests

A non-standalone document is valid if declared as such.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:not-sa04
Collection:Sun Microsystems XML Tests

A non-standalone document is valid if declared as such.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-valid-P32-ibm32v01.xml
Collection:IBM XML Conformance Test Suite - Production 32

Tests VC: Standalone Document Declaration with absent attribute that has default value and standalone is no

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-valid-P32-ibm32v02.xml
Collection:IBM XML Conformance Test Suite - Production 32

Tests VC: Standalone Document Declaration with external entity reference and standalone is no

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-valid-P32-ibm32v03.xml
Collection:IBM XML Conformance Test Suite - Production 32

Tests VC: Standalone Document Declaration with attribute values that need to be normalized and standalone is no

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-valid-P32-ibm32v04.xml
Collection:IBM XML Conformance Test Suite - Production 32

Tests VC: Standalone Document Declaration with whitespace in mixed content and standalone is no

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:valid-sa-032
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid SDDecl within the prolog.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:sa01
Collection:Sun Microsystems XML Tests

A document may be marked 'standalone' if any optional whitespace is defined within the internal DTD subset.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:sa02
Collection:Sun Microsystems XML Tests

A document may be marked 'standalone' if any attributes that need normalization are defined within the internal DTD subset.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:sa03
Collection:Sun Microsystems XML Tests

A document may be marked 'standalone' if any the defined entities need expanding are internal, and no attributes need defaulting or normalization. On output, requires notations to be correctly reported.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:sa04
Collection:Sun Microsystems XML Tests

Like sa03 but relies on attribute defaulting defined in the internal subset. On output, requires notations to be correctly reported.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:sa05
Collection:Sun Microsystems XML Tests

Like sa01 but this document is standalone since it has no optional whitespace. On output, requires notations to be correctly reported.

There is an output test associated with this input file.

Sections [Rules]:3
Test ID:element
Collection:Sun Microsystems XML Tests

Tests clauses 1, 3, and 4 of the Element Valid validity constraint.

There is an output test associated with this input file.

Sections [Rules]:3
Test ID:ibm-valid-P39-ibm39v01.xml
Collection:IBM XML Conformance Test Suite - Production 39

Tests element with EmptyElemTag and STag content Etag, also tests the VC: Element Valid with elements that have children, Mixed and ANY contents

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-valid-P40-ibm40v01.xml
Collection:IBM XML Conformance Test Suite - Production 40

Tests STag with possible combinations of its fields, also tests WFC: Unique Att Spec.

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-valid-P41-ibm41v01.xml
Collection:IBM XML Conformance Test Suite - Production 41

Tests Attribute with Name Eq AttValue and VC: Attribute Value Type

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-valid-P42-ibm42v01.xml
Collection:IBM XML Conformance Test Suite - Production 42

Tests ETag with possible combinations of its fields

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-valid-P43-ibm43v01.xml
Collection:IBM XML Conformance Test Suite - Production 43

Tests content with all possible constructs: element, CharData, Reference, CDSect, Comment

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-valid-P44-ibm44v01.xml
Collection:IBM XML Conformance Test Suite - Production 44

Tests EmptyElemTag with possible combinations of its fields

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:valid-sa-002
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that whitespace is permitted after the tag name in a Start-tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:valid-sa-005
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid attribute specification within a Start-tag that contains whitespace on both sides of the equal sign.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:valid-sa-010
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that whitespace is valid after the Attribute in a Start-tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:valid-sa-011
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates mutliple Attibutes within the Start-tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:valid-sa-104
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace within an Attribute of a Start-tag is normalized to a single space character.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40] [42]
Test ID:valid-sa-054
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace within Start-tags and End-tags are nomalized into single spaces.

There is an output test associated with this input file.

Sections [Rules]:3.1 [41]
Test ID:valid-sa-004
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid attribute specification within a Start-tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [41]
Test ID:valid-sa-006
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that the AttValue within a Start-tag can use a single quote as a delimter.

There is an output test associated with this input file.

Sections [Rules]:3.1 [42]
Test ID:valid-sa-003
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that whitespace is permitted after the tag name in an End-tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [43]
Test ID:valid-sa-023
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that Entity References are valid element content.

There is an output test associated with this input file.

Sections [Rules]:3.1 [43]
Test ID:valid-sa-047
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace is normalized into single space character.

There is an output test associated with this input file.

Sections [Rules]:3.1 [43] [44]
Test ID:o-p28pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Empty-element tag must be used for element which are declared EMPTY.

Sections [Rules]:3.1 [44]
Test ID:valid-sa-034
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the correct syntax for an Empty element tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [44]
Test ID:valid-sa-035
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that whitespace is permissible after the name in an Empty element tag.

There is an output test associated with this input file.

Sections [Rules]:3.1 [44]
Test ID:valid-sa-044
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that the empty-element tag must be use for an elements that are declared EMPTY.

There is an output test associated with this input file.

Sections [Rules]:3.1 4.1 [43] [66]
Test ID:valid-sa-024
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that Entity References are valid element content and also demonstrates a valid Entity Declaration.

There is an output test associated with this input file.

Sections [Rules]:3.1 4.1 [43] [68]
Test ID:valid-ext-sa-003
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that the content of an element can be empty. In this case the external entity is an empty file.

There is an output test associated with this input file.

Sections [Rules]:3.1 4.6 [43]
Test ID:valid-sa-007
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates numeric character references can be used for element content.

There is an output test associated with this input file.

Sections [Rules]:3.2
Test ID:ibm-valid-P45-ibm45v01.xml
Collection:IBM XML Conformance Test Suite - Production 45

Tests both P45 elementDecl and P46 contentspec with possible combinations of their constructs

There is an output test associated with this input file.

Sections [Rules]:3.2.1
Test ID:ibm-valid-P47-ibm47v01.xml
Collection:IBM XML Conformance Test Suite - Production 47

Tests all possible children,cp,choice,seq patterns in P47,P48,P49,P50

There is an output test associated with this input file.

Sections [Rules]:3.2.1
Test ID:ibm-valid-P49-ibm49v01.xml
Collection:IBM XML Conformance Test Suite - Production 49

Tests VC:Proper Group/PE Nesting with PEs of choices that are properly nested with parenthesized groups in external subsets

There is an output test associated with this input file.

Sections [Rules]:3.2.1
Test ID:ibm-valid-P50-ibm50v01.xml
Collection:IBM XML Conformance Test Suite - Production 50

Tests VC:Proper Group/PE Nesting with PEs of seq that are properly nested with parenthesized groups in external subsets

There is an output test associated with this input file.

Sections [Rules]:3.2.1 [47]
Test ID:valid-sa-057
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an element content model whose element can occur zero or more times.

There is an output test associated with this input file.

Sections [Rules]:3.2.1 [48][49]
Test ID:valid-sa-112
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates shows the use of content particles within the element content.

There is an output test associated with this input file.

Sections [Rules]:3.2.1 [50]
Test ID:valid-sa-081
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the optional character following a name or list to govern the number of times an element or content particles in the list occur.

There is an output test associated with this input file.

Sections [Rules]:3.2.1 4.2.2 [48] [75]
Test ID:valid-ext-sa-005
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of optional character and content particles within an element content. The test also show the use of external entity.

There is an output test associated with this input file.

Sections [Rules]:3.2.2
Test ID:ibm-valid-P51-ibm51v01.xml
Collection:IBM XML Conformance Test Suite - Production 51

Tests Mixed with possible combinations of its fields amd VC: No Duplicate Types

There is an output test associated with this input file.

Sections [Rules]:3.2.2
Test ID:ibm-valid-P51-ibm51v02.xml
Collection:IBM XML Conformance Test Suite - Production 51

Tests VC:Proper Group/PE Nesting with PEs of Mixed that are properly nested with parenthesized groups in external subsets

There is an output test associated with this input file.

Sections [Rules]:3.2.2 [51]
Test ID:valid-sa-001
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Element Type Declaration with Mixed Content.

There is an output test associated with this input file.

Sections [Rules]:3.2.2 [51]
Test ID:dtd00
Collection:Sun Microsystems XML Tests

Tests parsing of alternative forms of text-only mixed content declaration.

There is an output test associated with this input file.

Sections [Rules]:3.2.2 [51]
Test ID:o-p51pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid Mixed contentspec's.

Sections [Rules]:3.2 [45]
Test ID:o-p45pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid element declarations

Sections [Rules]:3.2 [46]
Test ID:valid-sa-025
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Element Type Declaration and that the contentspec can be of mixed content.

There is an output test associated with this input file.

Sections [Rules]:3.2 [46]
Test ID:valid-sa-026
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Element Type Declaration and that EMPTY is a valid contentspec.

There is an output test associated with this input file.

Sections [Rules]:3.2 [46]
Test ID:valid-sa-027
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Element Type Declaration and that ANY is a valid contenspec.

There is an output test associated with this input file.

Sections [Rules]:3.2 3.2.1 [45] [46] [47]
Test ID:o-p48pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of contentspec, element content models, choices, sequences and content particles within an element type declaration. The optional character following a name or list governs the number of times the element or content particle may appear.

Sections [Rules]:3.2 3.2.1 [45] [46] [47]
Test ID:o-p49pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of contentspec, element content models, choices, and content particles within an element type declaration. The optional character following a name or list governs the number of times the element or content particle may appear. Whitespace is also valid between choices.

Sections [Rules]:3.2 3.2.1 [45] [46] [47]
Test ID:o-p50pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of contentspec, element content models, sequences and content particles within an element type declaration. The optional character following a name or list governs the number of times the element or content particle may appear. Whitespace is also valid between sequences.

Sections [Rules]:3.2 3.2.1 [45] [46] [47]
Test ID:o-p47pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of contentspec, element content models, choices, sequences and content particles within an element type declaration. The optional character following a name or list governs the number of times the element or content particle may appear.

Sections [Rules]:3.2 3.2.1 3.2.2 [45] [46] [47] [51]
Test ID:o-p46pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid use of contentspec, element content models, and mixed content within an element type declaration.

Sections [Rules]:3.2 3.3 [46] [53]
Test ID:valid-sa-059
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Element Type Declaration that uses the contentspec of EMPTY. The element cannot have any contents and must always appear as an empty element in the document. The test also shows an Attribute-list declaration with multiple AttDef's.

There is an output test associated with this input file.

Sections [Rules]:3.3
Test ID:valid-sa-043
Collection:James Clark XMLTEST cases, 18-Nov-1998

An element's attributes may be declared before its content model; and attribute values may contain newlines.

There is an output test associated with this input file.

Sections [Rules]:3.3
Test ID:valid-sa-097
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this tests whether an externally defined attribute declaration (with a default) takes proper precedence over a subsequent internal declaration.

There is an output test associated with this input file.

Sections [Rules]:3.3
Test ID:ibm-valid-P52-ibm52v01.xml
Collection:IBM XML Conformance Test Suite - Production 52

Tests all AttlistDecl and AttDef Patterns in P52 and P53

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:valid-sa-076
Collection:James Clark XMLTEST cases, 18-Nov-1998

Verifies that an XML parser will parse a NOTATION attribute; the output phase of this test ensures that both notations are reported to the application.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:valid-sa-090
Collection:James Clark XMLTEST cases, 18-Nov-1998

Verifies that an XML parser will parse a NOTATION attribute; the output phase of this test ensures that the notation is reported to the application.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:valid-sa-091
Collection:James Clark XMLTEST cases, 18-Nov-1998

Verifies that an XML parser will parse an ENTITY attribute; the output phase of this test ensures that the notation is reported to the application, and for validating parsers it further tests that the entity is so reported.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P54-ibm54v01.xml
Collection:IBM XML Conformance Test Suite - Production 54

Tests all AttTypes : StringType, TokenizedTypes, EnumeratedTypes in P55,P56,P57,P58,P59. Also tests all DefaultDecls in P60.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P54-ibm54v02.xml
Collection:IBM XML Conformance Test Suite - Production 54

Tests all AttTypes : StringType, TokenizedType, EnumeratedTypes in P55,P56,P57.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P54-ibm54v03.xml
Collection:IBM XML Conformance Test Suite - Production 54

Tests AttTypes with StringType in P55.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P55-ibm55v01.xml
Collection:IBM XML Conformance Test Suite - Production 55

Tests StringType for P55. The "CDATA" occurs in the StringType for the attribute "att" for the element "a".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v01.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56. The "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", and "NMTOKENS" occur in the TokenizedType for the attribute "attr".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v02.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: ID Attribute Default. The value "AC1999" is assigned to the ID attribute "attr" with "#REQUIRED" in the DeaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v03.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: ID Attribute Default. The value "AC1999" is assigned to the ID attribute "attr" with "#IMPLIED" in the DeaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v04.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: ID. The ID attribute "UniqueName" appears only once in the document.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v05.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: One ID per element type. The element "a" or "b" has only one ID attribute.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v06.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: IDREF. The IDREF value "AC456" matches the value assigned to an ID attribute "UniqueName".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v07.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: IDREF. The IDREFS value "AC456 Q123" matches the values assigned to the ID attribute "UniqueName" and "Uname".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v08.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: Entity Name. The value "image" of the ENTITY attribute "sun" matches the name of an unparsed entity declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v09.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: Name Token. The value of the NMTOKEN attribute "thistoken" matches the Nmtoken production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P56-ibm56v10.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests TokenizedType for P56 VC: Name Token. The value of the NMTOKENS attribute "thistoken" matches the Nmtoken production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P57-ibm57v01.xml
Collection:IBM XML Conformance Test Suite - Production 57

Tests EnumeratedType in the AttType. The attribute "att" has a type (a|b) with the element "a". the

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P58-ibm58v01.xml
Collection:IBM XML Conformance Test Suite - Production 58

Tests NotationType for P58. It shows different patterns fro the NOTATION attribute "attr".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P58-ibm58v02.xml
Collection:IBM XML Conformance Test Suite - Production 58

Tests NotationType for P58: Notation Attributes. The value "base64" of the NOTATION attribute "attr" matches one of the notation names declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P59-ibm59v01.xml
Collection:IBM XML Conformance Test Suite - Production 59

Tests Enumeration in the EnumeratedType for P59. It shows different patterns for the Enumeration attribute "attr".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-valid-P59-ibm59v02.xml
Collection:IBM XML Conformance Test Suite - Production 59

Tests Enumeration for P59 VC: Enumeration. The value "one" of the Enumeration attribute "attr" matches one of the element names declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1 [54]
Test ID:o-p54pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

the three kinds of attribute types

Sections [Rules]:3.3.1 [55]
Test ID:o-p55pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

StringType = "CDATA"

Sections [Rules]:3.3.1 [56]
Test ID:o-p56pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

the 7 tokenized attribute types

Sections [Rules]:3.3.1 [57]
Test ID:o-p57pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

enumerated types are NMTOKEN or NOTATION lists

Sections [Rules]:3.3.1 [58]
Test ID:o-p58pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

NOTATION enumeration has on or more items

Sections [Rules]:3.3.1 [59]
Test ID:v-sgml01
Collection:Sun Microsystems XML Tests

XML permits token reuse, while SGML does not.

There is an output test associated with this input file.

Sections [Rules]:3.3.1 [59]
Test ID:o-p59pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

NMTOKEN enumerations haveon or more items

Sections [Rules]:3.3.1 4.1 [54] [66]
Test ID:valid-sa-041
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference.

There is an output test associated with this input file.

Sections [Rules]:3.3.1 4.1 [54] [66]
Test ID:valid-sa-042
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference. The test also shows that the leading zeros in the character reference are ignored.

There is an output test associated with this input file.

Sections [Rules]:3.3.1 4.1 [54] [66]
Test ID:valid-sa-056
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Attribute List declaration that uses a StringType as the AttType and also expands the CDATA attribute with a character reference. The test also shows that the leading zeros in the character reference are ignored.

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-valid-P60-ibm60v01.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests DefaultDecl for P60. It shows different options "#REQUIRED", "#FIXED", "#IMPLIED", and default for the attribute "chapter".

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-valid-P60-ibm60v02.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests DefaultDecl for P60 VC: Required Attribute. In the element "one" and "two" the value of the #REQUIRED attribute "chapter" is given.

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-valid-P60-ibm60v03.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests DefaultDecl for P60 VC: Fixed Attribute Default. The value of the #FIXED attribute "chapter" is exactly the same as the default value.

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-valid-P60-ibm60v04.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests DefaultDecl for P60 VC: Attribute Default Legal. The default value specified for the attribute "attr" meets the lexical constraints of the declared attribute type.

There is an output test associated with this input file.

Sections [Rules]:3.3.2 [60]
Test ID:required00
Collection:Sun Microsystems XML Tests

Tests the #REQUIRED attribute declaration syntax, and the associated validity constraint.

There is an output test associated with this input file.

Sections [Rules]:3.3.2 [60]
Test ID:o-p60pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

the four types of default values

Sections [Rules]:3.3.3
Test ID:valid-sa-058
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace be normalized into a single space character in an attribute of type NMTOKENS.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-095
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this requires extra whitespace to be normalized into a single space character in an attribute of type NMTOKENS.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-096
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that extra whitespace is normalized into a single space character in an attribute of type NMTOKENS.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-102
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that a CDATA attribute can pass a double quote as its value.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-103
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an attribute can pass a less than sign as its value.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-105
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this requires a CDATA attribute with a tab character to be passed through as one space.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-106
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this requires a CDATA attribute with a newline character to be passed through as one space.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-107
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this requires a CDATA attribute with a return character to be passed through as one space.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-110
Collection:James Clark XMLTEST cases, 18-Nov-1998

Basically an output test, this requires that a CDATA attribute with a CRLF be normalized to one space.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-111
Collection:James Clark XMLTEST cases, 18-Nov-1998

Character references expanding to spaces doesn't affect treatment of attributes.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-sa-115
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an entity reference is processed by recursively processing the replacement text of the entity.

There is an output test associated with this input file.

Sections [Rules]:3.3.3
Test ID:valid-ext-sa-013
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that whitespace is handled by adding a single whitespace to the normalized value in the attribute list.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-sa-045
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests whether more than one definition can be provided for the same attribute of a given element type with the first declaration being binding.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-sa-046
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that when more than one AttlistDecl is provided for a given element type, the contents of all those provided are merged.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-not-sa-006
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that when more than one definition is provided for the same attribute of a given element type only the first declaration is binding.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-not-sa-007
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of an Attribute list declaration within an external entity.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-not-sa-010
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that when more that one definition is provided for the same attribute of a given element type only the first declaration is binding.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:valid-not-sa-026
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that when more that one definition is provided for the same attribute of a given element type only the first declaration is binding.

There is an output test associated with this input file.

Sections [Rules]:3.3 [52]
Test ID:o-p52pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid AttlistDecls: No AttDef's are required, and the terminating S is optional, multiple ATTLISTS per element are OK, and multiple declarations of the same attribute are OK.

Sections [Rules]:3.3 [52][53]
Test ID:valid-sa-113
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that it is not an error to have attributes declared for an element not itself declared.

There is an output test associated with this input file.

Sections [Rules]:3.3 [53]
Test ID:o-p53pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

a valid AttDef

Sections [Rules]:3.3 3.3.1 [52] [54]
Test ID:valid-sa-040
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an Attribute List declaration that uses a StringType as the AttType.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [54]
Test ID:valid-sa-077
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use an EnumeratedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [54]
Test ID:valid-sa-078
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type. The test also shows that REQUIRED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [56]
Test ID:valid-sa-071
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use ID as the TokenizedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [56]
Test ID:valid-sa-072
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use IDREF as the TokenizedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [56]
Test ID:valid-sa-073
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use IDREFS as the TokenizedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [56]
Test ID:valid-sa-074
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use ENTITY as the TokenizedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.1 [52] [56]
Test ID:valid-sa-075
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use ENTITIES as the TokenizedType within the Attribute type. The test also shows that IMPLIED is a valid DefaultDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.2 [52] [60]
Test ID:valid-sa-079
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type. The test also shows that FIXED is a valid DefaultDecl and that a value can be given to the attribute in the Start-tag as well as the AttListDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3 3.3.2 [52] [60]
Test ID:valid-sa-080
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an AttlistDecl can use an StringType of CDATA within the Attribute type. The test also shows that FIXED is a valid DefaultDecl and that an value can be given to the attribute.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P61-ibm61v01.xml
Collection:IBM XML Conformance Test Suite - Production 61

Tests conditionalSect for P61. It takes the option "invludeSect" in the file ibm61v01.dtd.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P61-ibm61v02.xml
Collection:IBM XML Conformance Test Suite - Production 61

Tests conditionalSect for P61. It takes the option "ignoreSect" in the file ibm61v02.dtd.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P62-ibm62v01.xml
Collection:IBM XML Conformance Test Suite - Production 62

Tests includeSect for P62. The white space is not included before the key word "INCLUDE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P62-ibm62v02.xml
Collection:IBM XML Conformance Test Suite - Production 62

Tests includeSect for P62. The white space is not included after the key word "INCLUDE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P62-ibm62v03.xml
Collection:IBM XML Conformance Test Suite - Production 62

Tests includeSect for P62. The white space is included after the key word "INCLUDE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P62-ibm62v04.xml
Collection:IBM XML Conformance Test Suite - Production 62

Tests includeSect for P62. The white space is included before the key word "INCLUDE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P62-ibm62v05.xml
Collection:IBM XML Conformance Test Suite - Production 62

Tests includeSect for P62. The extSubsetDecl is not included.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P63-ibm63v01.xml
Collection:IBM XML Conformance Test Suite - Production 63

Tests ignoreSect for P63. The white space is not included before the key word "IGNORE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P63-ibm63v02.xml
Collection:IBM XML Conformance Test Suite - Production 63

Tests ignoreSect for P63. The white space is not included after the key word "IGNORE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P63-ibm63v03.xml
Collection:IBM XML Conformance Test Suite - Production 63

Tests ignoreSect for P63. The white space is included after the key word "IGNORE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P63-ibm63v04.xml
Collection:IBM XML Conformance Test Suite - Production 63

Tests ignoreSect for P63. The ignireSectContents is included.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P63-ibm63v05.xml
Collection:IBM XML Conformance Test Suite - Production 63

Tests ignoreSect for P63. The white space is included before and after the key word "IGNORE" in the beginning sequence.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P64-ibm64v01.xml
Collection:IBM XML Conformance Test Suite - Production 64

Tests ignoreSectContents for P64. One "ignore" field is included.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P64-ibm64v02.xml
Collection:IBM XML Conformance Test Suite - Production 64

Tests ignoreSectContents for P64. Two "ignore" and one "ignoreSectContents" fields are included.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P64-ibm64v03.xml
Collection:IBM XML Conformance Test Suite - Production 64

Tests ignoreSectContents for P64. Four "ignore" and three "ignoreSectContents" fields are included.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P65-ibm65v01.xml
Collection:IBM XML Conformance Test Suite - Production 65

Tests Ignore for P65. An empty string occurs in the Ignore filed.

There is an output test associated with this input file.

Sections [Rules]:3.4
Test ID:ibm-valid-P65-ibm65v02.xml
Collection:IBM XML Conformance Test Suite - Production 65

Tests Ignore for P65. An string not including the brackets occurs in each of the Ignore filed.

There is an output test associated with this input file.

Sections [Rules]:3.4 [61]
Test ID:o-p61pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid conditional sections are INCLUDE and IGNORE

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-013
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-014
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD. The keyword is a parameter-entity reference.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-016
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditional section INCLUDE that will include its contents as part of the DTD. The keyword is a parameter-entity reference.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-028
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditional section INCLUDE that will include its contents.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-029
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being used.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:valid-not-sa-030
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being used.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:o-p62pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid INCLUDE sections -- options S before and after keyword, sections can nest

Sections [Rules]:3.4 [63]
Test ID:valid-not-sa-015
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of the conditonal section IGNORE the will ignore its content from being part of the DTD. The keyword is a parameter-entity reference.

There is an output test associated with this input file.

Sections [Rules]:3.4 [63]
Test ID:o-p63pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid IGNORE sections

Sections [Rules]:3.4 [64]
Test ID:o-p64pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

IGNOREd sections ignore everything except section delimiters

Sections [Rules]:3 3.2.1 [47]
Test ID:optional
Collection:Sun Microsystems XML Tests

Tests declarations of "children" content models, and the validity constraints associated with them.

There is an output test associated with this input file.

Sections [Rules]:4
Test ID:valid-sa-085
Collection:James Clark XMLTEST cases, 18-Nov-1998

Parameter and General entities use different namespaces, so there can be an entity of each type with a given name.

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P66-ibm66v01.xml
Collection:IBM XML Conformance Test Suite - Production 66

Tests all legal CharRef's.

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P67-ibm67v01.xml
Collection:IBM XML Conformance Test Suite - Production 67

Tests Reference could be EntityRef or CharRef.

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P68-ibm68v01.xml
Collection:IBM XML Conformance Test Suite - Production 68

Tests P68 VC:Entity Declared with Entities in External Subset , standalone is no

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P68-ibm68v02.xml
Collection:IBM XML Conformance Test Suite - Production 68

Tests P68 VC:Entity Declared with Entities in External Parameter Entities , standalone is no

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P69-ibm69v01.xml
Collection:IBM XML Conformance Test Suite - Production 69

Tests P68 VC:Entity Declared with Parameter Entities in External Subset , standalone is no

There is an output test associated with this input file.

Sections [Rules]:4.1
Test ID:ibm-valid-P69-ibm69v02.xml
Collection:IBM XML Conformance Test Suite - Production 69

Tests P68 VC:Entity Declared with Parameter Entities in External Parameter Entities, standalone is no

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-060
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of decimal Character References within element content.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-061
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of decimal Character References within element content.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-062
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of hexadecimal Character References within element.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-064
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests in-line handling of two legal character references, which each expand to a Unicode surrogate pair.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-066
Collection:James Clark XMLTEST cases, 18-Nov-1998

Expands a CDATA attribute with a character reference.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-067
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of decimal character references within element content.

There is an output test associated with this input file.

Sections [Rules]:4.1 [66]
Test ID:valid-sa-089
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests entity expansion of three legal character references, which each expand to a Unicode surrogate pair.

There is an output test associated with this input file.

Sections [Rules]:4.1 [68]
Test ID:o-p68pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid entity references. Also ensures that a charref to '&' isn't interpreted as an entity reference open delimiter

Sections [Rules]:4.1 [69]
Test ID:valid-not-sa-003
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the expansion of an external parameter entity that declares an attribute.

There is an output test associated with this input file.

Sections [Rules]:4.1 [69]
Test ID:valid-not-sa-004
Collection:James Clark XMLTEST cases, 18-Nov-1998

Expands an external parameter entity in two different ways, with one of them declaring an attribute.

There is an output test associated with this input file.

Sections [Rules]:4.1 [69]
Test ID:valid-not-sa-005
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the expansion of an external parameter entity that declares an attribute.

There is an output test associated with this input file.

Sections [Rules]:4.1 [69]
Test ID:valid-not-sa-027
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a parameter entity reference whose value is NULL.

There is an output test associated with this input file.

Sections [Rules]:4.1 [69]
Test ID:o-p69pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid PEReferences.

Sections [Rules]:4.1 4.4.3 [68]
Test ID:valid-ext-sa-014
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates use of characters outside of normal ASCII range.

There is an output test associated with this input file.

Sections [Rules]:4.2
Test ID:valid-sa-086
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests whether entities may be declared more than once, with the first declaration being the binding one.

There is an output test associated with this input file.

Sections [Rules]:4.2
Test ID:valid-not-sa-025
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that when more that one definition is provided for the same entity only the first declaration is binding.

There is an output test associated with this input file.

Sections [Rules]:4.2
Test ID:ibm-valid-P70-ibm70v01.xml
Collection:IBM XML Conformance Test Suite - Production 70

Tests all legal GEDecls and PEDecls constructs derived from P70-76

There is an output test associated with this input file.

Sections [Rules]:4.2.1 4.2.2
Test ID:valid-ext-sa-012
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates both internal and external entities and that processing of entity references may be required to produce the correct replacement text.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:valid-not-sa-001
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of an ExternalID within a document type definition.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:valid-not-sa-002
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of an ExternalID within a document type definition.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:valid-not-sa-008
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an external identifier may include a public identifier.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:valid-not-sa-009
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that an external identifier may include a public identifier.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:valid-not-sa-018
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an EnternalID whose contents contain an parameter entity declaration and a attribute list definition.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [76]
Test ID:o-p76pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid NDataDecls

Sections [Rules]:4.2.2 4.3.3. 4.4.3 [75] [80]
Test ID:valid-ext-sa-008
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of external entity and how replacement text is retrieved and processed. Also tests the use of an EncodingDecl of UTF-16.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 4.4.3 [75]
Test ID:valid-ext-sa-007
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the use of external entity and how replacement text is retrieved and processed.

There is an output test associated with this input file.

Sections [Rules]:4.2 [70]
Test ID:o-p70pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

An EntityDecl is either a GEDecl or a PEDecl

Sections [Rules]:4.2 [71]
Test ID:o-p71pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid GEDecls

Sections [Rules]:4.2 [72]
Test ID:valid-sa-082
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests that an external PE may be defined (but not referenced).

There is an output test associated with this input file.

Sections [Rules]:4.2 [72]
Test ID:valid-sa-083
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests that an external PE may be defined (but not referenced).

There is an output test associated with this input file.

Sections [Rules]:4.2 [72]
Test ID:valid-not-sa-017
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a parameter entity declaration that contains an attribute list declaration.

There is an output test associated with this input file.

Sections [Rules]:4.2 [72]
Test ID:valid-not-sa-021
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a parameter entity declaration that contains a partial attribute list declaration.

There is an output test associated with this input file.

Sections [Rules]:4.2 [72]
Test ID:o-p72pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid PEDecls

Sections [Rules]:4.2 [73]
Test ID:o-p73pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

EntityDef is either Entity value or an external id, with an optional NDataDecl

Sections [Rules]:4.2 4.2.1 [72] [75]
Test ID:valid-not-sa-011
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a parameter entity declaration whose parameter entity definition is an ExternalID.

There is an output test associated with this input file.

Sections [Rules]:4.3.1 [77]
Test ID:valid-not-sa-012
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates an enternal parsed entity that begins with a text declaration.

There is an output test associated with this input file.

Sections [Rules]:4.3.1 4.3.2 [77] [78]
Test ID:ext01
Collection:Sun Microsystems XML Tests

Tests use of external parsed entities with and without content.

There is an output test associated with this input file.

Sections [Rules]:4.3.2
Test ID:ibm-valid-P78-ibm78v01.xml
Collection:IBM XML Conformance Test Suite - Production 78

Tests ExtParsedEnt, also TextDecl in P77 and EncodingDecl in P80

There is an output test associated with this input file.

Sections [Rules]:4.3.2
Test ID:ibm-valid-P79-ibm79v01.xml
Collection:IBM XML Conformance Test Suite - Production 79

Tests extPE

Sections [Rules]:4.3.2 [78]
Test ID:ext02
Collection:Sun Microsystems XML Tests

Tests use of external parsed entities with different encodings than the base document.

There is an output test associated with this input file.

Sections [Rules]:4.3.3 [4,84]
Test ID:pr-xml-little
Collection:Fuji Xerox Japanese Text Tests

Test support for little-endian UTF-16 text which relies on Japanese characters. (Also requires ability to process a moderately complex DTD.)

Sections [Rules]:4.3.3 [4,84]
Test ID:pr-xml-utf-16
Collection:Fuji Xerox Japanese Text Tests

Test support UTF-16 text which relies on Japanese characters. (Also requires ability to process a moderately complex DTD.)

Sections [Rules]:4.3.3 [4,84]
Test ID:pr-xml-utf-8
Collection:Fuji Xerox Japanese Text Tests

Test support for UTF-8 text which relies on Japanese characters. (Also requires ability to process a moderately complex DTD.)

Sections [Rules]:4.3.3 [4,84]
Test ID:weekly-little
Collection:Fuji Xerox Japanese Text Tests

Test support for little-endian UTF-16 encoding, and XML names which contain Japanese characters.

Sections [Rules]:4.3.3 [4,84]
Test ID:weekly-utf-16
Collection:Fuji Xerox Japanese Text Tests

Test support for UTF-16 encoding, and XML names which contain Japanese characters.

Sections [Rules]:4.3.3 [4,84]
Test ID:weekly-utf-8
Collection:Fuji Xerox Japanese Text Tests

Test support for UTF-8 encoding and XML names which contain Japanese characters.

Sections [Rules]:4.3.3 [80]
Test ID:valid-sa-031
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates a valid EncodingDecl within the prolog.

There is an output test associated with this input file.

Sections [Rules]:4.3.3 [81]
Test ID:valid-sa-099
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates the name of the encoding can be composed of lowercase characters.

There is an output test associated with this input file.

Sections [Rules]:4.4.2
Test ID:valid-sa-053
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests inclusion of a well-formed internal entity, which holds an element required by the content model.

There is an output test associated with this input file.

Sections [Rules]:4.4.8
Test ID:valid-sa-070
Collection:James Clark XMLTEST cases, 18-Nov-1998

Verifies that internal parameter entities are correctly expanded within the internal subset.

There is an output test associated with this input file.

Sections [Rules]:4.4.8
Test ID:valid-not-sa-019
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that a parameter entity will be expanded with spaces on either side.

There is an output test associated with this input file.

Sections [Rules]:4.4.8
Test ID:valid-not-sa-020
Collection:James Clark XMLTEST cases, 18-Nov-1998

Parameter entities expand with spaces on either side.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-065
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests ability to define an internal entity which can't legally be expanded (contains an unquoted <).

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-087
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests whether character references in internal entities are expanded early enough, by relying on correct handling to make the entity be well formed.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-088
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests whether entity references in internal entities are expanded late enough, by relying on correct handling to make the expanded text be valid. (If it's expanded too early, the entity will parse as an element that's not valid in that context.)

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-101
Collection:James Clark XMLTEST cases, 18-Nov-1998

This tests whether entity expansion is (incorrectly) done while processing entity declarations; if it is, the entity value literal will terminate prematurely.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-117
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that entity expansion is done while processing entity declarations.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:valid-sa-118
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test demonstrates that entity expansion is done while processing entity declarations.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:v-pe00
Collection:Sun Microsystems XML Tests

Tests construction of internal entity replacement text, using an example in the XML specification.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:v-pe03
Collection:Sun Microsystems XML Tests

Tests construction of internal entity replacement text, using an example in the XML specification.

There is an output test associated with this input file.

Sections [Rules]:4.5
Test ID:v-pe02
Collection:Sun Microsystems XML Tests

Tests construction of internal entity replacement text, using a complex example in the XML specification.

There is an output test associated with this input file.

Sections [Rules]:4.7
Test ID:valid-sa-069
Collection:James Clark XMLTEST cases, 18-Nov-1998

Verifies that an XML parser will parse a NOTATION declaration; the output phase of this test ensures that it's reported to the application.

There is an output test associated with this input file.

Sections [Rules]:4.7
Test ID:ibm-valid-P82-ibm82v01.xml
Collection:IBM XML Conformance Test Suite - Production 82

Tests NotationDecl in P82 and PublicID in P83

There is an output test associated with this input file.

Sections [Rules]:4.7 [82]
Test ID:notation01
Collection:Sun Microsystems XML Tests

NOTATION declarations don't need SYSTEM IDs; and externally declared notations may be used to declare unparsed entities in the internal DTD subset. The notation must be reported to the application.

There is an output test associated with this input file.

Sections [Rules]:B.
Test ID:ibm-valid-P85-ibm85v01.xml
Collection:IBM XML Conformance Test Suite - Production 85

This test case covers 149 legal character ranges plus 51 single legal characters for BaseChar in P85 using a PI target Name

Sections [Rules]:B.
Test ID:ibm-valid-P86-ibm86v01.xml
Collection:IBM XML Conformance Test Suite - Production 86

This test case covers 2 legal character ranges plus 1 single legal characters for IdeoGraphic in P86 using a PI target Name

Sections [Rules]:B.
Test ID:ibm-valid-P87-ibm87v01.xml
Collection:IBM XML Conformance Test Suite - Production 87

This test case covers 65 legal character ranges plus 30 single legal characters for CombiningChar in P87 using a PI target Name

Sections [Rules]:B.
Test ID:ibm-valid-P88-ibm88v01.xml
Collection:IBM XML Conformance Test Suite - Production 88

This test case covers 15 legal character ranges for Digit in P88 using a PI target Name

Sections [Rules]:B.
Test ID:ibm-valid-P89-ibm89v01.xml
Collection:IBM XML Conformance Test Suite - Production 89

This test case covers 3 legal character ranges plus 8 single legal characters for Extender in P89 using a PI target Name

3.2 Invalid XML Documents

All conforming XML 1.0 Validating Processors are required to report recoverable errors in the case of documents which are Invalid. Such errors are violations of some validity constraint (VC).

If a validating processor does not report an error when given one of these test cases, or if the error reported is a fatal error, it is not conformant. If the error reported does not correspond to the problem listed in this test description, that could also be a conformance problem; it might instead be a faulty diagnostic.

All conforming XML 1.0 Nonvalidating Processors should accept these documents, reporting no errors.

Sections [Rules]:2.1 [1]
Test ID:o-p01pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

no prolog

Sections [Rules]:2.1 [1]
Test ID:o-p01pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Misc items after the document

Sections [Rules]:2.3 [10]
Test ID:o-p10pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid attribute values

Sections [Rules]:2.3 [3]
Test ID:o-p03pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

all valid S characters

Sections [Rules]:2.3 [4]
Test ID:o-p04pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

names with all valid ASCII characters, and one from each other class in NameChar

Sections [Rules]:2.3 [5]
Test ID:o-p05pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

various valid Name constructions

Sections [Rules]:2.3 [6]
Test ID:o-p06fail1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Requires at least one name.

Sections [Rules]:2.3 [8]
Test ID:o-p08fail1
Collection:OASIS/NIST TESTS, 1-Nov-1998

at least one Nmtoken is required.

Sections [Rules]:2.3 [8]
Test ID:o-p08fail2
Collection:OASIS/NIST TESTS, 1-Nov-1998

an invalid Nmtoken character.

Sections [Rules]:2.4 [14]
Test ID:o-p14pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid CharData

Sections [Rules]:2.4 2.7 [18] 3
Test ID:empty
Collection:Sun Microsystems XML Tests

CDATA section containing only white space does not match the nonterminal S, and cannot appear in these positions.

Sections [Rules]:2.5 [15]
Test ID:o-p15pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid comments

Sections [Rules]:2.6 [16]
Test ID:o-p16pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid form of Processing Instruction. Shows that whitespace character data is valid before end of processing instruction.

Sections [Rules]:2.6 [16]
Test ID:o-p16pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid form of Processing Instruction. Shows that whitespace character data is valid before end of processing instruction.

Sections [Rules]:2.6 [16] [17]
Test ID:o-p16pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid form of Processing Instruction. Shows that whitespace character data is valid before end of processing instruction.

Sections [Rules]:2.7 [18]
Test ID:o-p18pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid CDSect's. Note that a CDStart in a CDSect is not recognized as such

Sections [Rules]:2.8
Test ID:invalid--005
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests the "Proper Declaration/PE Nesting" validity constraint by fragmenting an element declaration between two parameter entities.

Sections [Rules]:2.8
Test ID:invalid--006
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests the "Proper Declaration/PE Nesting" validity constraint by fragmenting an element declaration between two parameter entities.

Sections [Rules]:2.8
Test ID:root
Collection:Sun Microsystems XML Tests

Tests the Root Element Type VC

Sections [Rules]:2.8
Test ID:ibm-invalid-P28-ibm28i01.xml
Collection:IBM XML Conformance Test Suite - Production 28

The test violates VC:Root Element Type in P28. The Name in the document type declaration does not match the element type of the root element.

There is an output test associated with this input file.

Sections [Rules]:2.8 [22]
Test ID:o-p22pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

prolog can be empty

Sections [Rules]:2.8 [22]
Test ID:o-p22pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

XML declaration only

Sections [Rules]:2.8 [22]
Test ID:o-p22pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

XML decl and Misc

Sections [Rules]:2.8 [23]
Test ID:o-p23pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a valid XML declaration along with version info.

Sections [Rules]:2.8 [23]
Test ID:o-p23pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a valid XML declaration along with encoding declaration.

Sections [Rules]:2.8 [23]
Test ID:o-p23pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a valid XML declaration along with Standalone Document Declaration.

Sections [Rules]:2.8 [23]
Test ID:o-p23pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a valid XML declaration, encoding declarationand Standalone Document Declaration.

Sections [Rules]:2.8 [24]
Test ID:o-p24pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a prolog that has the VersionInfo delimited by double quotes.

Sections [Rules]:2.8 [24]
Test ID:o-p24pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows a prolog that has the VersionInfo delimited by single quotes.

Sections [Rules]:2.8 [24]
Test ID:o-p24pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows whitespace is allowed in prolog before version info.

Sections [Rules]:2.8 [24]
Test ID:o-p24pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows whitespace is allowed in prolog on both sides of equal sign.

Sections [Rules]:2.8 [25]
Test ID:o-p25pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows whitespace is NOT necessary before or after equal sign of versioninfo.

Sections [Rules]:2.8 [25]
Test ID:o-p25pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows whitespace can be used on both sides of equal sign of versioninfo.

Sections [Rules]:2.8 [26]
Test ID:o-p26pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

The valid version number. We cannot test others because a 1.0 processor is allowed to fail them.

Sections [Rules]:2.8 [27]
Test ID:o-p27pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Comments are valid as the Misc part of the prolog.

Sections [Rules]:2.8 [27]
Test ID:o-p27pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Processing Instructions are valid as the Misc part of the prolog.

Sections [Rules]:2.8 [27]
Test ID:o-p27pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid as the Misc part of the prolog.

Sections [Rules]:2.8 [27]
Test ID:o-p27pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

A combination of comments, whitespaces and processing instructions are valid as the Misc part of the prolog.

Sections [Rules]:2.9
Test ID:inv-not-sa01
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that optional whitespace causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa02
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that attributes needing normalization cause a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa04
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that attributes needing defaulting cause a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa05
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that a token attribute that needs normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa06
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that a NOTATION attribute that needs normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa07
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an NMTOKEN attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa08
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an NMTOKENS attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa09
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an ID attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa10
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an IDREF attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa11
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an IDREFS attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa12
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an ENTITY attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:inv-not-sa13
Collection:Sun Microsystems XML Tests

Tests the Standalone Document Declaration VC, ensuring that an ENTITIES attribute needing normalization causes a validity error.

Sections [Rules]:2.9
Test ID:ibm-invalid-P32-ibm32i01.xml
Collection:IBM XML Conformance Test Suite - Production 32

This test violates VC: Standalone Document Declaration in P32. The standalone document declaration has the value yes, BUT there is an external markup declaration of attributes with default values, and the associated element appears in the document with specified values for those attributes.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-invalid-P32-ibm32i03.xml
Collection:IBM XML Conformance Test Suite - Production 32

This test violates VC: Standalone Document Declaration in P32. The standalone document declaration has the value yes, BUT there is an external markup declaration of attributes with values that will change if normalized.

There is an output test associated with this input file.

Sections [Rules]:2.9
Test ID:ibm-invalid-P32-ibm32i04.xml
Collection:IBM XML Conformance Test Suite - Production 32

This test violates VC: Standalone Document Declaration in P32. The standalone document declaration has the value yes, BUT there is an external markup declaration of element with element content, and white space occurs directly within the mixed content.

There is an output test associated with this input file.

Sections [Rules]:2.9 [32]
Test ID:o-p32pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Double quotes can be used as delimeters for the value of a Standalone Document Declaration.

Sections [Rules]:2.9 [32]
Test ID:o-p32pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Single quotes can be used as delimeters for the value of a Standalone Document Declaration.

Sections [Rules]:3
Test ID:inv-dtd03
Collection:Sun Microsystems XML Tests

Tests the "Element Valid" VC (clause 2) by omitting a required element.

Sections [Rules]:3
Test ID:el01
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 4) by including an undeclared child element.

Sections [Rules]:3
Test ID:el02
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 1) by including elements in an EMPTY content model.

Sections [Rules]:3
Test ID:el03
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 3) by including a child element not permitted by a mixed content model.

Sections [Rules]:3
Test ID:el06
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 1), using one of the predefined internal entities inside an EMPTY content model.

Sections [Rules]:3
Test ID:inv-not-sa14
Collection:Sun Microsystems XML Tests

CDATA sections containing only whitespace do not match the nonterminal S, and cannot appear in these positions.

Sections [Rules]:3
Test ID:optional01
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one is required.

Sections [Rules]:3
Test ID:optional02
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing two children where one is required.

Sections [Rules]:3
Test ID:optional03
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where two are required.

Sections [Rules]:3
Test ID:optional04
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where two are required.

Sections [Rules]:3
Test ID:optional05
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or two are required (one construction of that model).

Sections [Rules]:3
Test ID:optional06
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or two are required (a second construction of that model).

Sections [Rules]:3
Test ID:optional07
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or two are required (a third construction of that model).

Sections [Rules]:3
Test ID:optional08
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or two are required (a fourth construction of that model).

Sections [Rules]:3
Test ID:optional09
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or two are required (a fifth construction of that model).

Sections [Rules]:3
Test ID:optional10
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a basic construction of that model).

Sections [Rules]:3
Test ID:optional11
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a second construction of that model).

Sections [Rules]:3
Test ID:optional12
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a third construction of that model).

Sections [Rules]:3
Test ID:optional13
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a fourth construction of that model).

Sections [Rules]:3
Test ID:optional14
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing three children where one or two are required (a fifth construction of that model).

Sections [Rules]:3
Test ID:optional20
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or more are required (a sixth construction of that model).

Sections [Rules]:3
Test ID:optional21
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or more are required (a seventh construction of that model).

Sections [Rules]:3
Test ID:optional22
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or more are required (an eigth construction of that model).

Sections [Rules]:3
Test ID:optional23
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or more are required (a ninth construction of that model).

Sections [Rules]:3
Test ID:optional24
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing no children where one or more are required (a tenth construction of that model).

Sections [Rules]:3
Test ID:optional25
Collection:Sun Microsystems XML Tests

Tests the Element Valid VC (clause 2) for one instance of "children" content model, providing text content where one or more elements are required.

Sections [Rules]:3
Test ID:ibm-invalid-P39-ibm39i01.xml
Collection:IBM XML Conformance Test Suite - Production 39

This test violates VC: Element Valid in P39. Element a is declared empty in DTD, but has content in the document.

There is an output test associated with this input file.

Sections [Rules]:3
Test ID:ibm-invalid-P39-ibm39i02.xml
Collection:IBM XML Conformance Test Suite - Production 39

This test violates VC: Element Valid in P39. root is declared only having element children in DTD, but have text content in the document.

There is an output test associated with this input file.

Sections [Rules]:3
Test ID:ibm-invalid-P39-ibm39i03.xml
Collection:IBM XML Conformance Test Suite - Production 39

This test violates VC: Element Valid in P39. Illegal elements are inserted in b's content of Mixed type.

There is an output test associated with this input file.

Sections [Rules]:3
Test ID:ibm-invalid-P39-ibm39i04.xml
Collection:IBM XML Conformance Test Suite - Production 39

This test violates VC: Element Valid in P39. Element c has undeclared element as its content of ANY type

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-invalid-P41-ibm41i01.xml
Collection:IBM XML Conformance Test Suite - Production 41

This test violates VC: Attribute Value Type in P41. attr1 for Element b is not declared.

There is an output test associated with this input file.

Sections [Rules]:3.1
Test ID:ibm-invalid-P41-ibm41i02.xml
Collection:IBM XML Conformance Test Suite - Production 41

This test violates VC: Attribute Value Type in P41. attr3 for Element b is given a value that does not match the declaration in the DTD.

There is an output test associated with this input file.

Sections [Rules]:3.1 [40]
Test ID:o-p40pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Elements content can be empty.

Sections [Rules]:3.1 [40]
Test ID:o-p40pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid within a Start-tag.

Sections [Rules]:3.1 [40]
Test ID:o-p40pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace and Multiple Attributes are valid within a Start-tag.

Sections [Rules]:3.1 [40] [41]
Test ID:o-p40pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Attributes are valid within a Start-tag.

Sections [Rules]:3.1 [41]
Test ID:o-p41pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Attributes are valid within a Start-tag.

Sections [Rules]:3.1 [41]
Test ID:o-p41pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid within a Start-tags Attribute.

Sections [Rules]:3.1 [42]
Test ID:o-p42pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Test shows proper syntax for an End-tag.

Sections [Rules]:3.1 [42]
Test ID:o-p42pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid after name in End-tag.

Sections [Rules]:3.1 [44]
Test ID:o-p44pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Valid display of an Empty Element Tag.

Sections [Rules]:3.1 [44]
Test ID:o-p44pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Empty Element Tags can contain an Attribute.

Sections [Rules]:3.1 [44]
Test ID:o-p44pass3
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid in an Empty Element Tag following the end of the attribute value.

Sections [Rules]:3.1 [44]
Test ID:o-p44pass4
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace is valid after the name in an Empty Element Tag.

Sections [Rules]:3.1 [44]
Test ID:o-p44pass5
Collection:OASIS/NIST TESTS, 1-Nov-1998

Whitespace and Multiple Attributes are valid in an Empty Element Tag.

Sections [Rules]:3.1 2.10
Test ID:inv-required01
Collection:Sun Microsystems XML Tests

Tests the Attribute Value Type (declared) VC for the xml:space attribute

Sections [Rules]:3.1 2.12
Test ID:inv-required02
Collection:Sun Microsystems XML Tests

Tests the Attribute Value Type (declared) VC for the xml:lang attribute

Sections [Rules]:3.2
Test ID:el04
Collection:Sun Microsystems XML Tests

Tests the Unique Element Type Declaration VC.

Sections [Rules]:3.2
Test ID:ibm-invalid-P45-ibm45i01.xml
Collection:IBM XML Conformance Test Suite - Production 45

This test violates VC: Unique Element Type Declaration. Element not_unique has been declared 3 time in the DTD.

There is an output test associated with this input file.

Sections [Rules]:3.2.1
Test ID:invalid--002
Collection:James Clark XMLTEST cases, 18-Nov-1998

Tests the "Proper Group/PE Nesting" validity constraint by fragmenting a content model between two parameter entities.

Sections [Rules]:3.2.1
Test ID:ibm-invalid-P49-ibm49i01.xml
Collection:IBM XML Conformance Test Suite - Production 49

Violates VC:Proper Group/PE Nesting in P49. Open and close parenthesis for a choice content model are in different PE replace Texts.

There is an output test associated with this input file.

Sections [Rules]:3.2.1
Test ID:ibm-invalid-P50-ibm50i01.xml
Collection:IBM XML Conformance Test Suite - Production 50

Violates VC:Proper Group/PE Nesting in P50. Open and close parenthesis for a seq content model are in different PE replace Texts.

There is an output test associated with this input file.

Sections [Rules]:3.2.2
Test ID:inv-dtd01
Collection:Sun Microsystems XML Tests

Tests the No Duplicate Types VC

Sections [Rules]:3.2.2
Test ID:el05
Collection:Sun Microsystems XML Tests

Tests the No Duplicate Types VC.

Sections [Rules]:3.2.2
Test ID:ibm-invalid-P51-ibm51i01.xml
Collection:IBM XML Conformance Test Suite - Production 51

Violates VC:Proper Group/PE Nesting in P51. Open and close parenthesis for a Mixed content model are in different PE replace Texts.

There is an output test associated with this input file.

Sections [Rules]:3.2.2
Test ID:ibm-invalid-P51-ibm51i03.xml
Collection:IBM XML Conformance Test Suite - Production 51

Violates VC:No Duplicate Types in P51. Element a appears twice in the Mixed content model of Element e.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:id01
Collection:Sun Microsystems XML Tests

Tests the ID (is a Name) VC

Sections [Rules]:3.3.1
Test ID:id02
Collection:Sun Microsystems XML Tests

Tests the ID (appears once) VC

Sections [Rules]:3.3.1
Test ID:id03
Collection:Sun Microsystems XML Tests

Tests the One ID per Element Type VC

Sections [Rules]:3.3.1
Test ID:id04
Collection:Sun Microsystems XML Tests

Tests the ID Attribute Default VC

Sections [Rules]:3.3.1
Test ID:id05
Collection:Sun Microsystems XML Tests

Tests the ID Attribute Default VC

Sections [Rules]:3.3.1
Test ID:id06
Collection:Sun Microsystems XML Tests

Tests the IDREF (is a Name) VC

Sections [Rules]:3.3.1
Test ID:id07
Collection:Sun Microsystems XML Tests

Tests the IDREFS (is a Names) VC

Sections [Rules]:3.3.1
Test ID:id08
Collection:Sun Microsystems XML Tests

Tests the IDREF (matches an ID) VC

Sections [Rules]:3.3.1
Test ID:id09
Collection:Sun Microsystems XML Tests

Tests the IDREF (IDREFS matches an ID) VC

Sections [Rules]:3.3.1
Test ID:attr01
Collection:Sun Microsystems XML Tests

Tests the "Entity Name" VC for the ENTITY attribute type.

Sections [Rules]:3.3.1
Test ID:attr02
Collection:Sun Microsystems XML Tests

Tests the "Entity Name" VC for the ENTITIES attribute type.

Sections [Rules]:3.3.1
Test ID:attr03
Collection:Sun Microsystems XML Tests

Tests the "Notation Attributes" VC for the NOTATION attribute type, first clause: value must be one of the ones that's declared.

Sections [Rules]:3.3.1
Test ID:attr04
Collection:Sun Microsystems XML Tests

Tests the "Notation Attributes" VC for the NOTATION attribute type, second clause: the names in the declaration must all be declared.

Sections [Rules]:3.3.1
Test ID:attr05
Collection:Sun Microsystems XML Tests

Tests the "Name Token" VC for the NMTOKEN attribute type.

Sections [Rules]:3.3.1
Test ID:attr06
Collection:Sun Microsystems XML Tests

Tests the "Name Token" VC for the NMTOKENS attribute type.

Sections [Rules]:3.3.1
Test ID:attr07
Collection:Sun Microsystems XML Tests

Tests the "Enumeration" VC by providing a value which wasn't one of the choices.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i01.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ID. The value of the ID attribute "UniqueName" is "@999" which does not meet the Name production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i02.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ID. The two ID attributes "attr" and "UniqueName" have the same value "Ac999" for the element "b" and the element "tokenizer".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i03.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ID Attribute Default. The "#FIXED" occurs in the DefaultDecl for the ID attribute "UniqueName".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i05.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ID Attribute Default. The constant string "BOGUS" occurs in the DefaultDecl for the ID attribute "UniqueName".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i06.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: One ID per Element Type. The element "a" has two ID attributes "first" and "second".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i07.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: IDREF. The value of the IDREF attribute "reference" is "@456" which does not meet the Name production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i08.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: IDREF. The value of the IDREF attribute "reference" is "BC456" which does not match the value assigned to any ID attributes.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i09.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: IDREFS. The value of the IDREFS attribute "reference" is "AC456 #567" which does not meet the Names production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i10.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: IDREFS. The value of the IDREFS attribute "reference" is "EF456 DE355" which does not match the values assigned to two ID attributes.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i11.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Entity Name. The value of the ENTITY attribute "sun" is "ima ge" which does not meet the Name production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i12.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Entity Name. The value of the ENTITY attribute "sun" is "notimage" which does not match the name of any unparsed entity declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i13.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Entity Name. The value of the ENTITY attribute "sun" is "parsedentity" which matches the name of a parsed entity instead of an unparsed entity declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i14.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Entity Name. The value of the ENTITIES attribute "sun" is "#image1 @image" which does not meet the Names production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i15.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ENTITIES. The value of the ENTITIES attribute "sun" is "image3 image4" which does not match the names of two unparsed entities declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i16.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: ENTITIES. The value of the ENTITIES attribute "sun" is "parsedentity1 parsedentity2" which matches the names of two parsed entities instead of two unparsed entities declared.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i17.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Name Token. The value of the NMTOKEN attribute "thistoken" is "x : image" which does not meet the Nmtoken production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P56-ibm56i18.xml
Collection:IBM XML Conformance Test Suite - Production 56

Tests invalid TokenizedType which is against P56 VC: Name Token. The value of the NMTOKENS attribute "thistoken" is "@lang y: #country" which does not meet the Nmtokens production.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P58-ibm58i01.xml
Collection:IBM XML Conformance Test Suite - Production 58

Tests invalid NotationType which is against P58 VC: Notation Attributes. The attribute "content-encoding" with value "raw" is not a value from the list "(base64|uuencode)".

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P58-ibm58i02.xml
Collection:IBM XML Conformance Test Suite - Production 58

Tests invalid NotationType which is against P58 VC: Notation Attributes. The attribute "content-encoding" with value "raw" is a value from the list "(base64|uuencode|raw|ascii)", but "raw" is not a declared notation.

There is an output test associated with this input file.

Sections [Rules]:3.3.1
Test ID:ibm-invalid-P59-ibm59i01.xml
Collection:IBM XML Conformance Test Suite - Production 59

Tests invalid Enumeration which is against P59 VC: Enumeration. The value of the attribute is "ONE" which matches neither "one" nor "two" as declared in the Enumeration in the AttDef in the AttlistDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3.1 [58] [59] Errata [E2]
Test ID:o-e2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Validity Constraint: No duplicate tokens

Sections [Rules]:3.3.2
Test ID:inv-required00
Collection:Sun Microsystems XML Tests

Tests the Required Attribute VC.

Sections [Rules]:3.3.2
Test ID:attr08
Collection:Sun Microsystems XML Tests

Tests the "Fixed Attribute Default" VC by providing the wrong value.

Sections [Rules]:3.3.2
Test ID:attr09
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal IDREF value.

Sections [Rules]:3.3.2
Test ID:attr10
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal IDREFS value.

Sections [Rules]:3.3.2
Test ID:attr11
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal ENTITY value.

Sections [Rules]:3.3.2
Test ID:attr12
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal ENTITIES value.

Sections [Rules]:3.3.2
Test ID:attr13
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal NMTOKEN value.

Sections [Rules]:3.3.2
Test ID:attr14
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal NMTOKENS value.

Sections [Rules]:3.3.2
Test ID:attr15
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal NOTATIONS value.

Sections [Rules]:3.3.2
Test ID:attr16
Collection:Sun Microsystems XML Tests

Tests the "Attribute Default Legal" VC by providing an illegal enumeration value.

Sections [Rules]:3.3.2
Test ID:ibm-invalid-P60-ibm60i01.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests invalid DefaultDecl which is against P60 VC: Required Attribute. The attribute "chapter" for the element "two" is declared as #REQUIRED in the DefaultDecl in the AttlistDecl, but the value of this attribute is not given.

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-invalid-P60-ibm60i02.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests invalid DefaultDecl which is against P60 VC: Fixed Attribute Default.. The attribute "chapter" for the element "one" is declared as #FIXED with the given value "Introduction" in the DefaultDecl in the AttlistDecl, but the value of a instance of this attribute is assigned to "JavaBeans".

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-invalid-P60-ibm60i03.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests invalid DefaultDecl which is against P60 VC: Attribute Default Legal. The declared default value "c" is not legal for the type (a|b) in the AttDef in the AttlistDecl.

There is an output test associated with this input file.

Sections [Rules]:3.3.2
Test ID:ibm-invalid-P60-ibm60i04.xml
Collection:IBM XML Conformance Test Suite - Production 60

Tests invalid DefaultDecl which is against P60 VC: Attribute Default Legal. The declared default value "@#$" is not legal for the type NMTOKEN the AttDef in the AttlistDecl.

There is an output test associated with this input file.

Sections [Rules]:3.4 [62]
Test ID:invalid-not-sa-022
Collection:James Clark XMLTEST cases, 18-Nov-1998

Test the "Proper Conditional Section/ PE Nesting" validity constraint.

There is an output test associated with this input file.

Sections [Rules]:3 3.1 [39] [43]
Test ID:o-p39pass2
Collection:OASIS/NIST TESTS, 1-Nov-1998

Character data is valid element content.

Sections [Rules]:3 3.1 [39] [44]
Test ID:o-p39pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

Empty element tag may be used for any element which has no content.

Sections [Rules]:4.1 [66]
Test ID:o-p66pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid character references

Sections [Rules]:4.2.2
Test ID:inv-dtd02
Collection:Sun Microsystems XML Tests

Tests the "Notation Declared" VC by using an undeclared notation name.

Sections [Rules]:4.2.2
Test ID:ibm-invalid-P76-ibm76i01.xml
Collection:IBM XML Conformance Test Suite - Production 76

Tests invalid NDataDecl which is against P76 VC: Notation declared. The Name "JPGformat" in the NDataDecl in the EntityDecl for "ge2" does not match the Name of any declared notation.

There is an output test associated with this input file.

Sections [Rules]:4.2.2 [75]
Test ID:o-p75pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

valid external identifiers

Sections [Rules]:4.2 [74]
Test ID:o-p74pass1
Collection:OASIS/NIST TESTS, 1-Nov-1998

PEDef is either an entity value or an external id

Sections [Rules]:4.3.3 2.8
Test ID:utf16b
Collection:Sun Microsystems XML Tests

Tests reading an invalid "big endian" UTF-16 document

Sections [Rules]:4.3.3 2.8
Test ID:utf16l
Collection:Sun Microsystems XML Tests

Tests reading an invalid "little endian" UTF-16 document

3.3 Documents that are Not Well Formed

All conforming XML 1.0 Processors are required to report fatal errors in the case of documents which are not Well Formed. Such errors are basically of two types: (a) the document violates the XML grammar; or else (b) it violates a well formedness constraint (WFC). There is a single exception to that requirement: nonvalidating processors which do not read certain types of external entities are not required to detect (and hence report) these errors.

If a processor does not report a fatal error when given one of these test cases, it is not conformant. If the error reported does not correspond to the problem listed in this test description, that could also be a conformance problem; it might instead be a faulty diagnostic.

Sections [Rules]:2.1
Test ID:ibm-not-wf-P01-ibm01n01.xml
Collection:IBM XML Conformance Test Suite - Production 1

Tests a document with no element. A well-formed document should have at lease one elements.

Sections [Rules]:2.1
Test ID:ibm-not-wf-P01-ibm01n02.xml
Collection:IBM XML Conformance Test Suite - Production 1

Tests a document with wrong ordering of its prolog and element. The element occurs before the xml declaration and the DTD.

Sections [Rules]:2.1
Test ID:ibm-not-wf-P01-ibm01n03.xml
Collection:IBM XML Conformance Test Suite - Production 1

Tests a document with wrong combination of misc and element. One PI occurs between two elements.

Sections [Rules]:2.1 [1]
Test ID:not-wf-sa-050
Collection:James Clark XMLTEST cases, 18-Nov-1998

Empty document, with no root element.

Sections [Rules]:2.1 [1]
Test ID:o-p01fail1
Collection:OASIS/NIST TESTS, 1-Nov-1998

S cannot occur before the prolog

Sections [Rules]:2.1 [1]
Test ID:o-p01fail2
Collection:OASIS/NIST TESTS, 1-Nov-1998

comments cannot occur before the prolog

Sections [Rules]:2.1 [1]
Test ID:o-p01fail3
Collection:OASIS/NIST TESTS, 1-Nov-1998

only one document element

Sections [Rules]:2.1 [1]
Test ID:o-p01fail4
Collection:OASIS/NIST TESTS, 1-Nov-1998

document element must be complete.

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n01.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x00

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n02.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x01

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n03.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x02

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n04.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x03

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n05.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x04

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n06.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x05

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n07.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x06

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n08.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x07

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n09.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x08

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n10.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x0B

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n11.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x0C

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n12.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x0E

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n13.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x0F

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n14.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x10

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n15.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x11

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n16.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x12

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n17.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x13

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n18.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x14

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n19.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x15

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n20.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x16

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n21.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x17

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n22.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x18

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n23.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x19

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n24.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1A

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n25.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1B

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n26.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1C

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n27.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1D

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n28.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1E

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n29.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #x1F

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n30.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #xD800

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n31.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #xDFFF

Sections [Rules]:2.2
Test ID:ibm-not-wf-P02-ibm02n32.xml
Collection:IBM XML Conformance Test Suite - Production 2

Tests a comment which contains an illegal Char: #xFFFE