@@ 6568-6580 (lines=13) @@ | ||
6565 | { |
|
6566 | $this->debug("serializeComplexTypeAttributes for XML Schema type $ns:$uqType"); |
|
6567 | $xml = ''; |
|
6568 | if (isset($typeDef['extensionBase'])) { |
|
6569 | $nsx = $this->getPrefix($typeDef['extensionBase']); |
|
6570 | $uqTypex = $this->getLocalPart($typeDef['extensionBase']); |
|
6571 | if ($this->getNamespaceFromPrefix($nsx)) { |
|
6572 | $nsx = $this->getNamespaceFromPrefix($nsx); |
|
6573 | } |
|
6574 | if ($typeDefx = $this->getTypeDef($uqTypex, $nsx)) { |
|
6575 | $this->debug("serialize attributes for extension base $nsx:$uqTypex"); |
|
6576 | $xml .= $this->serializeComplexTypeAttributes($typeDefx, $value, $nsx, $uqTypex); |
|
6577 | } else { |
|
6578 | $this->debug("extension base $nsx:$uqTypex is not a supported type"); |
|
6579 | } |
|
6580 | } |
|
6581 | if (isset($typeDef['attrs']) && is_array($typeDef['attrs'])) { |
|
6582 | $this->debug("serialize attributes for XML Schema type $ns:$uqType"); |
|
6583 | if (is_array($value)) { |
|
@@ 6639-6651 (lines=13) @@ | ||
6636 | ) { |
|
6637 | $this->debug("in serializeComplexTypeElements for XML Schema type $ns:$uqType"); |
|
6638 | $xml = ''; |
|
6639 | if (isset($typeDef['extensionBase'])) { |
|
6640 | $nsx = $this->getPrefix($typeDef['extensionBase']); |
|
6641 | $uqTypex = $this->getLocalPart($typeDef['extensionBase']); |
|
6642 | if ($this->getNamespaceFromPrefix($nsx)) { |
|
6643 | $nsx = $this->getNamespaceFromPrefix($nsx); |
|
6644 | } |
|
6645 | if ($typeDefx = $this->getTypeDef($uqTypex, $nsx)) { |
|
6646 | $this->debug("serialize elements for extension base $nsx:$uqTypex"); |
|
6647 | $xml .= $this->serializeComplexTypeElements($typeDefx, $value, $nsx, $uqTypex, $use, $encodingStyle); |
|
6648 | } else { |
|
6649 | $this->debug("extension base $nsx:$uqTypex is not a supported type"); |
|
6650 | } |
|
6651 | } |
|
6652 | if (isset($typeDef['elements']) && is_array($typeDef['elements'])) { |
|
6653 | $this->debug("in serializeComplexTypeElements, serialize elements for XML Schema type $ns:$uqType"); |
|
6654 | if (is_array($value)) { |