Loading src/main/resources/com/redfin/sitemapgenerator/siteindex.xsd +31 −32 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" elementFormDefault="qualified"> <xsd:annotation> <xsd:documentation> XML Schema for Sitemap index files. Last Modifed 2006-07-25 Last Modifed 2009-04-08 </xsd:documentation> </xsd:annotation> <xsd:element name="sitemapindex"> <xsd:annotation> <xsd:documentation> Container for a set of up to 1,000 sitemap URLs. Container for a set of up to 50,000 sitemap URLs. This is the root element of the XML file. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="sitemap" maxOccurs="1000"/> <xsd:element name="sitemap" type="tSitemap" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="sitemap"> <xsd:complexType name="tSitemap"> <xsd:annotation> <xsd:documentation> Container for the data needed to describe a sitemap. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:all> <xsd:element ref="loc"/> <xsd:element ref="lastmod" minOccurs="0"/> <xsd:element name="loc" type="tLocSitemap"/> <xsd:element name="lastmod" type="tLastmodSitemap" minOccurs="0"/> </xsd:all> </xsd:complexType> </xsd:element> <xsd:element name="loc"> <xsd:simpleType name="tLocSitemap"> <xsd:annotation> <xsd:documentation> REQUIRED: The location URI of a sitemap. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt). </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="12"/> <xsd:maxLength value="2048"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="lastmod"> <xsd:simpleType name="tLastmodSitemap"> <xsd:annotation> <xsd:documentation> OPTIONAL: The date the sitemap was last modified. The date must conform OPTIONAL: The date the document was last modified. The date must conform to the W3C DATETIME format (http://www.w3.org/TR/NOTE-datetime). Example: 2005-05-10 Lastmod may also contain a timestamp. Example: 2005-05-10T17:33:30+08:00 </xsd:documentation> </xsd:annotation> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="10"/> <xsd:maxLength value="25"/> </xsd:restriction> <xsd:restriction base="xsd:date"/> </xsd:simpleType> </xsd:element> <xsd:simpleType> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:schema> src/main/resources/com/redfin/sitemapgenerator/sitemap.xsd +48 −54 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" elementFormDefault="qualified"> <xsd:annotation> <xsd:documentation> XML Schema for Sitemap files. Last Modifed 2006-07-25 Last Modifed 2008-03-26 </xsd:documentation> </xsd:annotation> Loading @@ -19,43 +19,40 @@ </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="url" maxOccurs="unbounded"/> <xsd:element name="url" type="tUrl" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="url"> <xsd:complexType name="tUrl"> <xsd:annotation> <xsd:documentation> Container for the data needed to describe a document to crawl. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:all> <xsd:element ref="loc"/> <xsd:element ref="lastmod" minOccurs="0"/> <xsd:element ref="changefreq" minOccurs="0"/> <xsd:element ref="priority" minOccurs="0"/> </xsd:all> <xsd:sequence> <xsd:element name="loc" type="tLoc"/> <xsd:element name="lastmod" type="tLastmod" minOccurs="0"/> <xsd:element name="changefreq" type="tChangeFreq" minOccurs="0"/> <xsd:element name="priority" type="tPriority" minOccurs="0"/> <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="strict"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="loc"> <xsd:simpleType name="tLoc"> <xsd:annotation> <xsd:documentation> REQUIRED: The location URI of a document. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt). </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="12"/> <xsd:maxLength value="2048"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="lastmod"> <xsd:simpleType name="tLastmod"> <xsd:annotation> <xsd:documentation> OPTIONAL: The date the document was last modified. The date must conform Loading @@ -65,15 +62,17 @@ Example: 2005-05-10T17:33:30+08:00 </xsd:documentation> </xsd:annotation> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="10"/> <xsd:maxLength value="25"/> </xsd:restriction> <xsd:restriction base="xsd:date"/> </xsd:simpleType> <xsd:simpleType> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:element> <xsd:element name="changefreq"> <xsd:simpleType name="tChangeFreq"> <xsd:annotation> <xsd:documentation> OPTIONAL: Indicates how frequently the content at a particular URL is Loading @@ -84,7 +83,6 @@ Consider this element as a friendly suggestion and not a command. </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="always"/> <xsd:enumeration value="hourly"/> Loading @@ -95,9 +93,8 @@ <xsd:enumeration value="never"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="priority"> <xsd:simpleType name="tPriority"> <xsd:annotation> <xsd:documentation> OPTIONAL: The priority of a particular URL relative to other pages Loading @@ -109,13 +106,10 @@ is what will be considered. </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:minInclusive value="0.0"/> <xsd:maxInclusive value="1.0"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:schema> Loading
src/main/resources/com/redfin/sitemapgenerator/siteindex.xsd +31 −32 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" elementFormDefault="qualified"> <xsd:annotation> <xsd:documentation> XML Schema for Sitemap index files. Last Modifed 2006-07-25 Last Modifed 2009-04-08 </xsd:documentation> </xsd:annotation> <xsd:element name="sitemapindex"> <xsd:annotation> <xsd:documentation> Container for a set of up to 1,000 sitemap URLs. Container for a set of up to 50,000 sitemap URLs. This is the root element of the XML file. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="sitemap" maxOccurs="1000"/> <xsd:element name="sitemap" type="tSitemap" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="sitemap"> <xsd:complexType name="tSitemap"> <xsd:annotation> <xsd:documentation> Container for the data needed to describe a sitemap. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:all> <xsd:element ref="loc"/> <xsd:element ref="lastmod" minOccurs="0"/> <xsd:element name="loc" type="tLocSitemap"/> <xsd:element name="lastmod" type="tLastmodSitemap" minOccurs="0"/> </xsd:all> </xsd:complexType> </xsd:element> <xsd:element name="loc"> <xsd:simpleType name="tLocSitemap"> <xsd:annotation> <xsd:documentation> REQUIRED: The location URI of a sitemap. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt). </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="12"/> <xsd:maxLength value="2048"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="lastmod"> <xsd:simpleType name="tLastmodSitemap"> <xsd:annotation> <xsd:documentation> OPTIONAL: The date the sitemap was last modified. The date must conform OPTIONAL: The date the document was last modified. The date must conform to the W3C DATETIME format (http://www.w3.org/TR/NOTE-datetime). Example: 2005-05-10 Lastmod may also contain a timestamp. Example: 2005-05-10T17:33:30+08:00 </xsd:documentation> </xsd:annotation> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="10"/> <xsd:maxLength value="25"/> </xsd:restriction> <xsd:restriction base="xsd:date"/> </xsd:simpleType> </xsd:element> <xsd:simpleType> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:schema>
src/main/resources/com/redfin/sitemapgenerator/sitemap.xsd +48 −54 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" elementFormDefault="qualified"> <xsd:annotation> <xsd:documentation> XML Schema for Sitemap files. Last Modifed 2006-07-25 Last Modifed 2008-03-26 </xsd:documentation> </xsd:annotation> Loading @@ -19,43 +19,40 @@ </xsd:annotation> <xsd:complexType> <xsd:sequence> <xsd:element ref="url" maxOccurs="unbounded"/> <xsd:element name="url" type="tUrl" maxOccurs="unbounded"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="url"> <xsd:complexType name="tUrl"> <xsd:annotation> <xsd:documentation> Container for the data needed to describe a document to crawl. </xsd:documentation> </xsd:annotation> <xsd:complexType> <xsd:all> <xsd:element ref="loc"/> <xsd:element ref="lastmod" minOccurs="0"/> <xsd:element ref="changefreq" minOccurs="0"/> <xsd:element ref="priority" minOccurs="0"/> </xsd:all> <xsd:sequence> <xsd:element name="loc" type="tLoc"/> <xsd:element name="lastmod" type="tLastmod" minOccurs="0"/> <xsd:element name="changefreq" type="tChangeFreq" minOccurs="0"/> <xsd:element name="priority" type="tPriority" minOccurs="0"/> <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="strict"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="loc"> <xsd:simpleType name="tLoc"> <xsd:annotation> <xsd:documentation> REQUIRED: The location URI of a document. The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt). </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:anyURI"> <xsd:minLength value="12"/> <xsd:maxLength value="2048"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="lastmod"> <xsd:simpleType name="tLastmod"> <xsd:annotation> <xsd:documentation> OPTIONAL: The date the document was last modified. The date must conform Loading @@ -65,15 +62,17 @@ Example: 2005-05-10T17:33:30+08:00 </xsd:documentation> </xsd:annotation> <xsd:union> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:minLength value="10"/> <xsd:maxLength value="25"/> </xsd:restriction> <xsd:restriction base="xsd:date"/> </xsd:simpleType> <xsd:simpleType> <xsd:restriction base="xsd:dateTime"/> </xsd:simpleType> </xsd:union> </xsd:simpleType> </xsd:element> <xsd:element name="changefreq"> <xsd:simpleType name="tChangeFreq"> <xsd:annotation> <xsd:documentation> OPTIONAL: Indicates how frequently the content at a particular URL is Loading @@ -84,7 +83,6 @@ Consider this element as a friendly suggestion and not a command. </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="always"/> <xsd:enumeration value="hourly"/> Loading @@ -95,9 +93,8 @@ <xsd:enumeration value="never"/> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:element name="priority"> <xsd:simpleType name="tPriority"> <xsd:annotation> <xsd:documentation> OPTIONAL: The priority of a particular URL relative to other pages Loading @@ -109,13 +106,10 @@ is what will be considered. </xsd:documentation> </xsd:annotation> <xsd:simpleType> <xsd:restriction base="xsd:decimal"> <xsd:minInclusive value="0.0"/> <xsd:maxInclusive value="1.0"/> </xsd:restriction> </xsd:simpleType> </xsd:element> </xsd:schema>