Re: XSchema: Section 4

John Cowan (cowan@locke.ccil.org)
Wed, 23 Sep 1998 13:11:45 -0400


Ron Bourret wrote:

> QUESTION: What happens to the following:
>
> * Processing instructions

Discard. PIs in the DTD (that is, in the external subset or
in external parameter entities) belong to the document,
not the schema. They shouldn't be read by the XSchema processor
as part of the schema.

> * Text encoding declarations

Interpret and regenerate. There is no requirement that the output
of a converter have the same text encoding as the input.

> The following XSchema structures may be converted to the corresponding DTD
> structures or discarded:
>
> * Doc elements. These may be converted to comments. The position of resulting
> comments in the DTD is the choice of the converter.

It should be said generally that comment declarations may be
freely generated by converters in either direction ad libitum.
They may copy them, discard them, or invent them. (In particular,
a converter may copy over the whole of its input as a comment,
or as many comments, for documentation's sake.)

-- 
John Cowan	http://www.ccil.org/~cowan		cowan@ccil.org
	You tollerday donsk?  N.  You tolkatiff scowegian?  Nn.
	You spigotty anglease?  Nnn.  You phonio saxo?  Nnnn.
		Clear all so!  'Tis a Jute.... (Finnegans Wake 16.5)