[XML-SIG] Metadata in XBEL

Mike Clarkson support@internetdiscovery.com
Fri, 30 Mar 2001 06:58:57 -0800


At 12:29 PM 3/28/01 -0500, you wrote:
>
>[Adding David Faure to the recipients list.]
>  Here's the problem:  What we want is to be able to say
>"ANY-and-we-really-mean-it", not ANY as defined in the DTD language.
>That definition tells us that ANY means anything *defined in the DTD*,
>which is pretty limited -- this is an inherited SGML wart.  I don't
>know how to express what we actually want in the DTD language; if
>anyone can tell me, I'd be glad to change the DTD for revision 1.1.

Isn't the canonical "solution" to this:

<info>
<metadata owner="http://tix.sourceforge.net"><![CDATA[
I'll do what I please, with or without a <DTD>.
]]></metadata>
</info>

That's legal in terms of an ANY definition of <metadata> isn't it?
We do this because we also don't want parse the contents of the metadara.

Or if the contents of the <desc> tag stores non-conforming HTML, such as
a user-generated description or comment, is that not the same problem:

<desc><![CDATA[
I'll do what I please, <BR> in HTML 2.0 <P>.
]]></desc>

Even if it were conforming XML, we'd want to mask it off anyway
to protect it from being parsed by the DOM; we want to treat it as a
chunk that gets replaced en masse when the user decides to.

Mike.