diff options
author | Dmitry Stogov <dmitry@php.net> | 2004-01-20 16:30:38 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2004-01-20 16:30:38 +0000 |
commit | 67886b8321044d9ee04a4003206b9538bcc79219 (patch) | |
tree | 4222ddf609c857211c021550dca298a88445a94c /ext/soap/php_sdl.h | |
parent | a4815f7c8e9e7a5f5ccd9850402afc434f1d4353 (diff) | |
download | php-git-67886b8321044d9ee04a4003206b9538bcc79219.tar.gz |
XML Schema support
- support for <element> 'ref' attibute was implemented
- support for inline types
- support for <list> and <union> (incompleate)
Diffstat (limited to 'ext/soap/php_sdl.h')
-rw-r--r-- | ext/soap/php_sdl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/soap/php_sdl.h b/ext/soap/php_sdl.h index 06c0a83274..ae6a90be6b 100644 --- a/ext/soap/php_sdl.h +++ b/ext/soap/php_sdl.h @@ -90,7 +90,19 @@ struct _sdlRestrictions { sdlRestrictionCharPtr pattern; }; +typedef enum _sdlTypeKind { + XSD_TYPEKIND_UNKNOWN, + XSD_TYPEKIND_SIMPLE, + XSD_TYPEKIND_COMPLEX, + XSD_TYPEKIND_LIST, + XSD_TYPEKIND_UNION, + XSD_TYPEKIND_ALL, + XSD_TYPEKIND_SEQUENCE, + XSD_TYPEKIND_CHOICE +} sdlTypeKind; + struct _sdlType { + sdlTypeKind kind; char *name; char *namens; int nillable; @@ -100,6 +112,7 @@ struct _sdlType { HashTable *attributes; /* array of sdlAttributePtr */ sdlRestrictionsPtr restrictions; encodePtr encode; + char *ref; }; struct _sdlParam { |