[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


edi simple xml
On Fri, 17 Dec 2004 18:19:40 -0500, John Cowan <jcowan@r...> wrote:
> Peter Hunsberger scripsit:
> > On Fri, 17 Dec 2004 21:41:29 +0100, J.Pietschmann <j3322ptm@y...> wrote:
> > > Peter Hunsberger wrote:
> > > > I need to make this a little clearer: syntax doesn't matter __if
> > > > you're careful__.
> > >
> > > Perhaps in other words: Syntax doesn't matter unless you try
> > > to express semantics by a certain syntax (i.e. syntax implies
> > > semantics). Most of the EDI-formats I've seen attempt the latter.
> >
> > Certainly that's part of the issue: if you commit to a Schema up front
> > then syntax matters since you've started to describe the semantics for
> > a given syntax (element).
> 
> Every syntax implies some semantics, or there would be no point in having
> syntax: we could just concatenate the content-bits in alphabetical order
> and try to guess what it was all about:  "alice, bob, charlie, hates,
> loves, peggy".

Sorry if I didn't give enough detail for you to see where I was going
with this (it's a little hectic around here).  Perhaps I should have
saidn "then the syntax matters more", and gone into more detail?  The
issue is: certain syntaxes carry with them more semantics than others;
if you're modeling you want to make sure the semantics are correct
before you commit to them....

> 
> > The other thing to figure out is how to do generic processing on
> > everything.  For example in an XSLT you don't look for element names,
> > you look for other distinguishing attributes (type or such).
> 
> All that means is that you are generic about element names but specific
> about types.  Now types are either specified by name (xsi:type), or are
> determined by examining the child elements and attribute values in ways
> that involve names.  There's no such thing as generic-processing-all-the-way-down,
> any more than the world can really be held up by turtles all the way down.

Would you argue that RDF can'd be used to describe RDF?

Again, perhaps I should have been clearer: given that many of these
patterns are recursive they more-or-less can be "generic all the way
down" (I don't believe your analogy has any relevance).  For parts of
this you don't really need to assume any type up front.

-- 
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.