[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Regarding XSchema : Section 4.3.1

  • From: "Amit Rekhi" <amitr@a...>
  • To: "XML Dev" <xml-dev@i...>
  • Date: Thu, 15 Oct 1998 09:33:35 +0530

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.