Commit 6ee2833945976509dc6a60b22d7dbc6e940d2bf8
1 parent
e4545ed5
Exists in
master
and in
66 other branches
Remove debug info
Showing
1 changed file
with
11 additions
and
11 deletions
Show diff stats
src/Request/ParamsRequestImpl/ParamsRequestClass.php
... | ... | @@ -81,22 +81,22 @@ class ParamsRequestClass extends ProcessRequestClass |
81 | 81 | return false; |
82 | 82 | } |
83 | 83 | |
84 | - libxml_use_internal_errors(true); | |
84 | + //libxml_use_internal_errors(true); | |
85 | 85 | if (!$doc->schemaValidate(KernelConfigClass::getXSDRequestFilePath())) |
86 | 86 | { |
87 | - $error_msg = ""; | |
88 | - $errors = libxml_get_errors(); | |
89 | - foreach ($errors as $error) { | |
90 | - if ($error_msg != "") | |
91 | - $error_msg .= PHP_EOL; | |
92 | - $error_msg .= 'XML error "'.$error->message.'" ['.$error->level.'] (Code '.$error->code.') in '.$error->file.' on line '.$error->line.' column '.$error->column; | |
93 | - } | |
94 | - libxml_clear_errors(); | |
87 | + //$error_msg = ""; | |
88 | + //$errors = libxml_get_errors(); | |
89 | + //foreach ($errors as $error) { | |
90 | + // if ($error_msg != "") | |
91 | + // $error_msg .= PHP_EOL; | |
92 | + // $error_msg .= 'XML error "'.$error->message.'" ['.$error->level.'] (Code '.$error->code.') in '.$error->file.' on line '.$error->line.' column '.$error->column; | |
93 | + //} | |
94 | + //libxml_clear_errors(); | |
95 | 95 | |
96 | - $this->requestData->setLastErrorMessage('Params request XML file not valid for request '.$requestNode->getRealIndex().' ('.$error_msg.')'); | |
96 | + $this->requestData->setLastErrorMessage('Params request XML file not valid for request '.$requestNode->getRealIndex()/*.' ('.$error_msg.')'*/); | |
97 | 97 | return false; |
98 | 98 | } |
99 | - libxml_use_internal_errors(false); | |
99 | + //libxml_use_internal_errors(false); | |
100 | 100 | } |
101 | 101 | } |
102 | 102 | ... | ... |