Regarding XSchema : Section 4.3.1

Amit Rekhi amitr at abinfosys.com
Thu Oct 15 05:58:03 BST 1998


John,
            Just wanted to confirm whether I got your point  properly.

>no *point* in recording general parsed entities in the XSchema, since
>by the time the XSchema is processed, basic XML processing has to have
>already been done, including expanding entities.

* The basic XML processing here would refer to the processing of the XML
file which conforms to the XSchema.Am I right?

* By defining general parameter entities in XSchema , we would be
non-conforming to XML 1.0 , since we would want to have general entity
refrences in the XSchema instance and those general entity ref's in the
instance would never get expanded as
   * they were'nt defined in the instance DTD (unless ofcourse you do define
them)
   * the instance does not recognise the general entity declarations in the
it's validating XSchema file, as that file is itself also an XML!

Therefore, entity refrences in the instance remain as is and so the non -
well formedness!
Right?

* The only reason why parameter entities(of the source DTD) may be allowed
in the XSchema DTD (of the target XSchema) is since parameter entities have
only DTD scope and converting them to general entity decls. in the XSchema
DTD would let their scope remain only in the entire XSchema file, which is
just what we want.
Correct?




AMIT



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list