[MOBY-dev] observations about registrations with RDF

Paul Gordon gordonp at cbr.nrc.ca
Thu Sep 23 01:39:35 UTC 2004


>    No. I was requesting to have the *whole contents* of the RDF tag
> surrounded as CDATA. And I am happy that you removed it. What I am talking
> about here is to keep CDATA around service description (which is somewhere
> inside the whole RDF tag). So we can keep the service description exactly
> the same as it was registered without mangling with escaping.

[Caution: possible flamebait]

If your client application is making a meaningful distinction between
"<!CDATA[[P & G]]>" and "P &amp; G", you're probably either:

1. Not using a conforming XML parser, which is bad.

or 

2. Relying on distinctions between W3C DOM CDATA Section Nodes and
TextNodes, which is officially frowned upon in the W3C DOM specs. 

In either case this would seriously affect the robustness of the code...

My CDN$0.02. :-)




More information about the MOBY-dev mailing list