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

RE: Re: Syntax + object model

  • To: "Dare Obasanjo" <dareo@m...>,"Murali Mani" <mani@C...>
  • Subject: RE: Re: Syntax + object model
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Sat, 24 May 2003 11:55:24 -0700
  • Cc: <xml-dev@l...>
  • Thread-index: AcMiIeFzocbiuNSaRPOhaAoGkmgD0gAANNk0AACkUDk=
  • Thread-topic: Re: Syntax + object model

mailto syntax
To further clarify this point, an XML Schema processor accepts one or more XML infosets as input (and an XML Infoset looks a lot like an instance of the XPath data model) from which it generates schema components which could be represented in an XML serialized form (as shown by XSV's PSVI output). 
 
All you are arguing is that your application would rather expose  a data model that more closely represents XML Schema components than an XML representation of XML Schema components. I don't see anything wrong with this which was the entire point of my analogy with the relational data model and customer database.  What percentage of applications actually expose the same data [or object[ model as is used by the back end relational database or file based data store? This is extremely unlikely for any application that uses a denormalized relational database. 

________________________________

From: Dare Obasanjo [mailto:dareo@m...]
Sent: Sat 5/24/2003 11:44 AM
To: Murali Mani
Cc: xml-dev@l...
Subject: RE: Re:  Syntax + object model



A book is made up of a sequence of characters which are grouped into words and clustered together to form paragraphs. Whatever semantics one wants to give the words, chapters, etc beyond that is up to the author and the reader. A dictionary is a fundamentally different kind of book from a bible which is fundamentally different from a text book and people read all three in different ways. I don't see why one would then disagree over whether the content of all books have underlying core aspects that are universal. This clearly the case as is the case with XML documents.

As for your request for a query, it wouldn't be easy to write but is possible.  I know this because any XML Schema processor is doing exactly the same thing to build up its schema components because it accepts an XML infoset as input from which it generates schema components.

I'd love to provide the XQuery query as a proof of concept but don't have the time right now. I'm sure I'll end up sending you one some weekend when a free afternoon presents itself. :)

________________________________

From: Murali Mani [mailto:mani@C...]
Sent: Sat 5/24/2003 11:25 AM
To: Dare Obasanjo
Cc: xml-dev@l...
Subject: RE: Re:  Syntax + object model




Anyways, that is ok. My point is the view given by XPath/XQuery is not
good for all XML documents, especially XML schemas. I do not want to see
an XML schema document in this model, it does not mean anything to me at
all, right??

As I said, I will be very glad to receive an XPath/XQuery to determine
given an XML schema, a tag A, and a tag B, whether B can be a descendant
of A in a valid XML document.

I did mention this when your work was presented at Hong Kong last year by
your colleague, but I will be very glad to see an actual answer to this..

regards - murali.

On Sat, 24 May 2003, Dare Obasanjo wrote:

> I explicitly did not say that. Please reread my post.
>
> ________________________________
>
> From: Murali Mani [mailto:mani@C...]
> Sent: Sat 5/24/2003 10:51 AM
> To: Dare Obasanjo
> Cc: xml-dev@l...
> Subject: RE: Re:  Syntax + object model
>
>
>
>
> Dare, I do not think you can say that XPath data model is the standard
> data model for all applications.
>




-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>




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.