|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Problem w/ Schema for elements with similar defs
Dear Jeff, I've been reading carefully your proposition, but I'm afraid "extension" doesn't work as you are proposing. In http://www.w3.org/TR/xmlschema-0/#DerivExt says: "Furthermore, the two content models are treated as two children of a sequential group." So, it is expected (using this model) that a "consulta" or a "recurso" element should have a "texto" followed by a "imagen". Actually, when I tried your approach with XMLSpy I received the error message "Mandatory elements expected in 'consulta' after 'texto': (imagen)". Mmmm! :-( Besides this approach I have been trying another based on different namespaces but I don't think I can go any further. :-( Again. Best Regards, -- José Manuel Beas (jmbeas@t...) Software Engineer TELENIUM, The New Millennium Telecom Company Agustín de Foxá, 25, plta. 13 28036 MADRID Tel. +34 91 315 85 62 (ext. 260) Fax +34 91 315 63 37 http://www.telenium.es
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








