W3C home > Mailing lists > Public > public-sml@w3.org > October 2007

[Bug 5047] Content of "dataType" in the IF schema

From: <bugzilla@wiggum.w3.org>
Date: Wed, 31 Oct 2007 16:14:26 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1InGD4-0000ZF-Cz@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5047





------- Comment #9 from sandygao@ca.ibm.com  2007-10-31 16:14 -------
> The current schema allows for dataType content to by empty and we should
> continue to allow it.

Trying to understand what it means if the content is empty. Is this described
anywhere in the IF spec? Does it mean "No data for this document"? This seems
very strange to me. How can a "document" be in an SML model (the interchange
set) when it is not even an XML document? (And even if we do want to support
it, I would think it's better to not have <data> at all in this case.)

> <xs:any namespace="##other" processContents="skip" minOccurs="0"/>

Note that the "without extension points" alternative doesn't not specify the
"##other" namespace constraint:

  <xs:any processContents="skip"/> 

One reason for not to specify it is mentioned in the bug report. There is
actually a more natural and important reason.

"##other" does not match elements without a namespace, so it would not be
possible to package a document (by value) in IF if its room element has no
namespace. This is not a reasonable requirement.
Received on Wednesday, 31 October 2007 16:14:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:56:07 UTC