W3C home > Mailing lists > Public > www-forms@w3.org > October 2006

A note to implementors about entities in external instance data

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Fri, 13 Oct 2006 14:32:19 +0200
To: "www-forms@w3.org" <www-forms@w3.org>
Message-ID: <op.thc035e1smjzpq@acer3010.lan>

Seeing the following:

reminded me that there are implementations where if you do

	<instance src="document.html"/>

and 'document.html' has character entities (such as &nbsp;), they will  
(incorrectly) report a parse error. Implementors, please don't do this!

A test:

This is a bit of a sneaky test: it imports itself as an instance and then  
<output>s the paragraph containing the entities. I have tested it, and it  
works in at least one implementation, and fails in at least one...

Steven Pemberton
Received on Friday, 13 October 2006 12:32:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:18 UTC