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

Re: A Systematic Approach to using Simple XML Vocabularies to


simple xml no schema
On Thu, 16 Dec 2004 11:02:28 -0600, Peter Hunsberger
<peter.hunsberger@g...> wrote:
> On Thu, 16 Dec 2004 16:17:46 +0000, tpassin@c...
> <tpassin@c...> wrote:
> > Roge Costello wrote -
> >

<snip>preamble</snip>

> >
> > > With the Bag approach properties are dynamically composed. The
> > > same properties can be associated with a different type.  Further, the
> > > properties can be associated with multiple types.
> > >
> >
> > You can do the same thing with <person>...</person>, there is no essential
> > difference.  It is just syntax, and it is a little more complex and harder to read.
> > It would be better to get the modeling straight about roles and relationships
> > with attributes.
> 
> With a complex system I think your correct: everything comes down to
> modelling.  

<snip>syntax digression</snip>

I need to make this a little clearer: syntax doesn't matter __if
you're careful__.  Problem is, if you add in an XML Schema too early
in the process then syntax matters.  The fact of  the matter is, we
use an internal instance model that has concrete element names. 
However, we don't force any schema on this.  The trick here is to not
create a Schema and to match everything on type, not element name.  At
that point:

  <object type="address">

and

  <address type="object">

are obviously interchangeable, (as is the RDF version).  As I've said
before: I'll write no Schema before it's time...

-- 
Peter Hunsberger

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.