ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] XML doesn't deserve its "X".
by Eric van der Vlist other posts by this author
Mar 5 2002 4:39PM messages near this date
Re: [xml-dev] XML doesn't deserve its "X". | Re: [xml-dev] XML doesn't deserve its "X".
Elliotte Rusty Harold wrote:

> >I am changing a text leaf node into a mixed content including 2 text
> >nodes separated by a child element and this will likely break 90+% of
> >the existing applications.
>  
>  Yes. However, XPath and XSLT based applications will process this 
>  correctly without blinking because this hasn't changed the string 
>  value of the ns1:foo element. The more I learn about XPath and XSLT 
>  the more I'm amazed by them.
>  
Exactly. This goes together with other tips such as "define the 
structure of the output document in your stylesheets", "don't rely on 
the order of elements in the instance documents", ... which increase the 
capacity to deal with the unexpected.

It's unfortunately an exception amongst APIs, tools and languages to 
process XML documents.

This makes me think that it could make a useful extension for W3C XML 
Schema to define how to deal with the wilcard elements, something such as:

<xs:any namespace="##other" processContents="skip" 
foo:process="remove|value-of|copy-of"/> 

Eric
-- 
See you in Seattle.
                                        http://knowledgetechnologies.net/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
http://xsltunit.org      http://4xt.org           http://examplotron.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> 
Thread:
Eric van der Vlist
Francis Norton
Eric van der Vlist
=?iso-8859-1?Q?Bill_de_h=D3ra?=
Eric van der Vlist
Simon St.Laurent
Michael Fitzgerald
Mike Champion
Eric van der Vlist
Mike Champion
Leigh Dodds
Klaus Backert
Eric van der Vlist
Klaus Backert
Eric van der Vlist
Eric van der Vlist
Klaus Backert
Elliotte Rusty Harold
John Cowan
Elliotte Rusty Harold
Michael Fitzgerald
Eric van der Vlist
John Cowan
Simon St.Laurent

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved