From a109a6b8106605ac8e96acf90b1e86f751e0c510 Mon Sep 17 00:00:00 2001 From: lucidiot Date: Wed, 22 Nov 2023 23:38:33 +0100 Subject: [PATCH] Fix line endings and trailing whitespace --- xsd/blogchannel.xsd | 140 ++++----- xsd/geo.xsd | 112 +++---- xsd/nhc.xsd | 2 +- xsd/opml.xsd | 704 ++++++++++++++++++++++---------------------- xsd/rss.xsd | 38 +-- xsd/syndication.xsd | 142 ++++----- xsd/webfeeds.xsd | 2 +- 7 files changed, 570 insertions(+), 570 deletions(-) diff --git a/xsd/blogchannel.xsd b/xsd/blogchannel.xsd index c5bc208..6ef7bc6 100644 --- a/xsd/blogchannel.xsd +++ b/xsd/blogchannel.xsd @@ -1,70 +1,70 @@ - - - - - blogChannel RSS Module XML schema - - ]]> - - - - - - URL of an OPML file containing the blogroll for this website. - - - - - - - URL of an OPML file containing the RSS feed subscriptions of the website's managing editor. - - - - - - - - URL of a weblog that this website's managing editor is promoting, per Mark Pilgrim's description. - - - ]]> - - - - - - - URL of a changes.xml file. - - When the feed that contains this element updates, it pings a server that updates this file. - The presence of this element says to aggregators that they only have to read the changes file to see if this feed has updated. - If several feeds point to the same changes file, the aggregator has to do less polling, resulting in better use of server bandwidth, and the Internet as a whole; and resulting in faster scans. - - - ]]> - - - - + + + + + blogChannel RSS Module XML schema + + ]]> + + + + + + URL of an OPML file containing the blogroll for this website. + + + + + + + URL of an OPML file containing the RSS feed subscriptions of the website's managing editor. + + + + + + + + URL of a weblog that this website's managing editor is promoting, per Mark Pilgrim's description. + + + ]]> + + + + + + + URL of a changes.xml file. + + When the feed that contains this element updates, it pings a server that updates this file. + The presence of this element says to aggregators that they only have to read the changes file to see if this feed has updated. + If several feeds point to the same changes file, the aggregator has to do less polling, resulting in better use of server bandwidth, and the Internet as a whole; and resulting in faster scans. + + + ]]> + + + + diff --git a/xsd/geo.xsd b/xsd/geo.xsd index 33c7e3c..04cef84 100644 --- a/xsd/geo.xsd +++ b/xsd/geo.xsd @@ -1,56 +1,56 @@ - - - - - - - - - - - - - - - - - - - - Latitude of the location being referred to by this channel or item, in WGS84. - - - - - - Longitude of the location being referred to by this channel or item, in WGS84. - - - - - - Elevation of the location being referred to by this channel or item, in WGS84. - - - + + + + + + + + + + + + + + + + + + + + Latitude of the location being referred to by this channel or item, in WGS84. + + + + + + Longitude of the location being referred to by this channel or item, in WGS84. + + + + + + Elevation of the location being referred to by this channel or item, in WGS84. + + + diff --git a/xsd/nhc.xsd b/xsd/nhc.xsd index 966cf90..2eecfcd 100644 --- a/xsd/nhc.xsd +++ b/xsd/nhc.xsd @@ -136,7 +136,7 @@ and the RSS examples at Location of the center of the weather system, as a WGS84 latitude and longitude. - + Type of the weather system. Not all possible values are known. diff --git a/xsd/opml.xsd b/xsd/opml.xsd index ca77ea1..c8f056e 100644 --- a/xsd/opml.xsd +++ b/xsd/opml.xsd @@ -1,352 +1,352 @@ - - - - - - Outline Processor Markup Language 2.0 XML Schema - - - ]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Address of a web page that identifies the author or allows contacting them. - - - No two authors have the same ownerId. - - - - - - - Address of the specification for the OPML file format. - - - .]]> - - - - - - - Comma-separated list of line numbers indicating which outline elements should be in an expanded state. - - - Expanding an outline will change the line numbers of the outlines below, allowing to expand outlines recursively. - - - Child outlines of non-expanded outlines cannot be stored as expanded. - - - - - - - Line number of the outline element that should be at the top of the window, calculated after the expansion state is already applied. - - - - - - - Location of the top edge of the outliner's window, in pixels. - - - - - - - Location of the left edge of the outliner's window, in pixels. - - - - - - - Location of the bottom edge of the outliner's window, in pixels. - - - - - - - Location of the right edge of the outliner's window, in pixels. - - - - - - - - - - - - - - - - - - - Attributes that are defined for `type="link"` and `type="include"` outlines. - - - XSD 1.0 does not allow us to restrict those attributes to those two types. - - - - - - - - - Format and version of a feed described in a `type="rss"` outline. - - - - - - - - - - - - - Recommended value for Really Simple Syndication 0.91, 0.92 or 2.0. - - - - - - - Recommended value for RDF Site Summary 1.0. - - - - - - - Recommended value for the Scripting News format. - - - - - - - Recommended value for Atom 1.0. - - - - - - - - - - - - Attributes that are defined for `type="rss"` outlines. - - - XSD 1.0 does not allow us to restrict those attributes to this type. - - - - - - URL of the feed. This is required when using a `type="rss"` outline. - - - - - - - element of the RSS feed's channel, for `type="rss"` outlines.]]> - - - - - - - element of the RSS feed's channel, for `type="rss"` outlines.]]> - - - While `text` can contain a user-defined feed name, `title` should always contain the original title of the feed. - - - - - - - - - - - - - - element of the RSS feed's channel, for `type="rss"` outlines.]]> - - - - - - - element of the RSS feed's channel, for `type="rss"` outlines.]]> - - - - - - - - - The type of an outline element. - - - An outline without a type is considered to be either a simple text outline if it does not contain any child outlines, or a directory. - - - - - - - - - A link to an online resource. Link outlines must have a `url` attribute. - - - When the link's URL ends with `.opml`, this outline behaves like an `include` outline, with the OPML file getting downloaded and this outline getting replaced with the OPML file's contents. - - - Otherwise, this outline should be rendered as a clickable link to any other resource. - - - - - - - A link to an OPML file. The `url` attribute must be set to the URL of the OPML file. The OPML file should be downloaded, and this outline should be replaced with its contents. - - - - - - - A syndication feed. The `xmlUrl` attribute must be set to the URL of the feed. The `description`, `htmlUrl`, `language`, `title` and `version` attributes may be set to provide additional information. - - - - - - - - - - - - - - - - - - - - - - Whether this outline is commented. If an outline is commented, all its child outlines are implicitly commented. - - - - - - - Whether or not a breakpoint is set on this outline. This is mostly used for outlines that allow editing scripts. - - - - - - - Date of creation of this outline. - - - - - - - Comma-separated list of categories and tags, in a format similar to the Really Simple Syndication 2.0 category element. - - - A category starts with a slash, and a hierarchy of sub-categories can be defined: /Formats/OPML/2.0 - - - A tag does not start with a slash, and there is no hierarchy. - - - - - - - - - - + + + + + + Outline Processor Markup Language 2.0 XML Schema + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Address of a web page that identifies the author or allows contacting them. + + + No two authors have the same ownerId. + + + + + + + Address of the specification for the OPML file format. + + + .]]> + + + + + + + Comma-separated list of line numbers indicating which outline elements should be in an expanded state. + + + Expanding an outline will change the line numbers of the outlines below, allowing to expand outlines recursively. + + + Child outlines of non-expanded outlines cannot be stored as expanded. + + + + + + + Line number of the outline element that should be at the top of the window, calculated after the expansion state is already applied. + + + + + + + Location of the top edge of the outliner's window, in pixels. + + + + + + + Location of the left edge of the outliner's window, in pixels. + + + + + + + Location of the bottom edge of the outliner's window, in pixels. + + + + + + + Location of the right edge of the outliner's window, in pixels. + + + + + + + + + + + + + + + + + + + Attributes that are defined for `type="link"` and `type="include"` outlines. + + + XSD 1.0 does not allow us to restrict those attributes to those two types. + + + + + + + + + Format and version of a feed described in a `type="rss"` outline. + + + + + + + + + + + + + Recommended value for Really Simple Syndication 0.91, 0.92 or 2.0. + + + + + + + Recommended value for RDF Site Summary 1.0. + + + + + + + Recommended value for the Scripting News format. + + + + + + + Recommended value for Atom 1.0. + + + + + + + + + + + + Attributes that are defined for `type="rss"` outlines. + + + XSD 1.0 does not allow us to restrict those attributes to this type. + + + + + + URL of the feed. This is required when using a `type="rss"` outline. + + + + + + + element of the RSS feed's channel, for `type="rss"` outlines.]]> + + + + + + + element of the RSS feed's channel, for `type="rss"` outlines.]]> + + + While `text` can contain a user-defined feed name, `title` should always contain the original title of the feed. + + + + + + + + + + + + + + element of the RSS feed's channel, for `type="rss"` outlines.]]> + + + + + + + element of the RSS feed's channel, for `type="rss"` outlines.]]> + + + + + + + + + The type of an outline element. + + + An outline without a type is considered to be either a simple text outline if it does not contain any child outlines, or a directory. + + + + + + + + + A link to an online resource. Link outlines must have a `url` attribute. + + + When the link's URL ends with `.opml`, this outline behaves like an `include` outline, with the OPML file getting downloaded and this outline getting replaced with the OPML file's contents. + + + Otherwise, this outline should be rendered as a clickable link to any other resource. + + + + + + + A link to an OPML file. The `url` attribute must be set to the URL of the OPML file. The OPML file should be downloaded, and this outline should be replaced with its contents. + + + + + + + A syndication feed. The `xmlUrl` attribute must be set to the URL of the feed. The `description`, `htmlUrl`, `language`, `title` and `version` attributes may be set to provide additional information. + + + + + + + + + + + + + + + + + + + + + + Whether this outline is commented. If an outline is commented, all its child outlines are implicitly commented. + + + + + + + Whether or not a breakpoint is set on this outline. This is mostly used for outlines that allow editing scripts. + + + + + + + Date of creation of this outline. + + + + + + + Comma-separated list of categories and tags, in a format similar to the Really Simple Syndication 2.0 category element. + + + A category starts with a slash, and a hierarchy of sub-categories can be defined: /Formats/OPML/2.0 + + + A tag does not start with a slash, and there is no hierarchy. + + + + + + + + + + diff --git a/xsd/rss.xsd b/xsd/rss.xsd index b905eaa..d49d7a5 100644 --- a/xsd/rss.xsd +++ b/xsd/rss.xsd @@ -18,8 +18,8 @@ along with this program. If not, see . Changes from the upstream at : --> - XML Schema for RSS v2.0 feed files. @@ -206,10 +206,10 @@ Changes from the upstream at : - @@ -432,30 +432,30 @@ Date Revision Description - Use namespace="##other" on 's to create a more deterministic data model. - Added missing xs:documentation inside xs:annotation at the schema level. - Use xs:language for ISO Language Codes in element. - - Change guid to a single declaration. This loses some of the checking of the - URL when the contents of the guid is a permaLink, so we will need to add + - Change guid to a single declaration. This loses some of the checking of the + URL when the contents of the guid is a permaLink, so we will need to add that back in with a regexp pattern. 14-Apr-2003 3 Changes to solve some element ordering problems. - Use xs:all in place of xs:sequence to support flexible ordering of elements. - Although the ordering constraints for elements is not clear from the - original specification, the custom and practice seems to be that + Although the ordering constraints for elements is not clear from the + original specification, the custom and practice seems to be that element ordering is free-form. - Use elementFormDefault="qualified" for explicit intent. 15-Apr-2003 4 Changes to solve some element ordering problems. - Use xs:choice in place of xs:all as previous usage of was invalid. - This creates the problem that insufficient constraints can be applied + This creates the problem that insufficient constraints can be applied by the schema - for example, it can't prevent two title elements for an item. - - Use elementFormDefault="unqualified" for to get the correct behaviours + - Use elementFormDefault="unqualified" for to get the correct behaviours when importing and combining schemas. -15-Apr-2003 5 Putting the extensibility element inside the repeating choice solves +15-Apr-2003 5 Putting the extensibility element inside the repeating choice solves all problems with element ordering. -15-Apr-2003 6 - skipHours and skipDays should contain a nested list of values, +15-Apr-2003 6 - skipHours and skipDays should contain a nested list of values, not just a single value. - Added version attribute to schema definition. - Corrected type of the cloud element 25-Apr-2003 7 - Add regexp for RFC-822 date suggested by Sam Ruby - - I had to leave the base type of the tRfc822FormatDate type - as xs:string due to the problems with using + - I had to leave the base type of the tRfc822FormatDate type + as xs:string due to the problems with using a pattern with xs:dateTime described at http://www.thearchitect.co.uk/weblog/archives/2003/04/000142.html 19-Jun-2003 8 - Fixed a bug that the Oxygen XML Editor spotted in the regexp for RFC-822 dates @@ -464,11 +464,11 @@ Date Revision Description 24-Jun-2003 10 - Missing types for item/title and item/description - Spotted by Andreas Schwotzer. 01-Jan-2008 11 - Copy made available under the Microsoft Public License (MS-PL). 25-May-2008 12 - Bug fix 10231 from Ken Gruven - channel can contain zero or more items. -06-Sep-2008 13 - Fixed tab-space whitespace issues. Now always use spaces. - - Undid the fix for bug-fix 10231 since it made the schema non-deterministic +06-Sep-2008 13 - Fixed tab-space whitespace issues. Now always use spaces. + - Undid the fix for bug-fix 10231 since it made the schema non-deterministic with respect to extensibility elements in tRssChannel - need to reconsider the fix. -08-Sep-2008 14 - Removed 't' prefixes from type names to improve class names - that get code-generated from the schema. +08-Sep-2008 14 - Removed 't' prefixes from type names to improve class names + that get code-generated from the schema. 22-Sep-2008 15 - Move type def for rss element in-line for improved compatibility with Java 1.6 tools. 01-Nov-2008 16 - Added the missing rating element from the spec to RssChannel. 04-Sep-2019 17 - Fixed some minor typos in comments and messages. diff --git a/xsd/syndication.xsd b/xsd/syndication.xsd index 483e008..3fea944 100644 --- a/xsd/syndication.xsd +++ b/xsd/syndication.xsd @@ -1,71 +1,71 @@ - - - - - RDF Site Summary 1.0 Syndication Module 1.4.1 XML schema - - ]]> - - - - - - Period over which the channel format is updated. - - - - - - - - - - - - - - - Frequency of updates in relation to the update period. - A positive integer indicates how many times in that period the channel is updated. - For example, an updatePeriod of daily, and an updateFrequency of 2 indicates the channel format is updated twice daily. - - - - - - A date and time that follows the W3C note on Date and Time formats, and has a precision in minutes. - ]]> - - - - - - - - - Base date to be used in concert with updatePeriod and updateFrequency to calculate the publishing schedule. - - - + + + + + RDF Site Summary 1.0 Syndication Module 1.4.1 XML schema + + ]]> + + + + + + Period over which the channel format is updated. + + + + + + + + + + + + + + + Frequency of updates in relation to the update period. + A positive integer indicates how many times in that period the channel is updated. + For example, an updatePeriod of daily, and an updateFrequency of 2 indicates the channel format is updated twice daily. + + + + + + A date and time that follows the W3C note on Date and Time formats, and has a precision in minutes. + ]]> + + + + + + + + + Base date to be used in concert with updatePeriod and updateFrequency to calculate the publishing schedule. + + + diff --git a/xsd/webfeeds.xsd b/xsd/webfeeds.xsd index 4517c4f..c52a63b 100644 --- a/xsd/webfeeds.xsd +++ b/xsd/webfeeds.xsd @@ -84,7 +84,7 @@ along with this program. If not, see . - +