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

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