@@ 1407-1412 (lines=6) @@ | ||
1404 | $this->namespaces['ns' . (count($this->namespaces) + 1)] = $v; |
|
1405 | } |
|
1406 | } |
|
1407 | if ($v === 'http://www.w3.org/2001/XMLSchema' || $v === 'http://www.w3.org/1999/XMLSchema' |
|
1408 | || $v === 'http://www.w3.org/2000/10/XMLSchema' |
|
1409 | ) { |
|
1410 | $this->XMLSchemaVersion = $v; |
|
1411 | $this->namespaces['xsi'] = $v . '-instance'; |
|
1412 | } |
|
1413 | } |
|
1414 | } |
|
1415 | foreach ($attrs as $k => $v) { |
|
@@ 5236-5241 (lines=6) @@ | ||
5233 | } else { |
|
5234 | $this->namespaces['ns' . (count($this->namespaces) + 1)] = $v; |
|
5235 | } |
|
5236 | if ($v === 'http://www.w3.org/2001/XMLSchema' || $v === 'http://www.w3.org/1999/XMLSchema' |
|
5237 | || $v === 'http://www.w3.org/2000/10/XMLSchema' |
|
5238 | ) { |
|
5239 | $this->XMLSchemaVersion = $v; |
|
5240 | $this->namespaces['xsi'] = $v . '-instance'; |
|
5241 | } |
|
5242 | } |
|
5243 | } |
|
5244 | // expand each attribute prefix to its namespace |