Re: cvs: php-src /ext/soap php_encoding.c
| From: | George Schlossnagle | Date: | Fri, 07 Oct 2005 15:08:25 +0000 |
| Subject: | Re: cvs: php-src /ext/soap php_encoding.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-34401@lists.php.net to get a copy of this message | ||
Test 49 looks totally incorrect to me. You've derived the object by restriction in accordance with section 2.5.2.1 of the Schema Part 2 spec,
[Definition:] A datatype is said to be ·derived· by restriction from another datatype when values for zero or more ·constraining facet·s are specified that serve to constrain its ·value space· and/or its lexical space to a subset of the base type.
Check http://www.w3.org/TR/xmlschema-2/#derivation-by-restriction and http://www.w3.org/TR/xmlschema-1/#Complex_Type_Definition_details for more details.
but you aren't constraining the type to be a subset of the base type, in fact you ignore the base type completely and just implement your own parameter there, which seems to violate the way restrictions work.
Test 49 _should_ look like this: