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
Hello,
Anyone have pointers to good tutorials out there for validating XML with
DTD?
I have looked at the top comment on:
http://www.php.net/manual/en/ref.xmlreader.php#xmlreader.constants
Where you set the parser property to validate, but it is kind of like a
black box...what is it using the
Hi,
I want to validate an XML structure using PHP.
I thought of using PHP's DOM and XSD or DTD for validation. This does
the job ok, except on invalid XML structure I get the same error code.
What I want is to point exactly why the XML structure is invalid. I know
there's also an error message t
Hi,
I am trying to use php to validate a document using it's schema.
I keep getting Warning: Element 'Invoices': No matching global
declaration available.
My xsd has
http://www.w3.org/2001/XMLSchema";
targetNamespace="http://www.mysite.com";
xmlns="http://www.mysite.com"; elementFormDefault="q
As of now i dont think that DOMXML functions support the validation of
dtds or schemas...I have been looking for the past couple of days and
did not find anything...
I have not verified the xml extension for it but i doubt that that
option is there either...
--
BigDog
On Tue, 2003-07-01 at 14:
I am parsing an xml string using the DOM package in php. Is there
anyway to validate the xml string against a schema or a dtd with DOM. I
know it is still experimental but I didn't know if something like that
existed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
8 matches
Mail list logo