Comments on "escaping"

Dear RDF experts,

Having quicly read 2.2.1 of the latest draft of "Resource Description 
Framework (RDF) Model and Syntax Specification", I am concerned about 
embedding "XML text" (i.e., the production rule [15]).  This feature 
requires invocation of the XML parser to parse the output of another parsing.  
As far as I know, this has never been considered by the XML WG.

I think that this is a tricky and risky business.  What happens if the 
embedded document contains encoding declarations?  Will they override the 
encoding of the containing RDF metadata?  There are some other tricky 
issues in XML, such as  CR/LF/CRLF normalization, attribute value normalization, 
character entity expansion, internal entity expansion, etc.  I do not know 
if embedding of XML text within RDF causes any problems to these issues.  
I can't find any such problems immediately, but I feel uneasy.

If embedding "XML text" is not absolutely required, it should be dropped.  
If it is absolutely required, I think that you might want to explicitly ask 
the XML CG (or the XML syntax WG) to review this particular issue.

Hope this helps.

Cheers,

Makoto
 
Fuji Xerox Information Systems
 
Tel: +81-44-812-7230   Fax: +81-44-812-7231
E-mail: murata@apsdc.ksp.fujixerox.co.jp

Received on Friday, 23 October 1998 01:41:11 UTC