geopriv10.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema
  3. targetNamespace="urn:ietf:params:xml:ns:pidf:geopriv10"
  4. xmlns:tns="urn:ietf:params:xml:ns:pidf:geopriv10"
  5. xmlns:gbp="urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  7. elementFormDefault="qualified" attributeFormDefault="unqualified">
  8. <xs:import namespace=
  9. "urn:ietf:params:xml:ns:pidf:geopriv10:basicPolicy" />
  10. <!-- This import brings in the XML language attribute xml:lang-->
  11. <xs:import namespace="http://www.w3.org/XML/1998/namespace"
  12. schemaLocation="http://www.w3.org/2001/xml.xsd"/>
  13. <xs:element name="geopriv" type="tns:geopriv"/>
  14. <xs:complexType name="geopriv">
  15. <xs:sequence>
  16. <xs:element name="location-info" type="tns:locInfoType"
  17. minOccurs="1" maxOccurs="1"/>
  18. <xs:element name="usage-rules" type="gbp:locPolicyType"
  19. minOccurs="1" maxOccurs="1"/>
  20. <xs:element name="method" type="tns:locMethod"
  21. minOccurs="0" maxOccurs="1"/>
  22. <xs:element name="provided-by" type="tns:locProvidedBy"
  23. minOccurs="0" maxOccurs="1"/>
  24. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  25. maxOccurs="unbounded"/>
  26. </xs:sequence>
  27. </xs:complexType>
  28. <xs:complexType name="locInfoType">
  29. <xs:sequence>
  30. <xs:any namespace="##other" processContents="lax" minOccurs="0"
  31. maxOccurs="unbounded"/>
  32. </xs:sequence>
  33. </xs:complexType>
  34. <xs:complexType name="locMethod">
  35. <xs:simpleContent>
  36. <xs:extension base="xs:string">
  37. <xs:attribute ref="xml:lang" />
  38. </xs:extension>
  39. </xs:simpleContent>
  40. </xs:complexType>
  41. <xs:complexType name="locProvidedBy">
  42. <xs:sequence>
  43. <xs:any namespace="##other" processContents="skip"
  44. minOccurs="1" maxOccurs="unbounded"/>
  45. </xs:sequence>
  46. </xs:complexType>
  47. </xs:schema>