RE: [xml-dev] collisions (was The subsetting has begun)

From
Simon St.Laurent <>
To
Date
2003-02-26T01:02:40Z
ID
<r01050400-1024-01428CAC492611D787340003937A08C2@[192.168.124.11]>
Thread
RE: [xml-dev] collisions (was The subsetting has begun)
"url" in this case feels like a type to me.  I've also seen markup like:

<int_temp scale="F">9</int_temp>

and

<text_name>Simon</text_name>

Perversely Oriented Namespace Datatyping (POND) is an unwritten proposal
for doing the same with URI-identified types.

<pond xmlns:int="http://www.w3.org/TR/xmlschema-2/#integer"
      xmlns:text="http://www.w3.org/TR/xmlschema-2/#string"
      xmlns:uri="http://www.w3.org/TR/xmlschema-2/#anyURI">
   <int:temp scale="F">9</int:temp>
   <text:name>Simon</text:name>
   <url:homepage><!--whitespace - 
      is meaningless padding allowed in anyURI?
   -->http://freshmeat.net/redir/dom4j/16508/url_homepage/<!--
--></url:homepage>
</pond>

Just for fun, of course.

 (Dare Obasanjo) writes:
>Joshua pointed out to me that some would prefer that the type of the
URL
>was captured in an attribute as in 
>
> <url
>type="homepage">http://freshmeat.net/redir/dom4j/16508/url_homepage/</
ur
>l>
>
>as opposed to 
>
> 
><url_homepage>http://freshmeat.net/redir/dom4j/16508/url_homepage/</
url_
>homepage>
>
>which to me seems worse not better. To each his own I guess. I've
>probably been using regexes a bit too much. 
-- 
Simon St.Laurent
Ring around the content, a pocket full of brackets
Errors, errors, all fall down!
http://simonstl.com -- http://monasticxml.org