Re: <?xml tags (was PDM Meeting Notes)

From: Date: Thu, 01 Dec 2005 14:26:32 +0000
Subject: Re: <?xml tags (was PDM Meeting Notes)
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-20950@lists.php.net to get a copy of this message
> Of course it is meaningful for PHP as well. > We're talking about the PHP language. Not the PHP engine. You're right that the PHP engine needs to be capable of finding its processing instructions. So it's capable of doing a little XML. Thus it needs to understand the meaning of whitespace in XML. However, that's the PHP engine doing XML syntax. Not processing PHP syntax. It's defined in the XML spec that the end of the name of a Processing Instruction is marked with a whitespace: http://www.w3.org/TR/REC-xml/#sec-pi There it states: PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>' S meaning Whitespace. So, that whitespace is meaningfull for XML. Not for PHP. PHP couldn't care less how processing instructions are defined in XML.

« previous php.internals (#20950) next »