Hi,
first I'd like to thank the editors for the good work.
The issues were collected after reading the spec top-to-bottom, and trying to produce an Atom-05 feed from an existing RSS-1.0 feed through XSLT. Most of them are editorial.
Best regards,
Julian
-- snip --
05-C01, 1.2 Example
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.1.2>
Inconsistencies:
- version attribute (whitespace) - "rel" attribute is missing
05-C02, 3.1.1, "type" attribute
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.3.1.1>
Suggested examples for TEXT, HTML and XHTML: a title containing the string "Less: <", where the less sign displays emphasized when possible..
<atomTitle type="TEXT"> Less: < </atomTitle>
<atomTitle type="HTML"> Less: <em> &lt; </em> </atomTitle>
<atomTitle type="XHTML" xmlns:xhtml="http://www.w3.org/1999/xhtml"> Less: <xhtml:em> < </xhtml:em> </atomTitle>
(hope I got these right).
05-C03, 3.1.1, "type" attribute
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.3.1.1>
"The content SHOULD be XHTML text and markup that could validly appear directly within an xhtml:div element."
Add reference to XHTML1 (<http://www.w3.org/TR/2002/REC-xhtml1-20020801>), section A).
05-C03, 4.3, atom:head
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.3>
'The version identifier for this specification is "draft-ietf-atompub-format-05: do not deploy"'
Spelling of the version attribute inconsistent with section 4.1.1.
05-C04, 4.11 atom:host
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.11>
Like others, I'm not sure I understand what this is for. I think one sentence of rational would make the spec easier to absorb.
05-C04, 4.15.2 atom:content
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.15.2>
Like others, I find the syntactic impact of allowing it either to be in-line or out-of-band confusing. I don't feel strongly about this, but using two distinct XML elements instead might make things easier.
"If the value of type begins with "text/" or ends with "+xml", the content SHOULD be local; that is to say, no "src" attribute should be provided."
I'm not sure I understand what this is for. It seems to discourage putting XML data out-of-band. Why?
05-C05, 4.15.3 processing model
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.15.3>
"If the value of "type" ends with "+xml" or "/xml", the content of atom:content may include child elements, and SHOULD be suitable for handling by software that knows the indicated media type. If the "src" attribute is not provided, this would normally mean that the "atom:content" element would contain a single child element which would serve as the root element of the XML document of the indicated type."
The statement about the "src" attribute seems to be unnecessary given the SHOULD-level requirement to have local content (thus no "src" attribute).
"If the value of "type" begins with "text/" the content of atom:content MUST NOT contain child elements."
See 4.15.2: so is this a SHOULD or a MUST?
05-C06, B RelaxNG schema
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.B>
I tried to use the schema to validate a feed that I generated and had the following problems:
- my version of trang (20030619) didn't accept the Schematron rules -- what else do I need to use RNC as reprinted?
- the namespace name doesn't match the current one
05-E01, todos
For instance:
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.1.p.4>
Recommend to do them using rfc2629bis's "cref" element.
05-E02, Notational Conventions
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#W3C.REC-xml-infoset-20011024>
Should't we refer to <http://www.w3.org/TR/2004/REC-xml-infoset-20040204/>?
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#RELAX-NG>
I think this should come with the following URL: <http://www.oasis-open.org/committees/relax-ng/spec-20011203.html>
05-E03, Notational Conventions
"A collected schema appears in an informative appendix."
(refer directly by section/appendix number). Same for some other intra-document references.
05-E04, Atom Documents
"... relative reference [RFC2396bis] present in an Atom..."
RFC2396bis has been published as RFC3986.
05-E05, 3.2.2 atom:uri
"The content of atom:uri in a Person construct MUST be a URI reference [RFC2396bis]."
Directly point to RFC3986's section (here: 4.1).
05-E06, 3.2.3 atom:email
"Its content MUST be an e-mail address [RFC2822]."
Again, please refer directly to the definition. In this case, it seems to be section 3.4.1 (addr-spec production).
05-E07, 4.2 atom:head
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.2>
"The atom:head element MAY contain any namespace-qualified [W3C.REC-xml-names-19990114] elements as children."
I think we're overdoing it here a bit and loose readability. I suggest to remove the reference or move it to the end of the sentence.
05-E08, 4.6.2 rel attribute
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.6.2>
If we use (A)BNF syntax, the spec needs to say so and reference the definition normatively (for instance, RFC2234).
"...same name registered within the IANA Registry of Link Relations Section 9, and..."
Put the section reference into brackets.
05-E09, 4.6.3 type attribute
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.6.3>
"Link elements MAY have a type attribute, whose value MUST conform to the syntax of a MIME media type [RFC2045]."
Add pointer into RFC2025 (I believe: section 5.1)
05-E10, 4.19 atom:tagline
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.section.4.19>
On reading this, it's not obvious to me how this is different from a atom:title element. One sentence of explanation (or even inclusion in the example) would be helpful.
05-E11, 9 IANA considerations
Something is wrong with the references to RFC3023 (sometimes they appear twice, one time even three times in a row).
05-E12, 11 references
<http://atompub.org/2005/01/27/draft-ietf-atompub-format-05.html#rfc.references>
Here's a procedural question: if we have normative references to the protocol and the feed discovery documents, the spec won't get published until those are done, too. Is everybody aware of that?