; jBAc@s,dZdkZdkZdkZdkZdklZdklZdk l Z l Z l Z l Z dklZdZdfdYZd efd YZd fd YZd efdYZdfdYZdfdYZdfdYZdfdYZdfdYZdfdYZdfdYZdfdYZdfd YZd!fd"YZd#fd$YZd%fd&YZ d'fd(YZ!d)fd*YZ"d+fd,YZ#d-ee#fd.YZ$d/e$fd0YZ%d1e$fd2YZ&d3e$fd4YZ'd5fd6YZ(d7e$fd8YZ)d9e$eefd:YZ*d;e*ee"efd<YZ+d=e$eeefd>YZ,d?e$eefd@YZ-dAe$eefdBYZ.dCe$eefdDYZ/dEe$fdFYZ0dGe0fdHYZ1dIe0fdJYZ2dKe0fdLYZ3dMe$eefdNYZ4dOe4e"fdPYZ5dQe$eefdRYZ6dSe5efdTYZ7dUe$efdVYZ8dWe$efdXYZ9dYe$efdZYZ:d[e$eefd\YZ;d]e$eefd^YZ<d_e$ee!fd`YZ=dae=e"fdbYZ>dce$ee fddYZ?dee?e fdfYZ@dgfdhYZAeiBdi didifjo eCZDndkEZEeEiEZDdjeDfdkYZFdS(ls;$Id: XMLSchema.py,v 1.38 2004/06/23 20:10:26 boverhof Exp $N(sRLock(sXMLNS(sDOMs DOMExceptions Collections SplitQName(sStringIOcCs3|}x"t|t o|i}q W|SdS(sBconvience function for finding the parent XMLSchema instance. N(s componentsparents isinstances XMLSchemas_parent(s componentsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys GetSchemas s SchemaReadercBsntZdZeedZdZdZdZdZdZ dZ dZ d Z d Z RS( sEA SchemaReader creates XMLSchema objects from urls and xml data. cCs@||_||_|i o t|_nh|_h|_dS(sedomReader -- class must implement DOMAdapterInterface base_url -- base url string N(sbase_urlsselfs_SchemaReader__base_urls domReaders_SchemaReader__readerClasss DOMAdapters _includess_imports(sselfs domReadersbase_url((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__"s     cCsOxH|iiD]7\}}|ii|o|i|i|qqWdS(s^Add dictionary of imports to schema instance. schema -- XMLSchema instance N( sschemasimportssitemssnssvalsselfs_importsshas_keysaddImportSchema(sselfsschemasnssval((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys __setImports-s  cCsOxH|iiD]7\}}|ii|o|i|i |qqWdS(s_Add dictionary of includes to schema instance. schema -- XMLSchema instance N( sschemasincludessitemssschemaLocationsvalsselfs _includesshas_keysaddIncludeSchemas_imports(sselfsschemasschemaLocationsval((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys __setIncludes5s  cCs||i|load a Document from a file object file -- sadapter method not implementedN(sNotImplementedError(sselfsfile((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys loadDocumentscCs tddS(sIload a Document from an url url -- URL to dereference sadapter method not implementedN(sNotImplementedError(sselfsurl((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys loadFromURLs( s__name__s __module__sNoneshasattrsgetContentListssetAttributeDictionarysgetAttributeDictionarys getNamespaces getTagNames getParentNodes loadDocuments loadFromURL(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysDOMAdapterInterfaces        s DOMAdaptercBsntZdZedZedZdZdZdZdZ dZ dZ d Z d Z RS( s Adapter for ZSI.Utility.DOM cCs6t|do|i|_n ||_t|_dS(sXReset all instance variables. element -- DOM document, node, or None sdocumentElementN(shasattrsnodesdocumentElementsselfs_DOMAdapter__nodesNones_DOMAdapter__attributes(sselfsnode((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s  cCsT|i o|in|o |ii|hi|Sn|ii|SdS(saattr -- attribute ns -- optional namespace, None means unprefixed attribute. N(sselfs_DOMAdapter__attributesssetAttributeDictionarysnssgetshas_keysattr(sselfsattrsns((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pyshasattrs   cGsg}|ii}xXti|itD]A}|i|jot |i d|jo|i |q(q(Wt |i|SdS(Ni(snodessselfs_DOMAdapter__nodes ELEMENT_NODEsDOMs getElementssNoneschildsnodeTypes SplitQNamestagNamescontentssappendsmaps __class__(sselfscontentss ELEMENT_NODEschildsnodes((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetContentLists *cCs=h|_x-|iiiD]}|i|i|i s %s* %s = %s s ( sXMLBases_XMLBase__rlocksacquires_XMLBase__indentsstrsselfs __class__stmps__dict__sitemssksvsrelease(sselfstmpsvsk((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__str__s  " (s__name__s __module__s__doc__s_XMLBase__indentsRLocks_XMLBase__rlocks__str__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysXMLBase s  sDefinitionMarkercBstZdZRS(smarker for definitions (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysDefinitionMarkers sDeclarationMarkercBstZdZRS(smarker for declarations (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysDeclarationMarker$s sAttributeMarkercBstZdZRS(smarker for attributes (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeMarker)s sAttributeGroupMarkercBstZdZRS(s marker for attribute groups (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeGroupMarker.s sWildCardMarkercBstZdZRS(smarker for wildcards (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysWildCardMarker3s s ElementMarkercBstZdZRS(smarker for wildcards (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys ElementMarker8s sReferenceMarkercBstZdZRS(smarker for references (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysReferenceMarker=s sModelGroupMarkercBstZdZRS(smarker for model groups (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysModelGroupMarkerBs sExtensionMarkercBstZdZRS(smarker for extensions (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysExtensionMarkerGs sRestrictionMarkerc Bs8tZdZddddddddd d d d g ZRS( smarker for restrictions s enumerationslengths maxExclusives maxInclusives maxLengths minExclusives minInclusives minLengthspatternsfractionDigitss totalDigitss whiteSpace(s__name__s __module__s__doc__sfacets(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysRestrictionMarkerLs s SimpleMarkercBstZdZRS(s'marker for simple type information (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys SimpleMarkerSs s ComplexMarkercBstZdZRS(s(marker for complex type information (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys ComplexMarkerXs s LocalMarkercBstZdZRS(s(marker for complex type information (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys LocalMarker]s sMarkerInterfacecBs}tZdZdZdZdZdZdZdZdZ d Z d Z d Z d Z d ZRS(NcCst|tSdS(N(s isinstancesselfsDefinitionMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isDefinitiondscCst|tSdS(N(s isinstancesselfsDeclarationMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isDeclarationgscCst|tSdS(N(s isinstancesselfsAttributeMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isAttributejscCst|tSdS(N(s isinstancesselfsAttributeGroupMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysisAttributeGroupmscCst|tSdS(N(s isinstancesselfs ElementMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isElementpscCst|tSdS(N(s isinstancesselfsReferenceMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isReferencesscCst|tSdS(N(s isinstancesselfsWildCardMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isWildCardvscCst|tSdS(N(s isinstancesselfsModelGroupMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isModelGroupyscCst|tSdS(N(s isinstancesselfsExtensionMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isExtension|scCst|tSdS(N(s isinstancesselfsRestrictionMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isRestrictionscCst|tSdS(N(s isinstancesselfs SimpleMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysisSimplescCst|tSdS(N(s isinstancesselfs ComplexMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys isComplexscCst|tSdS(N(s isinstancesselfs LocalMarker(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysisLocals(s__name__s __module__s isDefinitions isDeclarations isAttributesisAttributeGroups isElements isReferences isWildCards isModelGroups isExtensions isRestrictionsisSimples isComplexsisLocal(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysMarkerInterfacecs            sXMLSchemaComponentcBstZdZgZhZhZdZdZdZe dZ dZ dZ dZ dZe d Zd Zd Zd Zd ZdZRS(s class variables: required -- list of required attributes attributes -- dict of default attribute values, including None. Value can be a function for runtime dependencies. contents -- dict of namespace keyed content lists. 'xsd' content of xsd namespace. xmlns_key -- key for declared xmlns namespace. xmlns -- xmlns is special prefix for namespace dictionary xml -- special xml prefix for xml namespace. ssxmlnssxmlcCst|_||_|ioti||_n|itj odt |ii t ti joAt |iit tijot |ii t ti j ot d|indS(s~parent -- parent instance instance variables: attributes -- dictionary of node's attributes s#Bad type for a class variable in %sN( sNonesselfs attributessparents_parentsweakrefsrefs __class__sXMLSchemaComponentstypesrequiredscontentss RuntimeError(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s   xcCsT|}d}|ii|}x+| o"|i}|ii|}q!W|SdS(sreturn targetNamespace stargetNamespaceN(sselfsparentstargetNamespaces attributessgetstnss_parent(sselfstargetNamespacestnssparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetTargetNamespaces cCs|id|SdS(sattribute -- attribute with a QName value (eg. type). collection -- check types collection in parent Schema instance stypesN(sselfsgetQNameAttributes attribute(sselfs attribute((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetTypeDefinitionscCs|id|SdS(sattribute -- attribute with a QName value (eg. element). collection -- check elements collection in parent Schema instance. selementsN(sselfsgetQNameAttributes attribute(sselfs attribute((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetElementDeclarationsc Cs#t}|ii|}|ot|}|i }|i |joU|i }yt |||}Wqtj o}td|||fqXq|ii|oh|i|i} |i }yt | ||}Wqtj o}td|||fqXqn|SdS(s returns object instance representing QName --> (namespace,name), or if does not exist return None. attribute -- an information item attribute, with a QName value. collection -- collection in parent Schema instance to search. s2targetNamespace(%s) collection(%s) has no item(%s)N(sNonesobjsselfs attributessgets attributestdcs GetSchemasparentsgetTargetNamespacestargetNamespacesgetNamesitemsgetattrs collectionsKeyErrorsexsimportsshas_keys getSchemasschema( sselfs collections attributesobjsparentstdcsitemsexstargetNamespacesschema((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetQNameAttributes(    #cCs|tijo tiSn|}|itii |pti }xe| o\|i }|itii |pti }| o t |totd|qGqGW|SdS(sBdeference prefix or by default xmlns, returns namespace. sunknown prefix %sN(sprefixsXMLSchemaComponentsxmlsXMLNSsXMLsselfsparents attributessxmlnssgets xmlns_keysnss_parents isinstancesWSDLToolsAdapters SchemaError(sselfsprefixsparentsns((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetXMLNSs # #cCs|ii|SdS(s+return requested attribute or None N(sselfs attributessgets attribute(sselfs attribute((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys getAttributesc Cskhtih<|_x*|iiD]\}}t |\}}|tijo||i||pti parent: schema attributes: id -- ID name -- NCName, Required public -- token, Required system -- anyURI contents: annotation? snamespublicsidssystemsxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__tscCs|i||i|}xr|D]j}t|id}|djo|i o#t ||_ |i i |q#t d|iq#WdS(Nis annotationsUnknown component (%s)( sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomxs ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysNotationds  * s AnnotationcBsptZdZhde parent: all,any,anyAttribute,attribute,attributeGroup,choice,complexContent, complexType,element,extension,field,group,import,include,key,keyref, list,notation,redefine,restriction,schema,selector,simpleContent, simpleType,union,unique attributes: id -- ID contents: (documentation | appinfo)* sidsxsds documentationsappinfocCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNonescontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}g}x_|D]W}t|id}|djoq)q)|djoq)q)t d|iq)Wt ||_dS(Nis documentationsappinfosUnknown component (%s)( sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms   s DocumentationcBsMtZdZhde<de parent: annotation attributes: source, anyURI xml:lang, language contents: mixed, any ssourcesxml:langsxsdsmixedsanycCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNonescontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}g}x_|D]W}t|id}|djoq)q)|djoq)q)t d|iq)Wt ||_dS(NismixedsanysUnknown component (%s)( sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms   (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Documentations  sAppinfocBsMtZdZhde<de parent: annotation attributes: source, anyURI contents: mixed, any ssourcesanyURIsxsdsmixedsanycCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNonescontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}g}x_|D]W}t|id}|djoq)q)|djoq)q)t d|iq)Wt ||_dS(NismixedsanysUnknown component (%s)( sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms   (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAppinfos  ( s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDomsXMLSchemaComponents DocumentationsAppinfo(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Annotations   #s XMLSchemaFakecBstZdZRS(NcCs"ti|d|_||_dS(NstargetNamespace(sDOMsgetAttrselementsselfstargetNamespace(sselfselement((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s(s__name__s __module__s__init__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys XMLSchemaFakess XMLSchemacBsKtZdZhde<de<de<de<dd<dd<de<d e element information items. It represents the abstract notion of a schema rather than a single schema document (or other representation). parent: ROOT attributes: id -- ID version -- token xml:lang -- language targetNamespace -- anyURI attributeFormDefault -- 'qualified' | 'unqualified', 'unqualified' elementFormDefault -- 'qualified' | 'unqualified', 'unqualified' blockDefault -- '#all' | list of ('substitution | 'extension' | 'restriction') finalDefault -- '#all' | list of ('extension' | 'restriction' | 'list' | 'union') contents: ((include | import | redefine | annotation)*, (attribute, attributeGroup, complexType, element, group, notation, simpleType)*, annotation*)* attributes -- schema attributes imports -- import statements includes -- include statements redefines -- types -- global simpleType, complexType definitions elements -- global element declarations attr_decl -- global attribute declarations attr_groups -- attribute Groups model_groups -- model Groups notations -- global notations sidsversionsxml:langstargetNamespacesattributeFormDefaults unqualifiedselementFormDefaults blockDefaults finalDefaultsxsdsincludesimportsredefines annotations attributesattributeGroups complexTypeselementsgroupsnotations simpleTypescCst|_ti||d}d}d}t |d||_ t |d||_ t |d||_ t |d||_ t |d||_t |d||_t |d||_t |d||_h|_h|_t|_dS(s,parent -- instance variables: targetNamespace -- schema's declared targetNamespace, or empty string. _imported_schemas -- namespace keyed dict of schema dependencies, if a schema is provided instance will not resolve import statement. _included_schemas -- schemaLocation keyed dict of component schemas, if schema is provided instance will not resolve include statement. _base_url -- needed for relative URLs support, only works with URLs relative to initial document. includes -- collection of include statements imports -- collection of import statements elements -- collection of global element declarations types -- collection of global type definitions attr_decl -- collection of global attribute declarations attr_groups -- collection of global attribute group definitions model_groups -- collection of model group definitions notations -- collection of notations cCs |idS(Nsname(sks attributes(sk((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys>scCs |idS(Ns namespace(sks attributes(sk((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys?scCs |idS(NsschemaLocation(sks attributes(sk((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys@sskeyN(sNonesselfstargetNamespacesXMLSchemaComponents__init__sparentsfsnsssls Collectionsincludessimportsselementsstypess attr_decls attr_groupss model_groupss notationss_imported_schemass_included_schemass _base_url(sselfsparentsfsslsns((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__(s"      cCsRt|t o tdn|i|ijo||i|i parent: schema attributes: id -- ID namespace -- anyURI schemaLocation -- anyURI contents: annotation? sids namespacesschemaLocationsxsds annotationcCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotations_schema(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__.s cCs|i||i|}|id|iidjo tdnxr|D]j}t |i d}|djo|i o#t ||_ |i i|qQtd|i qQWdS(Ns namespacestargetNamespaces$namespace of schema and import matchis annotationsUnknown component (%s)(sselfs setAttributessnodes getContentsscontentss attributess_parents SchemaErrorsis SplitQNames getTagNames components annotations AnnotationsfromDom(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom3s ! cCs|i o|id}|iii|}| o |iio%|iiii|}n| o|iid}| ot d|n|ii }t d|}|ii|_|ii|_|i||_qn|ip|SdS(sif schema is not defined, first look for a Schema class instance in parent Schema. Else if not defined resolve schemaLocation and create a new Schema class instance, and keep a hard reference. s namespacesschemaLocationsnamespace(%s) is unknownsbase_urlN(sselfs_schemas attributessnss_parentsgetImportSchemassgetsschemasurls SchemaErrors getBaseUrlsbase_urls SchemaReadersreaders_importssgetIncludeSchemass _includess loadFromURL(sselfsurlsbase_urlsreadersnssschema((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys getSchemaBs   %( s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDoms getSchema(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysImports !  sIncludecBs\tZdZdgZhde<de parent: schema attributes: id -- ID schemaLocation -- anyURI, required contents: annotation? sschemaLocationsidsxsds annotationcCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotations_schema(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__gs cCs|i||i|}xr|D]j}t|id}|djo|i o#t ||_ |i i |q#t d|iq#WdS(Nis annotationsUnknown component (%s)( sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomls cCs|i o|i}|ii|id|_|i oV|id}td|i }|i |_ |i|_ |i||_qn|iSdS(sif schema is not defined, first look for a Schema class instance in parent Schema. Else if not defined resolve schemaLocation and create a new Schema class instance. sschemaLocationsbase_urlN(sselfs_schemas_parentsschemasgetIncludeSchemassgets attributessurls SchemaReaders getBaseUrlsreadersgetImportSchemass_importss _includess loadFromURL(sselfsurlsreadersschema((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys getSchemaxs    ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDoms getSchema(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysIncludeXs    (s__name__s __module__s__doc__sNones attributesscontentssempty_namespaces__init__saddImportSchemasaddIncludeSchemassetImportSchemassgetImportSchemassgetSchemaNamespacesToImportssetIncludeSchemassgetIncludeSchemass getBaseUrls setBaseUrlsgetElementFormDefaultsgetAttributeFormDefaultsgetBlockDefaultsgetFinalDefaultsloadsXMLSchemaComponentsImportsInclude(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys XMLSchemas* %N3 &             x:sAttributeDeclarationcBsqtZdZdgZhde<de<de<de<de parent: schema attributes: id -- ID name -- NCName, required type -- QName default -- string fixed -- string contents: annotation?, simpleType? snamesidstypesdefaultsfixedsxsds annotations simpleTypecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s cCs|i||i|}x|D]}t|id}|djo|i o#t ||_ |i i |q#|djo#t ||_ |i i |q#td|iq#WdS(s" No list or union support is annotations simpleTypesUnknown component (%s)N(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDomsAnonymousSimpleTypescontents SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms  ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeDeclarations  3 sLocalAttributeDeclarationcBstZdZdgZhde<de<de<dd<dd<de<d e parent: complexType, restriction, extension, attributeGroup attributes: id -- ID name -- NCName, required type -- QName form -- ('qualified' | 'unqualified'), schema.attributeFormDefault use -- ('optional' | 'prohibited' | 'required'), optional default -- string fixed -- string contents: annotation?, simpleType? snamesidstypesformcCst|iS(N(s GetSchemasselfsgetAttributeFormDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysssusesoptionalsdefaultsfixedsxsds annotations simpleTypecCs&ti||t|_t|_dS(N(sAttributeDeclarations__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s cCs|i||i|}x|D]}t|id}|djo|i o#t ||_ |i i |q#|djo#t ||_ |i i |q#td|iq#WdS(Nis annotations simpleTypesUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDomsAnonymousSimpleTypescontents SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms  ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysLocalAttributeDeclarations  H sAttributeWildCardcBsStZdZhde<dd<dd parents: complexType, restriction, extension, attributeGroup attributes: id -- ID namespace -- '##any' | '##other' | (anyURI* | '##targetNamespace' | '##local'), ##any processContents -- 'lax' | 'skip' | 'strict', strict contents: annotation? sids namespaces##anysprocessContentssstrictsxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}xr|D]j}t|id}|djo|i o#t ||_ |i i |q#t d|iq#WdS(Nis annotationsUnknown component (%s)( sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeWildCards ! sAttributeReferencecBsntZdZdgZhde<de<dd<de<de parents: complexType, restriction, extension, attributeGroup attributes: id -- ID ref -- QName, required use -- ('optional' | 'prohibited' | 'required'), optional default -- string fixed -- string contents: annotation? srefsidsusesoptionalsdefaultsfixedsxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__)scCs|i||i|}xr|D]j}t|id}|djo|i o#t ||_ |i i |q#t d|iq#WdS(Nis annotationsUnknown component (%s)( sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom-s ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeReferences  3 sAttributeGroupDefinitioncBs\tZdZdgZhde<de parents: schema, redefine attributes: id -- ID name -- NCName, required contents: annotation?, (attribute | attributeGroup)*, anyAttribute? snamesidsxsds annotationcCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotations attr_content(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__Ks cCs |iSdS(N(sselfs attr_content(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetAttributeContentPscCs|i||i|}g}xtt|D]u}t ||i d}|djo| o't ||_ |i i||q5|djor||ido|itn2||ido|itn td|di||q5|djo)|it|di||q5|d jot|tdjo)|it|di||q5td ||i q5Wt||_dS( Nis annotations attributesnamesrefsUnknown attribute typeisattributeGroups anyAttributesUnknown component (%s)(sselfs setAttributessnodes getContentsscontentsscontentsrangeslensindxs SplitQNames getTagNames components Annotations annotationsfromDomshasattrsappendsAttributeDeclarationsAttributeReferences SchemaErrorsAttributeGroupReferencesxsAttributeWildCardstuples attr_content(sselfsnodes componentsindxscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomSs0    $( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sgetAttributeContentsfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeGroupDefinition:s    sAttributeGroupReferencecBsStZdZdgZhde<de parents: complexType, restriction, extension, attributeGroup attributes: id -- ID ref -- QName, required contents: annotation? srefsidsxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}xr|D]j}t|id}|djo|i o#t ||_ |i i |q#t d|iq#WdS(Nis annotationsUnknown component (%s)( sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAttributeGroupReferenceps   sIdentityConstrantscBsbtZdZdZdZdefdYZdefdYZdefdYZRS( sAllow one to uniquely identify nodes in a document and ensure the integrity of references between them. attributes -- dictionary of attributes selector -- XPath to selected nodes fields -- list of XPath to key field cCs/ti||t|_t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNonesselectorsfieldss annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s  cCsI|i||i|}g}x |D]}t|id}||i idjo|djo|i o#t ||_ |i i |q2|djo)|i||_|ii |q)q2|djo.|i|i||di |q)q2td|intd|it||_q)WdS(Nisxsds annotationsselectorsfieldisUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssfieldssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomsSelectorsselectorsappendsFields SchemaErrorstuple(sselfsnodesisfieldss componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms*   s ConstraintcBstZdZdZRS(NcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}x|D]}t|id}||i idjoR|djo|i o#t ||_ |i i |qt d|iq#t d|iq#WdS(Nisxsds annotationsUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms (s__name__s __module__s__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Constraints sSelectorcBsAtZdZdgZhde<de parent: unique, key, keyref attributes: id -- ID xpath -- XPath subset, required contents: annotation? sxpathsidsxsds annotation(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysSelectors  sFieldcBsAtZdZdgZhde<de parent: unique, key, keyref attributes: id -- ID xpath -- XPath subset, required contents: annotation? sxpathsidsxsds annotation(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysFields  ( s__name__s __module__s__doc__s__init__sfromDomsXMLSchemaComponents ConstraintsSelectorsField(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysIdentityConstrantss   sUniquecBsGtZdZdgZhde<de Enforce fields are unique w/i a specified scope. parent: element attributes: id -- ID name -- NCName, required contents: annotation?, selector, field+ snamesidsxsds annotationsselectorsfield(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysUniques  sKeycBsGtZdZdgZhde<de Enforce fields are unique w/i a specified scope, and all field values are present w/i document. Fields cannot be nillable. parent: element attributes: id -- ID name -- NCName, required contents: annotation?, selector, field+ snamesidsxsds annotationsselectorsfield(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysKeys  sKeyRefcBsStZdZddgZhde<de<de Ensure a match between two sets of values in an instance. parent: element attributes: id -- ID name -- NCName, required refer -- QName, required contents: annotation?, selector, field+ snamesrefersidsxsds annotationsselectorsfield(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysKeyRefs  !sElementDeclarationc BstZdZdgZhde<de<de<de<de<dd<dd<d e<d d <d d  parents: schema attributes: id -- ID name -- NCName, required type -- QName default -- string fixed -- string nillable -- boolean, false abstract -- boolean, false substitutionGroup -- QName block -- ('#all' | ('substition' | 'extension' | 'restriction')*), schema.blockDefault final -- ('#all' | ('extension' | 'restriction')*), schema.finalDefault contents: annotation?, (simpleType,complexType)?, (key | keyref | unique)* snamesidstypesdefaultsfixedsnillableisabstractssubstitutionGroupsblockcCs|iiS(N(sselfs_parentsgetBlockDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysHssfinalcCs|iiS(N(sselfs_parentsgetFinalDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysIssxsds annotations simpleTypes complexTypeskeyskeyrefsuniquecCs/ti||t|_t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontents constraints(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__Ms  cCs|i||i|}g}x|D]}t|id}||i idjog|djo|i o#t ||_ |i i |q|djo|i o#t||_|ii |q|djo|i o#t||_|ii |q|djo(|it||di |q|djo(|it||di |q|d jo(|it||di |qtd |iq)td |iq)Wt||_dS( Nisxsds annotations simpleTypes complexTypeskeyiskeyrefsuniquesUnknown component (%s)(sselfs setAttributessnodes getContentsscontentss constraintssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomscontentsAnonymousSimpleTypesLocalComplexTypesappendsKeysKeyRefsUniques SchemaErrorstuple(sselfsnodesis componentscontentss constraints((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomSs8    ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysElementDeclaration(s  f ! sLocalElementDeclarationc BstZdZdgZhde<de<dd<de<dd<dd<d e<d e<d d <d d <dd parents: all, choice, sequence attributes: id -- ID name -- NCName, required form -- ('qualified' | 'unqualified'), schema.elementFormDefault type -- QName minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 default -- string fixed -- string nillable -- boolean, false block -- ('#all' | ('extension' | 'restriction')*), schema.blockDefault contents: annotation?, (simpleType,complexType)?, (key | keyref | unique)* snamesidsformcCst|iS(N(s GetSchemasselfsgetElementFormDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pyssstypes minOccurss1s maxOccurssdefaultsfixedsnillableisabstractsblockcCst|iS(N(s GetSchemasselfsgetBlockDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysssxsds annotations simpleTypes complexTypeskeyskeyrefsunique(s__name__s __module__s__doc__srequiredsNones attributesscontents(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysLocalElementDeclarationts  o sElementReferencecBsetZdZdgZhde<de<dd<dd parents: all, choice, sequence attributes: id -- ID ref -- QName, required minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 contents: annotation? srefsids minOccurss1s maxOccurssxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCst|_|i|x|i|D]}t|id}||i i djoR|djo|i o#t ||_|ii |qtd|iq&q&WdS(Nisxsds annotationsUnknown component (%s)(sNonesselfs annotations setAttributessnodes getContentssis SplitQNames getTagNames components __class__scontentss AnnotationsfromDoms SchemaError(sselfsnodesis component((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms  ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysElementReferences  * sElementWildCardcBsktZdZgZhde<dd<dd<dd<dd parents: choice, sequence attributes: id -- ID minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 namespace -- '##any' | '##other' | (anyURI* | '##targetNamespace' | '##local'), ##any processContents -- 'lax' | 'skip' | 'strict', strict contents: annotation? sids minOccurss1s maxOccurss namespaces##anysprocessContentssstrictsxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCst|_|i|x|i|D]}t|id}||i i djoR|djo|i o#t ||_|ii |qtd|iq&q&WdS(Nisxsds annotationsUnknown component (%s)(sNonesselfs annotations setAttributessnodes getContentssis SplitQNames getTagNames components __class__scontentss AnnotationsfromDoms SchemaError(sselfsnodesis component((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms  ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysElementWildCards 3 sSequencec BsbtZdZhde<dd<dd parents: complexType, extension, restriction, group, choice, sequence attributes: id -- ID minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 contents: annotation?, (element | group | choice | sequence | any)* sids minOccurss1s maxOccurssxsds annotationselementsgroupschoicessequencesanycCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s cCs|i||i|}g}x|D]}t|id}||i idjoA|djo|i o&t ||_ |i i |q)n|djo>|ido|it|q|it|n|djo|it|n|djo|it|n\|djo|it|n8|d jo|it|ntd |i|d i |q)td |iq)Wt||_dS( Nisxsds annotationselementsrefsgroupschoicessequencesanysUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomshasattrsappendsElementReferencesLocalElementDeclarationsModelGroupReferencesChoicesSequencesElementWildCards SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms6      (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysSequences !! sAllcBsVtZdZhde<dd<dd parents: complexType, extension, restriction, group attributes: id -- ID minOccurs -- '0' | '1', 1 maxOccurs -- '1', 1 contents: annotation?, element* sids minOccurss1s maxOccurssxsds annotationselementcCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__3s cCs7|i||i|}g}x|D]}t|id}||i idjo|djo|i o&t ||_ |i i |q)n_|djo>|ido|it|q|it|ntd|i|di |q)td|iq)Wt||_dS(Nisxsds annotationselementsrefsUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomshasattrsappendsElementReferencesLocalElementDeclarations SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom8s&  (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAll!s ! sChoicec BsbtZdZhde<dd<dd parents: complexType, extension, restriction, group, choice, sequence attributes: id -- ID minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 contents: annotation?, (element | group | choice | sequence | any)* sids minOccurss1s maxOccurssxsds annotationselementsgroupschoicessequencesanycCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__ds cCs|i||i|}g}x|D]}t|id}||i idjoA|djo|i o&t ||_ |i i |q)n|djo>|ido|it|q|it|n|djo|it|n|djo|it|n\|djo|it|n8|d jo|it|ntd |i|d i |q)td |iq)Wt||_dS( Nisxsds annotationselementsrefsgroupschoicessequencesanysUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentsscontentsis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomshasattrsappendsElementReferencesLocalElementDeclarationsModelGroupReferencesChoicesSequencesElementWildCards SchemaErrorstuple(sselfsnodesis componentscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomis6      (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysChoiceQs !! sModelGroupDefinitioncBs\tZdZdgZhde<de parents: redefine, schema attributes: id -- ID name -- NCName, required contents: annotation?, (all | choice | sequence)? snamesidsxsds annotationsallschoicessequencecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s cCsW|i||i|}x4|D],}t|id}||i idjo|djo|i o&t ||_ |i i |q#n|djo|i ot||_ nj|djo|i ot||_ n?|djo|i ot||_ ntd|i|i i |q#td|iq#WdS(Nisxsds annotationsallschoicessequencesUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDomscontentsAllsChoicesSequences SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms& ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysModelGroupDefinitions   sModelGroupReferencecBsetZdZdgZhde<de<dd<dd parents: choice, complexType, extension, restriction, sequence attributes: id -- ID ref -- NCName, required minOccurs -- Whole Number, 1 maxOccurs -- (Whole Number | 'unbounded'), 1 contents: annotation? srefsids minOccurss1s maxOccurssxsds annotationcCsti||t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__scCs|i||i|}x|D]}t|id}||i idjoR|djo|i o#t ||_ |i i |qt d|iq#t d|iq#WdS(Nisxsds annotationsUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDoms SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysModelGroupReferences  * s ComplexTypecBstZdZdgZhde<de<dd<dd<dd<dd  parents: redefine, schema attributes: id -- ID name -- NCName, required mixed -- boolean, false abstract -- boolean, false block -- ('#all' | ('extension' | 'restriction')*), schema.blockDefault final -- ('#all' | ('extension' | 'restriction')*), schema.finalDefault contents: annotation?, (simpleContent | complexContent | ((group | all | choice | sequence)?, (attribute | attributeGroup)*, anyAttribute?)) snamesidsmixedisabstractsblockcCs|iiS(N(sselfs_parentsgetBlockDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysssfinalcCs|iiS(N(sselfs_parentsgetFinalDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysssxsds annotations simpleContentscomplexContentsgroupsallschoicessequences attributesattributeGroups anyAttributesanycCs/ti||t|_t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontents attr_content(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s  cCs |iSdS(N(sselfs attr_content(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetAttributeContentscCs|i||i|}d}t|}| odSnt||i d}|djoKt ||_ |i i |||d7}t||i d}nt|_|djo-|ii||_|ii ||n|djo-|ii||_|ii ||n|djot||_na|djot||_nA|djot||_n!|d jot||_n|io"|ii |||d7}ng|_x||jot||i d}|d joH||id o|iit|q|iit|nf|d jo|iit|n?|d jo|iit|ntd||i |idi |||d7}qWdS(Niis annotations simpleContentscomplexContentsallschoicessequencesgroups attributesrefsattributeGroups anyAttributesUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentssindxslensnums SplitQNames getTagNames components Annotations annotationsfromDomsNonescontents __class__s SimpleContentsComplexContentsAllsChoicesSequencesModelGroupReferences attr_contentshasattrsappendsAttributeReferencesLocalAttributeDeclarationsAttributeGroupReferencesAttributeWildCards SchemaError(sselfsnodes componentsindxsnumscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom sZ                 s _DerivedTypecBstZdZdZRS(NcCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotations derivation(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__As cCs8|i||i|}x|D] }t|id}||i idjo|djo|i o&t ||_ |i i |q#q |djo|i o|i i||_ q |djo|i o|i i||_ q td|intd|i|i i |q#WdS(Nisxsds annotations restrictions extensionsUnknown component (%s)(sselfs setAttributessnodes getContentsscontentssis SplitQNames getTagNames components __class__s annotations AnnotationsfromDoms derivations Restrictions Extensions SchemaError(sselfsnodesis componentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomFs" (s__name__s __module__s__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys _DerivedType@s sComplexContentcBstZdZhde<dd parents: complexType attributes: id -- ID mixed -- boolean, false contents: annotation?, (restriction | extension) sidsmixedisxsds annotations restrictions extensions_DerivationBasec BsqtZdZdgZhde<de, parents: complexContent attributes: id -- ID base -- QName, required contents: annotation?, (group | all | choice | sequence)?, (attribute | attributeGroup)*, anyAttribute? sbasesidsxsds annotationsgroupsallschoicessequences attributesattributeGroups anyAttributecCs/ti||t|_t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontents attr_content(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__}s  cCs |iSdS(N(sselfs attr_content(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetAttributeContentscCs|i||i|}d}t|}| odSnt||i d}|djoKt ||_ |i i |||d7}t||i d}n|djo1t||_|ii |||d7}n|djo1t||_|ii |||d7}n|djo1t||_|ii |||d7}nH|djo1t||_|ii |||d7}n t|_g|_x6||jo(t||i d}|djoH||id o|iit|q|iit|n|d joH||id o|iit|q|iit|n?|d jo|iit|ntd ||i |id i |||d7}qWdS(Niis annotationsallschoicessequencesgroups attributesrefsattributeGroups anyAttributesUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentssindxslensnums SplitQNames getTagNames components Annotations annotationsfromDomsAllscontentsChoicesSequencesModelGroupReferencesNones attr_contentshasattrsappendsAttributeReferencesLocalAttributeDeclarationsAttributeGroupReferencesAttributeGroupDefinitionsAttributeWildCards SchemaError(sselfsnodes componentsindxsnumscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDoms\              ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sgetAttributeContentsfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys_DerivationBaseks  '  s ExtensioncBstZdZRS(s\ parents: complexContent attributes: id -- ID base -- QName, required contents: annotation?, (group | all | choice | sequence)?, (attribute | attributeGroup)*, anyAttribute? (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Extensions s RestrictioncBstZdZRS(s^ parents: complexContent attributes: id -- ID base -- QName, required contents: annotation?, (group | all | choice | sequence)?, (attribute | attributeGroup)*, anyAttribute? (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Restrictions ( s__name__s __module__s__doc__sNones attributesscontentssXMLSchemaComponents_DerivationBasesExtensionMarkers ExtensionsRestrictionMarkers Restriction(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysComplexContent[s Rs SimpleContentcBsgtZdZhde parents: complexType attributes: id -- ID contents: annotation?, (restriction | extension) sidsxsds annotations restrictions extensions ExtensioncBsetZdZdgZhde<de parents: simpleContent attributes: id -- ID base -- QName, required contents: annotation?, (attribute | attributeGroup)*, anyAttribute? sbasesidsxsds annotations attributesattributeGroups anyAttributecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotations attr_content(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__s cCs |iSdS(N(sselfs attr_content(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetAttributeContent scCs|i||i|}d}t|}t||i d}|djoKt ||_ |i i |||d7}t||i d}ng}x||jot||i d}|djoB||ido|it|q~|it|n`|djo|it|n<|djo|it|ntd||i |d i |||d7}qWt||_dS( Niis annotations attributesrefsattributeGroups anyAttributesUnknown component (%s)i(sselfs setAttributessnodes getContentsscontentssindxslensnums SplitQNames getTagNames components Annotations annotationsfromDomscontentshasattrsappendsAttributeReferencesLocalAttributeDeclarationsAttributeGroupReferencesAttributeWildCards SchemaErrorstuples attr_content(sselfsnodes componentsindxscontentsnumscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom s4        ( s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sgetAttributeContentsfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Extensions    s RestrictioncBsotZdZdgZhde<de parents: simpleContent attributes: id -- ID base -- QName, required contents: annotation?, simpleType?, (enumeration | length | maxExclusive | maxInclusive | maxLength | minExclusive | minInclusive | minLength | pattern | fractionDigits | totalDigits | whiteSpace)*, (attribute | attributeGroup)*, anyAttribute? sbasesidsxsds annotations simpleTypes attributesattributeGroups anyAttributecCs/ti||t|_t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontents attr_content(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__; s  cCs |iSdS(N(sselfs attr_content(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetAttributeContentA scCsg|_|i||i|}d}t|}t ||i d}|djoKt ||_ |i i|||d7}t ||i d}ng}x8||jo*t ||i d}|djoB||ido|it|q|it|n|djo|it|n{|djo|it|nW|djo2|iit||id i||ntd ||i |d i|||d7}qWt||_dS( Niis annotations attributesrefsattributeGroups anyAttributes simpleTypeisUnknown component (%s)(sselfscontents setAttributessnodes getContentsscontentssindxslensnums SplitQNames getTagNames components Annotations annotationsfromDomshasattrsappendsAttributeReferencesLocalAttributeDeclarationsAttributeGroupReferencesAttributeWildCardsLocalSimpleTypes SchemaErrorstuples attr_content(sselfsnodes componentsindxscontentsnumscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDomD s<          ( s__name__s __module__s__doc__srequiredsNones attributessRestrictionMarkersfacetsscontentss__init__sgetAttributeContentsfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Restriction% s  %  ( s__name__s __module__s__doc__sNones attributesscontentssXMLSchemaComponentsExtensionMarkers ExtensionsRestrictionMarkers Restriction(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys SimpleContents ;(s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sgetAttributeContentsfromDomsXMLSchemaComponents _DerivedTypes ComplexMarkersComplexContents SimpleMarkers SimpleContent(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys ComplexTypes  B0   6sLocalComplexTypecBs,tZdZgZhde<dd parents: element attributes: id -- ID mixed -- boolean, false contents: annotation?, (simpleContent | complexContent | ((group | all | choice | sequence)?, (attribute | attributeGroup)*, anyAttribute?)) sidsmixedi(s__name__s __module__s__doc__srequiredsNones attributes(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysLocalComplexTypei s s SimpleTypecBstZdZdgZhde<de<dd parents: redefine, schema attributes: id -- ID name -- NCName, required final -- ('#all' | ('extension' | 'restriction' | 'list' | 'union')*), schema.finalDefault contents: annotation?, (restriction | list | union) snamesidsfinalcCs|iiS(N(sselfs_parentsgetFinalDefault(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys ssxsds annotations restrictionslistsunioncCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__ s cCs|i||i|}x\|D]P}t|id}|djo&t ||_ |i i |q#nPq#WdS|djo|i i ||_nZ|djo|i i||_n4|djo|i i||_ntd||ii |dS(Nis annotations restrictionslistsunionsUnknown component (%s)(sselfs setAttributessnodes getContentsscontentsschilds SplitQNames getTagNames components Annotations annotationsfromDoms __class__s RestrictionscontentsListsUnions SchemaError(sselfsnodes componentschildscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom s&      s RestrictioncBsTtZdZhde<de parents: simpleType attributes: id -- ID base -- QName, required or simpleType child contents: annotation?, simpleType?, (enumeration | length | maxExclusive | maxInclusive | maxLength | minExclusive | minInclusive | minLength | pattern | fractionDigits | totalDigits | whiteSpace)* sidsbasesxsds annotations simpleTypecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__ s cCs |i||i|}g}xtt|D]}t ||i d}|djo| o*t ||_ |i i||q5q5|djo| p |djo,|it||di||q5|tijoq5tdti q5Wt||_dS(Nis annotations simpleTypeisUnknown component (%s)(sselfs setAttributessnodes getContentsscontentsscontentsrangeslensindxs SplitQNames getTagNames components Annotations annotationsfromDomsappendsAnonymousSimpleTypesRestrictionMarkersfacetss SchemaErrorsistuple(sselfsnodes componentsindxscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom s" "( s__name__s __module__s__doc__sNones attributessRestrictionMarkersfacetsscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys Restriction s  sUnioncBsMtZdZhde<de parents: simpleType attributes: id -- ID memberTypes -- list of QNames, required or simpleType child. contents: annotation?, simpleType* sids memberTypessxsds annotations simpleTypecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__ s cCs|i||i|}g}xtt|D]}t ||i d}|djo| o't ||_ |i i||q5|djo,|it||di||q5tdti q5Wt||_dS(Nis annotations simpleTypeisUnknown component (%s)(sselfs setAttributessnodes getContentsscontentsscontentsrangeslensindxs SplitQNames getTagNames components Annotations annotationsfromDomsappendsAnonymousSimpleTypes SchemaErrorsistuple(sselfsnodes componentsindxscontentscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom s  (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysUnion s  sListcBsMtZdZhde<de parents: simpleType attributes: id -- ID itemType -- QName, required or simpleType child. contents: annotation?, simpleType? sidsitemTypesxsds annotations simpleTypecCs&ti||t|_t|_dS(N(sXMLSchemaComponents__init__sselfsparentsNones annotationscontent(sselfsparent((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__ s cCs|i||i|}g|_xtt|D]}t ||i d}|djo| o't ||_ |i i||q8|djo(t||_|ii||Pq8tdti q8WdS(Nis annotations simpleTypesUnknown component (%s)(sselfs setAttributessnodes getContentsscontentsscontentsrangeslensindxs SplitQNames getTagNames components Annotations annotationsfromDomsAnonymousSimpleTypes SchemaErrorsi(sselfsnodes componentsindxscontents((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysfromDom s   (s__name__s __module__s__doc__sNones attributesscontentss__init__sfromDom(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysList s  (s__name__s __module__s__doc__srequiredsNones attributesscontentss__init__sfromDomsXMLSchemaComponentsRestrictionMarkers RestrictionsUnionsList(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys SimpleType{ s  $  .%sAnonymousSimpleTypecBs#tZdZgZhde parents: attribute, element, list, restriction, union attributes: id -- ID contents: annotation?, (restriction | list | union) sid(s__name__s __module__s__doc__srequiredsNones attributes(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysAnonymousSimpleType# s sRedefinecBstZdZRS(sD parents: attributes: contents: (s__name__s __module__s__doc__(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysRedefine2 s isTypeDescriptionComponentcBs)tZdZdZdZdZRS(sMTuple of length 2, consisting of a namespace and unprefixed name. cCsxt|djotd|n=|diddjo"|dt|ddf}nti||dSdS(sSargs -- (namespace, name) Remove the name's prefix, irrelevant. is)expecting tuple (namespace, name), got %sis:iN(slensargss TypeErrorsfinds SplitQNamestuples__init__sself(sselfsargs((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys__init__I s"cCs |dSdS(Ni(sself(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetTargetNamespaceT scCs |dSdS(Ni(sself(sself((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysgetNameW s(s__name__s __module__s__doc__s__init__sgetTargetNamespacesgetName(((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pysTypeDescriptionComponentE s  (Gsidentstypessweakrefsurllibssyss threadingsRLocks NamespacessXMLNSsUtilitysDOMs DOMExceptions Collections SplitQNamesStringIOs GetSchemas SchemaReaders Exceptions SchemaErrorsDOMAdapterInterfaces DOMAdaptersXMLBasesDefinitionMarkersDeclarationMarkersAttributeMarkersAttributeGroupMarkersWildCardMarkers ElementMarkersReferenceMarkersModelGroupMarkersExtensionMarkersRestrictionMarkers SimpleMarkers ComplexMarkers LocalMarkersMarkerInterfacesXMLSchemaComponentsWSDLToolsAdaptersNotations Annotations XMLSchemaFakes XMLSchemasAttributeDeclarationsLocalAttributeDeclarationsAttributeWildCardsAttributeReferencesAttributeGroupDefinitionsAttributeGroupReferencesIdentityConstrantssUniquesKeysKeyRefsElementDeclarationsLocalElementDeclarationsElementReferencesElementWildCardsSequencesAllsChoicesModelGroupDefinitionsModelGroupReferences ComplexTypesLocalComplexTypes SimpleTypesAnonymousSimpleTypesRedefines version_infostuples tupleClasss UserTuplesTypeDescriptionComponent(AsModelGroupReferences tupleClasss DOMExceptionsDOMAdapterInterfacesDOMsModelGroupDefinitionsAttributeWildCardsAttributeMarkersMarkerInterfaces CollectionsExtensionMarkers DOMAdaptersWSDLToolsAdapters AnnotationsXMLSchemaComponentsLocalAttributeDeclarationsNotations ElementMarkers SimpleMarkersChoicesurllibsAttributeReferences GetSchemasKeysElementReferences XMLSchemaFakesXMLBasesRestrictionMarkersModelGroupMarkersXMLNSsUniquesElementDeclarationsAttributeDeclarationsLocalComplexTypesRedefinesRLockssyssDefinitionMarkersAttributeGroupDefinitionsTypeDescriptionComponentsLocalElementDeclarations XMLSchemas SimpleTypesDeclarationMarkersReferenceMarkerstypessAttributeGroupReferences SchemaReadersAllsidentsAnonymousSimpleTypesKeyRefsStringIOs LocalMarkersElementWildCardsSequences ComplexMarkersweakrefs SplitQNames ComplexTypes UserTuples SchemaErrorsIdentityConstrantssWildCardMarkersAttributeGroupMarker((sO/mnt/gmirror/ports/net/py-soappy/work/SOAPpy-0.11.6/SOAPpy/wstools/XMLSchema.pys?s$    b5N,!j.1%(6&[L#&+909/+    \