W3C home > Mailing lists > Public > xmlschema-dev@w3.org > March 2006

Re: two elements with the same name but different types

From: andrew welch <andrew.j.welch@gmail.com>
Date: Mon, 20 Mar 2006 14:21:06 +0000
Message-ID: <74a894af0603200621h6ba857f5m64263b413b1cd370@mail.gmail.com>
To: "Michael Kay" <mike@saxonica.com>
Cc: xmlschema-dev@w3.org

On 3/20/06, Michael Kay <mike@saxonica.com> wrote:
> The subject line says it all:
>
> >two elements with the same name but different types
>
> Sorry: no can do.

I read this:

http://www.stylusstudio.com/xmldev/200307/post30110.html

...which gave me hope, but must be wrong.

This kind of thing makes validating the output from a transform a
struggle - on the one hand you have the benefit of knowing what part
of your stylesheet generates the broken output, but you're stuck with
XML Schema... and on the other you have the choice of any language,
but you might have to do some investigation to track down the source
of validation errors.

Its guess it's a case of "use what fits"...
Received on Monday, 20 March 2006 14:21:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:54 GMT