W3C

Yahoo-Geocode

The document http://api.local.yahoo.com/MapsService/V1/GeocodeResponse.xsd 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)
basic QualifiedLocalElements .[@elementFormDefault = 'qualified']/ (@elementFormDefault)
basic UnqualifiedLocalAttributes .[not(@attributeFormDefault) or @attributeFormDefault = 'unqualified']/ (., @attributeFormDefault)
basic IdentifierName .//.[matches(@name, "^[A-Za-z_]([A-Za-z0-9_]0 31)$")]/ (@name)
advanced ElementTypeDefaultNamespace .//xs:element[@name and @type and not(contains(@type, ':'))]/ (@name, @type)
advanced ElementMinOccurs0MaxOccursFinite .//xs:element[@minOccurs = '0' and @maxOccurs and not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs = 'unbounded')]/ (@minOccurs, @maxOccurs)
advanced ElementMaxOccursFinite .//xs:element[@maxOccurs and not(@maxOccurs = '0' or @maxOccurs = '1' or @maxOccurs = 'unbounded')]/ (@maxOccurs)
basic AttributeOptional .//xs:attribute[@use = 'optional']/ (@use)
basic GlobalComplexType ./xs:complexType[@name]/ (., @name)
basic ComplexTypeAttribute .//xs:complexType/xs:attribute[@name]/ (., @name)
basic ComplexTypeSequence .//xs:complexType/xs:sequence/ (., xs:element/(., @name))
basic GlobalElementSequence ./xs:element[@name]/xs:complexType/xs:sequence[xs:element]/ (../../(., @name), .., ., xs:element/(., @name))
basic SequenceElement .//xs:sequence/xs:element/(.)
advanced ElementTypeReferenceUnqualified .//xs:element[@name and @type and namespace-uri-from-QName(resolve-QName(@type,.)) != 'http://www.w3.org/2001/XMLSchema' and not(contains(@type, ':'))]/ (., @name, @type)
basic StringElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:string')]
basic StringAttribute .//xs:attribute/@type[resolve-QName(.,..) = xs:QName('xs:string')]
advanced DecimalElement .//xs:element/@type[resolve-QName(.,..) = xs:QName('xs:decimal')]
advanced GlobalElementComplexType .//xs:element[parent::xs:schema]/xs:complexType / (.,..)

<xs:schema TargetNamespace UnqualifiedLocalAttributes targetNamespace="urn:yahoo:maps" TargetNamespace elementFormDefault="qualified" QualifiedLocalElements >
<xs:complexType GlobalComplexType name="ResultType" IdentifierName GlobalComplexType >
<xs:sequence ComplexTypeSequence >
<xs:element ComplexTypeSequence SequenceElement name="Longitude" IdentifierName ComplexTypeSequence type="xs:decimal" DecimalElement />
</xs:sequence>
<xs:attribute ComplexTypeAttribute name="precision" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute />
<xs:attribute ComplexTypeAttribute name="warning" IdentifierName ComplexTypeAttribute type="xs:string" StringAttribute use="optional" AttributeOptional />
</xs:complexType>
</xs: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).