Schemas should only included when there is a "schemaLocation" attribute
This commit is contained in:
parent
ef0361df59
commit
5b4f19d032
|
@ -189,6 +189,7 @@ class WsdlDownloader
|
|||
$nodes = $xpath->query($query);
|
||||
if ($nodes->length > 0) {
|
||||
foreach ($nodes as $node) {
|
||||
if ( $node->hasAttribute('schemaLocation') ) {
|
||||
$schemaLocation = $node->getAttribute('schemaLocation');
|
||||
if ($this->isRemoteFile($schemaLocation)) {
|
||||
$schemaLocation = $this->download($schemaLocation);
|
||||
|
@ -200,6 +201,7 @@ class WsdlDownloader
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$doc->save($cacheFile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue