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

Re: Vocabulary Combination and optional namespaces


what namespace coerce
You could, if you wanted, use a namespace filter to coerce unqualified 
elements into that namespace during processing - before or after 
transmission.  Integrating that with SOAP processing might not be much fun, 
but it's possible.

I wrote some basic (Java) tools for doing this kind of thing, available at:
http://simonstl.com/projects/namespace/

I should add something that qualifies all unqualified children of a given 
element and variations on that.


At 09:07 AM 5/29/2003 -0400, Joe Gregorio wrote:
>Now this could be solved by declaring an optional namespace for RSS 2.0 
>that could be used in just such a case:
>
><soap:Envelope  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
>  xmlns:rss2="http://backend.userland.com/rss/"
>  <soap:Header/>
>    <soap:Body>
>      <rss2:rss version="2.0">
>        <rss2:channel>
>          <rss2:title>...
>
>I have also run into such a need in other cases, for example
>I have worked with a group that is, at best, namespace allergic.
>Getting them to place the vocabulary we are working on in a namespace
>will be impossible. On the other hand, getting them to agree to an optional
>namespace to be used when combining our work other vocabularies may be 
>palatable. What are the pros and cons of such
>an approach?
>
>         Thanks,
>         -joe
>
>[1] http://backend.userland.com/rss/
>[2] http://www.intertwingly.net/blog/1354.html
>
>--
>http://BitWorking.org
>http://WellFormedWeb.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.