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: Fri, 26 Oct 2007 21:45:12 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1IlWzQ-0007zQ-4X@wiggum.w3.org>

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





------- Comment #7 from sandygao@ca.ibm.com  2007-10-26 21:45 -------
> the floating comments are not part of the embedded document.

Was this a conscious decision? Are you suggesting that there is no way to
package:

<!-- my important comment -->
<?my-important-PI?>
<root/>
<!-- my important comment -->
<?my-important-PI?>

in an SML-IF document without losing comments and PIs?

I don't know whether having 3 proposals counts as "hasProposal". :-) Here they
are:
1. Do not allow extension points in <data>. The embedded document is "all
characters after <data> and before </data>."
2. Allow extension points in <data>. The embedded document is "all characters
after <data> and before the first extension element, if any, otherwise before
</data>".
3. Allow extension points in <data>. The embedded document is the element
matching the "skip" wildcard (from '<' of the start tag to '>' of the matching
end tag; ignoring comments and PIs).

I prefer #1, because we then don't need to deal with the "how about
comments/PIs" question. Also note that one of the potential resolutions to bug
4687 is to embed base64 text in <data>, which would make "extensions" look
awkward.
Received on Friday, 26 October 2007 21:45:20 UTC

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