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

Re: Nested schemas

  • From: "Rick Jelliffe" <ricko@a...>
  • To: "Bryan Cooper" <bryan.cooper@v...>, <xml-dev@i...>
  • Date: Fri, 27 Nov 1998 15:05:16 +1100

nested schema

From: Bryan Cooper <bryan.cooper@v...>

>How do we ensure the parser is told to switch between 2 or more
>different information parsers which use some common words in different
>ways?  I think there's a need to resolve this issue - course I may have
>missed the easy way to do that.

This is what the "Namespaces" proposal is about: a way to combine fragments of documents which may use the same words. The approach
is basically to say that every name (i.e. element type name or attribute name) actualyl has two parts: first the name as used in the
originating document, second the name of the namespace to which it belongs.

See www.w3.org/TR in the drafts section for details. The new draft is fairly clear I think. (Except for the Appendix...what a messy
idea!)

>It would be interesting to see how XML could be used instead to
>inter-operate between the parser and the application where there were
>staged parsing based upon information within the information.
>This extension would need to be supported in the DTD so people
>could easily tell the XML parser when and where to breakdown the
>information.

XML does support a kind of  staged parsing, through the NOTATION mechanism. When you give an element a NOTATION attribute, you are
informing some later stage to interpret the contents of the element using the correct processor for that notation. This is how to
embed non-XML notations. (Note: this is not switching between notations: it is the foreign notation in XML, not stopping XML rules
and switching to the different rules.)

> I'd like to see EVENTS discussed in relation
>to nested schemas for example to help the parser switch schemas.

There already is another thing which is not elements or attributes, and I think it corresponds to what you are calling EVENTs: the
processing instruction allows any kind of non-structural (that is element structure) information to  be instered at points during in
the document. The XML header is one such processing instruction.

Rick Jelliffe



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.