[PHP] Bug in DOMDocument schemaValidate() function?

2012-05-14 Thread Voß , Marko
Hello, I am validating user DOM against schema files using the following piece of code: $valid = @$doc-schemaValidate($xsdFile); where $doc is of type DOMDocument and $xsdFile is the file location of the XSD file. Everything worked fine until the following validation occured: A validation of

Re: [PHP] Bug in DOMDocument schemaValidate() function?

2012-05-14 Thread Voß , Marko
Hello, I am sorry, but everything is ok here. I am performing an unmarshalling and marshalling unit test for every resource and the problem was, that after unmarshalling to the object, the marshalling of the object did not create the version element. I did not notice this in the first place.

[PHP] Uploading large files with HTTP_Request class

2012-05-31 Thread Voß , Marko
Hello, I need to perform uploading of large files using the HTTP_Request class: http://pear.php.net/manual/package.http.http-request.php I am *not* using this one: http://php.net/manual/en/class.httprequest.php The HTTP_Request class support the following functions: setBody() and addFile()