[rdfweb-dev] Re: bio:olb --- text or hypertext?

Dan Brickley danbri at w3.org
Tue Aug 5 17:38:30 UTC 2003


* Norman Walsh <ndw at nwalsh.com> [2003-08-05 13:35-0400]
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> / Julian Bond <julian_bond at voidstar.com> was heard to say:
> | Dan Brickley <danbri at w3.org> wrote:
> |  >But I expect it would behave the same
> |  >even if it was just a casual use of '<' in prose, ie. "I am <30 yrs
> |>old".
> |
> | Is the text in http://pvr.blogs.com/foaf.rdf escaped or just put in a
> | CDATA block? I can't see any &lt; or &amp;
> 
> Yes, it's escaped. CDATA is just a syntactic shortcut for &lt; and &amp;.
> 
> | Regardless of whether it's right or not, we're trying to transport
> | user entered text embedded in XML. Whenever we do that we face this
> | issue. As developer's we get to choose whether to strip tags, but even
> | that can get exceedingly hard some times, as in Dan's example.
> 
> I understand. But I think we should set user expections that elements
> are either text (no markup!) or markup (use XML!) and not this odd
> mixture of both where some layers see it as text and others see it as
> markup.

+1

They'll thank us for it (eventually...).

OK, well the probably won't. But stuff will work better.



More information about the foaf-dev mailing list