OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Regarding XSchema : Section 4.3.1

[ Lists Home | Date Index | Thread Index ]
  • From: "Amit Rekhi" <amitr@abinfosys.com>
  • To: "XML Dev" <xml-dev@ic.ac.uk>
  • Date: Thu, 15 Oct 1998 09:33:35 +0530

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS