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
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:
?php
$xml = XMLReader::open('hello.xml');
// You must to use it
$xml-setParserProperty(XMLReader::VALIDATE, true);
if ($xml-isValid())
: 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
3 matches
Mail list logo