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
[xml-dev] ignoring elements in certain namespace in schema?
by Christian Nentwich other posts by this author
Jan 29 2002 12:07PM messages near this date
RE: [xml-dev] QNames in attribute values | Re: [xml-dev] ignoring elements in certain namespace in schema?
I hope some XML schema expert can give me advice on this one (it's
probably a silly question..) I've got a schema that describes a vanilla
XML file, say:

<x> 
  <y> 
    <z/> 
  </y> 
</x> 

I've recently had to allow extension elements in there. They have
user-defined local names, so cannot be enumerated in advance, but have
to be in their own namespace:

<x xmlns:foo="http://..."> 
  <y> 
    <foo:checkme/>  
    <z/> 
  </y> 
</x> 

Is there any way to augment the schema to make it ignore all elements in
namespace foo? Should it even be checking that namespace since it's not
its target namespace ?

Thanks,
Christian





-----------------------------------------------------------------
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:
Christian Nentwich
Rick Jelliffe

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