|
@@ 1458-1464 (lines=7) @@
|
| 1455 |
|
} |
| 1456 |
|
if (isset($attrs['http://schemas.xmlsoap.org/wsdl/:arrayType'])) { |
| 1457 |
|
$v = $attrs['http://schemas.xmlsoap.org/wsdl/:arrayType']; |
| 1458 |
|
if (!strpos($v, ':')) { |
| 1459 |
|
// no namespace in arrayType attribute value... |
| 1460 |
|
if ($this->defaultNamespace[$pos]) { |
| 1461 |
|
// ...so use the default |
| 1462 |
|
$attrs['http://schemas.xmlsoap.org/wsdl/:arrayType'] = $this->defaultNamespace[$pos] . ':' . $attrs['http://schemas.xmlsoap.org/wsdl/:arrayType']; |
| 1463 |
|
} |
| 1464 |
|
} |
| 1465 |
|
} |
| 1466 |
|
if (isset($attrs['name'])) { |
| 1467 |
|
$this->attributes[$attrs['name']] = $attrs; |
|
@@ 1566-1569 (lines=4) @@
|
| 1563 |
|
if (isset($attrs['type'])) { |
| 1564 |
|
$this->xdebug('processing typed element ' . $attrs['name'] . ' of type ' . $attrs['type']); |
| 1565 |
|
if (!$this->getPrefix($attrs['type'])) { |
| 1566 |
|
if ($this->defaultNamespace[$pos]) { |
| 1567 |
|
$attrs['type'] = $this->defaultNamespace[$pos] . ':' . $attrs['type']; |
| 1568 |
|
$this->xdebug('used default namespace to make type ' . $attrs['type']); |
| 1569 |
|
} |
| 1570 |
|
} |
| 1571 |
|
// This is for constructs like |
| 1572 |
|
// <complexType name="ListOfString" base="soap:Array"> |