ni.iu.edu
> CC: php-general@lists.php.net
> Subject: Re: [PHP] Validating XML Issue
>
> I'd say your XML document is not "well formed", but validity depends on
> whether it conforms to the rules expressed in a schema.
>
> Mattias
>
> Alice Wei wrote:
&
Hi,
This seems like a small problem that I have read from
http://us.php.net/manual/en/xmlreader.isvalid.php.
I have the code snippet here as follows:
setParserProperty(XMLReader::VALIDATE, true);
if ($xml->isValid()) echo "true";
else echo "NOT";
?>
Here is the contents of hello.xml:
I'd say your XML document is not "well formed", but validity depends on
whether it conforms to the rules expressed in a schema.
Mattias
Alice Wei wrote:
Hi,
This seems like a small problem that I have read from http://us.php.net/manual/en/xmlreader.isvalid.php.
I have the code snippet he
3 matches
Mail list logo