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

SV: Any wildcard and the .NET validator?

From: Bryan Rasmussen <BRS@itst.dk>
Date: Mon, 9 Oct 2006 09:45:52 +0200
Message-ID: <A2DF252098C9AD4B9781453BE4C5422B0129B35E@excw2k301.koncern.local>
To: <lists@jeffrafter.com>, <xmlschema-dev@w3.org>

I should probably note that I don't 100% agree with this reasoning, I suppose
that what should be processed laxly is the content of description, not any
the sequence of elements under description. But I do think the reasoning can
be understood.

Bryan Rasmussen
-----Oprindelig meddelelse-----
Fra: Bryan Rasmussen 
Sendt: 9. oktober 2006 09:41
Til: 'lists@jeffrafter.com'; xmlschema-dev@w3.org
Emne: SV: Any wildcard and the .NET validator?

Well, if "A wildcard provides for ·validation· of attribute and element
information items dependent on their namespace name, but independently of
their local name." (under wildcards
http://www.w3.org/TR/xmlschema-1/#Wildcards ) Then I suppose the position is
that a text node is not allowable as an any. 

The position is then also I suppose that Description is the element that uses
DescriptionType, it is defined as having any number of elements in the xhtml
namespace and processing should be lax if you happen to run into an element
in say the RDF namespace. But here they are running into a textnode under
description, description is not processed laxly therefore Description raises
an error. 

At any rate, this is what I figure they position is. 

Bryan Rasmussen

-----Oprindelig meddelelse-----
Fra: xmlschema-dev-request@w3.org
[mailto:xmlschema-dev-request@w3.org]På vegne af Jeff Rafter
Sendt: 6. oktober 2006 21:01
Til: xmlschema-dev@w3.org
Emne: Any wildcard and the .NET validator?

Does anyone here have information on the .NET XML Schema validator and 
their position on lax validation of wildcards?


  <complexType name="DescriptionType" mixed="true">
      <any minOccurs="0" maxOccurs="unbounded"
        namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>

    <description xmlns:html="http://www.w3.org/1999/xhtml">Blah 

Works in everything except the .NET tools (even MSXML passes the 

Received on Monday, 9 October 2006 07:46:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:37 UTC