http://www.oruxmaps.com/oruxmapsextensions/1/0 Not Available

Started by Kenneth Evans, March 19, 2015, 09:31:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Kenneth Evans

First, I thought I had seen this topic before, but I cannot find it now.  In order to parse GPX output from OruxMaps, it would be nice to have the XSD.  However, the link in



<om:oruxmapsextensions xmlns:om="http://www.oruxmaps.com/oruxmapsextensions/1/0">http://www.oruxmaps.com/oruxmapsextensions/1/0">



does not exist, and I have not found the XSD.  Is there a place to find it?



In lieu of having a real one, I generated one, which works for <om:bpm> but probably doesn't have other elements.  In case it would be useful to others in place of the real one, here it is:


<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.oruxmaps.com/oruxmapsextensions/1/0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="oruxmapsextensions">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ext">
          <xs:complexType>
            <xs:simpleContent>
              <xs:extension base="xs:byte">
                <xs:attribute type="xs:string" name="type"/>
                <xs:attribute type="xs:byte" name="subtype"/>
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element type="xs:string" name="bpm"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>

orux

Quote from: "Kenneth Evans"First, I thought I had seen this topic before, but I cannot find it now.  In order to parse GPX output from OruxMaps, it would be nice to have the XSD.  However, the link in



<om:oruxmapsextensions xmlns:om="http://www.oruxmaps.com/oruxmapsextensions/1/0">http://www.oruxmaps.com/oruxmapsextensions/1/0">



does not exist, and I have not found the XSD.  Is there a place to find it?



In lieu of having a real one, I generated one, which works for <om:bpm> but probably doesn't have other elements.  In case it would be useful to others in place of the real one, here it is:


<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.oruxmaps.com/oruxmapsextensions/1/0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="oruxmapsextensions">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="ext">
          <xs:complexType>
            <xs:simpleContent>
              <xs:extension base="xs:byte">
                <xs:attribute type="xs:string" name="type"/>
                <xs:attribute type="xs:byte" name="subtype"/>
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element type="xs:string" name="bpm"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>


Hi, thanks;



It is not published.



It is very simple, it was an extension created to contain the type of track and heart rate. Nothing more.



Your xsd is correct.





orux