W3C

Google-Search

The document http://api.google.com/GoogleSearch.wsdl has been classified as being possibly an Advanced XML Schema Patterns for Databinding 1.0 conformant document as it only exhibits the following patterns:

Status Nodes Name XPath
basic TargetNamespace .[@targetNamespace]/ (., @targetNamespace)
advanced UnqualifiedLocalElements .[not(@elementFormDefault) or @elementFormDefault = 'unqualified']/ (., @elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
advanced ComplexTypeAll .//xs:complexType/xs:all/ (., xs:element/(., @name))
advanced AllElement .//xs:all/xs:element/(.)
basic ElementTypeReference .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and contains(@type, ':')]/ (., @name, @type)
basic AttributeReference .//xs:attribute[@ref and contains(@ref, ":")]/ (., @ref)
basic StringElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic BooleanElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:boolean')]
basic DoubleElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:double')]
basic IntElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:int')]
advanced SOAPEncodedArray ./xs:complexType[@name]/xs:complexContent/xs:restriction[ @base/resolve-QName(.,..) = xs:QName('soap11enc:Array')]/ xs:attribute[(@ref/resolve-QName(.,..) = xs:QName('soap11enc:arrayType')) and @wsdl11:arrayType]/ (../.., ../(., @base), ., @ref, @wsdl11:arrayType)
advanced ComplexTypeAttributeRestriction .//xs:complexType/xs:complexContent[xs:restriction[@base]/xs:attribute]/ (., xs:restriction/(., @base, xs:attribute/(., @name)))

<xsd:schema TargetNamespace UnqualifiedLocalElements UnqualifiedLocalAttributes targetNamespace="urn:GoogleSearch" TargetNamespace >
<xsd:complexType GlobalComplexType name="GoogleSearchResult" IdentifierName GlobalComplexType >
<xsd:all ComplexTypeAll >
<xsd:element ComplexTypeAll AllElement name="documentFiltering" IdentifierName ComplexTypeAll type="xsd:boolean" BooleanElement />
<xsd:element ComplexTypeAll AllElement name="searchComments" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="estimatedTotalResultsCount" IdentifierName ComplexTypeAll type="xsd:int" IntElement />
<xsd:element ComplexTypeAll AllElement name="estimateIsExact" IdentifierName ComplexTypeAll type="xsd:boolean" BooleanElement />
<xsd:element ComplexTypeAll AllElement ElementTypeReference name="resultElements" IdentifierName ComplexTypeAll ElementTypeReference type="typens:ResultElementArray" ElementTypeReference />
<xsd:element ComplexTypeAll AllElement name="searchQuery" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="startIndex" IdentifierName ComplexTypeAll type="xsd:int" IntElement />
<xsd:element ComplexTypeAll AllElement name="endIndex" IdentifierName ComplexTypeAll type="xsd:int" IntElement />
<xsd:element ComplexTypeAll AllElement name="searchTips" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement ElementTypeReference name="directoryCategories" IdentifierName ComplexTypeAll ElementTypeReference type="typens:DirectoryCategoryArray" ElementTypeReference />
<xsd:element ComplexTypeAll AllElement name="searchTime" IdentifierName ComplexTypeAll type="xsd:double" DoubleElement />
</xsd:all>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ResultElement" IdentifierName GlobalComplexType >
<xsd:all ComplexTypeAll >
<xsd:element ComplexTypeAll AllElement name="summary" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="URL" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="snippet" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="title" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="cachedSize" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="relatedInformationPresent" IdentifierName ComplexTypeAll type="xsd:boolean" BooleanElement />
<xsd:element ComplexTypeAll AllElement name="hostName" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement ElementTypeReference name="directoryCategory" IdentifierName ComplexTypeAll ElementTypeReference type="typens:DirectoryCategory" ElementTypeReference />
<xsd:element ComplexTypeAll AllElement name="directoryTitle" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
</xsd:all>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="ResultElementArray" IdentifierName GlobalComplexType >
<xsd:complexContent SOAPEncodedArray ComplexTypeAttributeRestriction >
<xsd:restriction SOAPEncodedArray ComplexTypeAttributeRestriction base="soapenc:Array" SOAPEncodedArray ComplexTypeAttributeRestriction >
<xsd:attribute AttributeReference SOAPEncodedArray ComplexTypeAttributeRestriction ref="soapenc:arrayType" AttributeReference SOAPEncodedArray wsdl:arrayType="typens:ResultElement[]" SOAPEncodedArray />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="DirectoryCategoryArray" IdentifierName GlobalComplexType >
<xsd:complexContent SOAPEncodedArray ComplexTypeAttributeRestriction >
<xsd:restriction SOAPEncodedArray ComplexTypeAttributeRestriction base="soapenc:Array" SOAPEncodedArray ComplexTypeAttributeRestriction >
<xsd:attribute AttributeReference SOAPEncodedArray ComplexTypeAttributeRestriction ref="soapenc:arrayType" AttributeReference SOAPEncodedArray wsdl:arrayType="typens:DirectoryCategory[]" SOAPEncodedArray />
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType GlobalComplexType name="DirectoryCategory" IdentifierName GlobalComplexType >
<xsd:all ComplexTypeAll >
<xsd:element ComplexTypeAll AllElement name="fullViewableName" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
<xsd:element ComplexTypeAll AllElement name="specialEncoding" IdentifierName ComplexTypeAll type="xsd:string" StringElement />
</xsd:all>
</xsd:complexType>
</xsd:schema>

This document was produced by the W3C XML Schema Patterns for Databinding Working Group. Comments on this document may be sent to the public public-xsd-databinding-comments@w3.org mailing list (public archive).