- From: Beton, Richard <richard.beton@roke.co.uk>
- Date: Mon, 03 Nov 2003 15:14:30 +0000
- To: www-validator@w3.org
I have noticed that XHTML documents are passed as valid even when they contain empty <script> elements. For example, <script src="js/whatever.js"/> is not considered to infringe the DTD, which specifies that <script> contains PCDATA. Is this a bug in the W3C Validator? Rick [ref: XHTML1.0: http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict] -- Registered Office: Roke Manor Research Ltd, Siemens House, Oldbury, Bracknell, Berkshire. RG12 8FZ The information contained in this e-mail and any attachments is confidential to Roke Manor Research Ltd and must not be passed to any third party without permission. This communication is for information only and shall not create or change any contractual relationship.
Received on Monday, 3 November 2003 10:18:54 UTC