Re: DOMDocument::schemaValidate() -> libxml_get_errors()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If the error occure after the line 65535, libxml_get_errors() returns 65535.

Maybe this can help you Sébastien :

Class: LibXMLError
   Properties (Read-Only):
       (int) level
       (int) code
       (int) column
       (string) message
       (string) file
       (int) line


jm

----- Original Message ----- From: "Tijnema !" <tijnema@xxxxxxxxx>
To: "Sébastien WENSKE" <canardwc@xxxxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, April 05, 2007 3:56 PM
Subject: Re:  DOMDocument::schemaValidate() -> libxml_get_errors()


On 4/5/07, Sébastien WENSKE <canardwc@xxxxxxxxxxxx> wrote:
Hello all, (sorry for my bad english)

I've this script, it checks an XML file with an XSD file.
it reports errors in the XML with line number, but i've large XML file (up
to 560MB) and the line number
doesn't exceed 65535. for upper lines he return always 65535.

An idea ?

Thx in advance.


I don't really understand what you're saying, but i might be able to
help you if you post the output of the script you posted, and then
tell what the expected output is.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux