[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Problem w/ Schema for elements with similar defs
- From: =?UNKNOWN?Q?Jos=E9?= Manuel Beas <jmbeas@telenium.es>
- To: Jeff Rafter <jeffrafter@earthlink.net>
- Date: Wed, 03 Jan 2001 12:17:16 +0100
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@telenium.es)
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