Hello, 

I am relative new user to xmlbeans. I have used it successfully for the last 
year with our current
.xsd but now I need to extend the functionality of our application whereby I 
need some help/advise. 

Our primary schema is an XSD for the popular RSS standard which has no target 
namespace. 
Recently www.apple.com has added some propriatary elements which are defined 
here: 
http://phobos.apple.com/static/iTunesRSS.html

Combining the two I have to process xml with elements like this: 

...
<image height="" width=""/>
<itunes:image href="..."/>
...

So now I have colliding element names from a "notargetnamespace" and the itunes 
name space. 

I have tried to define both elements into a single xsd but the xmlbeans 
compiler complains about uniques of 
elements. Before I post my attempt, I would like to ask: Do I need to bother 
and try to define the two namespaces into
one single schema?, or shall I use two schema's? (Which means I have to parse 
the document twice and will
have 2 XmlObjects. 

I would be gratefull to whoever can provide me with help on how to tackle this 
problem. It comes to mind
That is situation should arise in many case when dealing with multiple 
namespaces.

Thank You , 

Christophe Bouhier.
www.jpodder.com




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to