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

RE: nested namespaces

  • To: "Simon St.Laurent" <simonstl@s...>,<xml-dev@l...>
  • Subject: RE: nested namespaces
  • From: "Dare Obasanjo" <dareo@m...>
  • Date: Mon, 16 Dec 2002 10:23:36 -0800
  • Thread-index: AcKlLyPkc+iGacmBQyazRuzU2a9b7QAAFjVw
  • Thread-topic: nested namespaces

soap nested namespaces
The XML in this example isn't as perverse (i.e boneheaded) as in your
original claims. Even then I only see two answers 

A.) recursively filter for only the items you care about (my stylesheet
and query examples) 

B.) process XML based on agreed upon processing rules

Trying to come up with a "generic" mechanism for processing XML in such
situations seems like a fools errand. 

-- 
PITHY WORDS OF WISDOM 
Freebees will only arrive at work on your days off.


This posting is provided "AS IS" with no warranties, and confers no
rights. 

>  
>  
> -----Original Message-----
> From: Simon St.Laurent [mailto:simonstl@s...] 
> Sent: Monday, December 16, 2002 10:15 AM
> To: xml-dev@l...
> 
> dareo@m... (Dare Obasanjo) writes:
> >The best practice is not to design your XML in such a 
> boneheaded manner 
> >in the first place not coming up with overcomplicated rules 
> of how to 
> >process it.
> 
> I think for the most part that I agree with you, but let's 
> take a specific recent case 
> (http://www.intertwingly.net/blog/1010.html) and see whether 
> we agree on what's "boneheaded" here.
> 
> Does it make sense to design a vocabulary such that:
> 
>   <item xmlns:dc="http://purl.org/dc/elements/1.1/">
>       <title>My Summer Vacation</title>
>       <description>On my summer vacation I went to...</description>
> 
>       <link>http://127.0.0.1/cgi-bin/RESTLog.py/4</link>
>       <dc:date>2002-10-28T22:18:53-05:00</dc:date>
>   </item> 
>   
> is considered equivalent (even when you're not using SOAP) to:
> 
> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
>   <s:Body>
>   <item xmlns:dc="http://purl.org/dc/elements/1.1/">
>       <title>My Summer Vacation</title>
>       <description>On my summer vacation I went to...</description>
> 
>       <link>http://127.0.0.1/cgi-bin/RESTLog.py/4</link>
>       <dc:date>2002-10-28T22:18:53-05:00</dc:date>
>   </item>
>  </s:Body>
> </s:Envelope>
> 
> We can just ignore the s:Enveloper and s:Body tags, right? Or can we?
> What's over-complicated here?  (The unqualified nature of the 
> item vocabulary raises another nice set of questions about 
> what is complicated or not, but that's another issue.)
> 
> --
> Simon St.Laurent
> Ring around the content, a pocket full of brackets Errors, 
> errors, all fall down!
> http://simonstl.com -- http://monasticxml.org
> 
> -----------------------------------------------------------------
> 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.