Re: redundant mixed="true" required?

Hello Eddie, Henry,

Thank you very much for your explanations.

Eddie Robertsson <erobertsson@allette.com.au> wrote:

> >MSV (20020414), Xerces-J 2.0.2 and XML Spy 4.4 reported no problem,
> >but XSV (online version, 1.203.2.47.2.4.2.11/1.106.2.25.2.3) complained
> >like this:
> >
> >    Invalid per cvc-complex-type.1.2.3: text not allowed: | ccc|
> >
> I tested this with MSXML SP1 as well and it also reports this as an 
> error.

Hmm ... that's a bad news.  I need to write a schema which could
somehow work with various XML Schema processors ... actually
I was writing an XML Schema for XHTML 1.0 Strict, and encountered
this problem.  An early version is available at:

    http://www.w3.org/People/mimasa/test/schemas/SCHEMA/xhtml1-strict.xsd

If I use 'redundant' definitions, it seems to work with XSV, Xerces-J
and XML Spy.  If you replace fixed="preserve" with default="preserve"
(for xml:space), it should also work with MSV.  I hope it's not too
bad, and any feedback for improvement is most welcome.

Thanks,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Monday, 26 August 2002 07:35:56 UTC