Re: XML FAQ: some questions

Mike S-McQ writes:
> On Tue, 18 Feb 1997 10:09:27 -0500 Peter Flynn said:
> >1. What *may*, and what *must* precede the root element in a
> >   well-formed XML document? The spec isn't very clear
> >   on which PIs are compulsory and which are optional.
> I read productions 27-31 as meaning:
>   - the root element must be preceded by a prolog
>   - the prolog must begin with an XML declaration
>     i.e. <?XML version='1.0' ... ?>
>   - the prolog may contain PIs, comments, one document type
>     declaration, and white space, following the XML declaration
> Which part of this isn't clear from the spec?

Sorry, I was less than precise in rewording what I was sent. It
related to what NAMEs are {required|allowed} in an XML PI in the
Prolog? VERSION and RMD seem to be required, ENCODING is obviously
dependent, EMPTY I believe has been taken away (so one correspondent
said, anyway), are TEXT, NOTEXT, DEFAULT, and IDINFO still in?

> >      Then P is referred to as the parent of C, and C as the child of P.

> The paragraph quoted is referring to the elements (instances), not
> to their types; to actual containment, not potential containment.
> A PARA contained directly within a NOTE has exactly one parent element:
> the NOTE.  The fact that other PARA elements have or can have
> parents with GIs other than NOTE does nothing to change the
> nature of the parent-child relationship.

Aaaaaah. Sound of light dawning. Perhaps something about ocurring in
the instance could be introduced to make this clear. Many thanks.