[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 <firstname.lastname@example.org>
- To: Jeff Rafter <email@example.com>
- Date: Wed, 03 Jan 2001 12:17:16 +0100
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
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)".
Besides this approach I have been trying another based on different
namespaces but I don't think I can go any further.
José Manuel Beas (firstname.lastname@example.org)
TELENIUM, The New Millennium Telecom Company
Agustín de Foxá, 25, plta. 13
Tel. +34 91 315 85 62 (ext. 260)
Fax +34 91 315 63 37