CDATA, ID, IDREF, IDREFS, ENTITY, ENTITIES, NMTOKEN, or NMTOKENS. See Production [52], [53] in XML 1.0 2nd Edition.
<!ELEMENT x (a,b) *> is not valid. See Production [47], [48] in XML 1.0 2nd Edition.
<!ELEMENT x (#PCDATA)?> is not valid. See Production [51] in XML 1.0 2nd Edition.
<!ELEMENT x (#PCDATA | (a,b))> is not valid. See Production [51] in XML 1.0 2nd Edition.
<!ELEMENT x (#PCDATA | a | a)> is not valid. See Production [51] in XML 1.0 2nd Edition.
<?xml version="1.0"?> <!DOCTYPE greeting [ <!ELEMENT greeting (#PCDATA)> ]> <salutation>Hello!</salutation>
The document’s root element, <salutation>, does not match the root element declared in the DTD, i.e., <greeting>.
#REQUIRED, then the attribute must be specified for all elements of the type in the attribute-list declaration.
ID must match the Name production. A name must not appear more than once in an XML document as a value of this type; that is, ID values must uniquely identify the elements which bear them.
ID value.
#FIXED keyword, then instances of this attribute must match the default value.
REQUIRED, IMPLIED, or FIXED for attribute default declaration.
CDATA section containing only white space does not match the nonterminal S and hence cannot appear in these positions.
1. The declaration matches children and the sequence of child elements belongs to the language generated by the regular expression in the content model, with optional white space (characters matching the nonterminal S) between the start-tag and the first child element, between child elements, or between the last child element and the end-tag. Note that a CDATA section containing only white space does not match the nonterminal S, and hence cannot appear in these positions.
2. The declaration matches Mixed and the content consists of character data and child elements whose types match names in the content model.
1. The declaration matches children and the sequence of child elements belongs to the language generated by the regular expression in the content model, with optional white space (characters matching the nonterminal S) between the start-tag and the first child element, between child elements, or between the last child element and the end-tag. Note that a CDATA section containing only white space does not match the nonterminal S, and hence cannot appear in these positions.
2. The declaration matches Mixed and the content consists of character data and child elements whose types match names in the content model.
ENTITY or ENTITIES.
CDATA, ID, IDREF, IDREFS, ENTITY, ENTITIES, NMTOKEN, or NMTOKENS. See Production [52], [53] in XML 1.0 2nd Edition.
ENTITY must match the Name production, values of type ENTITIES must match Names; each Name must match the name of an unparsed entity declared in the DTD.
NDATA declaration was found in parameter entity declaration. It is allowed only in general unparsed entity declaration. See Production [72], [74] in XML 1.0 2nd Edition.
createDocument function of NodeFactory was invalid, either it was null or instance of an unsupported class.
NodeFactory implementation to return an instance of XMLDocument or its subclass.
InputSource was returned by the EntityResolver. An InputSource can be invalid if the none of Reader, InputStream, and SystemId were initialized or if the SystemId was invalid.
EntityResolver class to return a valid instance of InputSource
xsi:type was not derived from the original type.
complexType, simpleType, key, keyref unique children or nillable, form, default, block, or type.
attributeGroup was present in redefine without self-reference but was not a valid restriction of its original.