- From: Dag-Erling Smørgrav <des@des.no>
- Date: Mon, 19 Jul 2010 16:48:23 +0200
- To: "Richard Ishida" <ishida@w3.org>
- Cc: "'David Dorward'" <david@dorward.me.uk>, <www-validator@w3.org>
"Richard Ishida" <ishida@w3.org> writes: > The pages contains lots of PHP instructions, but none of them cause a > validation problem other than these instances where the PHP code is > inside the attribute value. Perhaps because... *drumroll* processing instructions are not allowed inside attribute values. They are only allowed a) between the XML declaration and the DOCTYPE declaration, b) between the DOCTYPE declaration and the top-level element, c) after the top-level element, and d) as content, i.e. somewhere between the opening and closing tags of a non-empty element. DES -- Dag-Erling Smørgrav - des@des.no
Received on Monday, 19 July 2010 14:51:10 UTC