@@ 1447-1453 (lines=7) @@ | ||
1444 | } |
|
1445 | if (isset($attrs['http://schemas.xmlsoap.org/wsdl/:arrayType'])) { |
|
1446 | $v = $attrs['http://schemas.xmlsoap.org/wsdl/:arrayType']; |
|
1447 | if (!strpos($v, ':')) { |
|
1448 | // no namespace in arrayType attribute value... |
|
1449 | if ($this->defaultNamespace[$pos]) { |
|
1450 | // ...so use the default |
|
1451 | $attrs['http://schemas.xmlsoap.org/wsdl/:arrayType'] = $this->defaultNamespace[$pos] . ':' . $attrs['http://schemas.xmlsoap.org/wsdl/:arrayType']; |
|
1452 | } |
|
1453 | } |
|
1454 | } |
|
1455 | if (isset($attrs['name'])) { |
|
1456 | $this->attributes[$attrs['name']] = $attrs; |
|
@@ 1557-1560 (lines=4) @@ | ||
1554 | if (isset($attrs['type'])) { |
|
1555 | $this->xdebug('processing typed element ' . $attrs['name'] . ' of type ' . $attrs['type']); |
|
1556 | if (!$this->getPrefix($attrs['type'])) { |
|
1557 | if ($this->defaultNamespace[$pos]) { |
|
1558 | $attrs['type'] = $this->defaultNamespace[$pos] . ':' . $attrs['type']; |
|
1559 | $this->xdebug('used default namespace to make type ' . $attrs['type']); |
|
1560 | } |
|
1561 | } |
|
1562 | // This is for constructs like |
|
1563 | // <complexType name="ListOfString" base="soap:Array"> |