command parses a document containing an XML structure and returns a reference for this document.

That is, the validation feature overrides the expand entity references feature.

The five predefined references— The following two methods determine whether the parsers produced by this factory will generate comment nodes for comments seen in the input document.

The Error system variable indicates the error number.

You can intercept this error using a method installed by the ON ERR CALL command.

In the document parameter, you can pass: If you pass True in validation and omit the third parameter, the command attempts to validate the XML structure via a DTD or XSD reference found in the structure itself.

Validation can be indirect: if the structure contains a reference to a DTD file that itself contains a reference to an XSD file, the command attempts to carry out both validations.

That determines whether the entity nodes that are placed in the tree have children representing their replacement text or not. JAXP 1.2 will add a couple of standard attributes related to schema validation.

JAXP allows you to set and get these custom features as objects of the appropriate type using these two methods: The naming conventions for both attribute names and values depends on the underlying parser. JAXP only works for Java, and it is a Sun proprietary standard.

The default, false, means that comment nodes will be produced. False means include comments, and true means don’t include comments.

This confused me initially, and I was getting my poison pen all ready to write about the brain damage of throwing away comments although the spec required them to be included, when I realized that the method was in fact behaving like it should.) The following two methods determine whether the parsers produced by this factory will generate text nodes for so-called “ignorable white space”; that is, white space that occurs between tags where the DTD specifies that parsed character data cannot appear.

The command returns a 16-character string (Element Ref) making up the reference in the memory of the document virtual structure.