On Tue, May 24, 2005 at 11:08:26AM -0400, Karl Dubost wrote:

> Let's go a bit further though. Let's say I'm a developer who's  
> creating an authoring tool for Atom, so more a producer than a  
> consumer application.
> 
> "Atom Feed Documents"
> "Atom Entry Documents"
> 
> I read "An Atom Entry Document represents exactly one Atom entry,  
> outside of the context of an Atom feed. Its root is the atom:entry  
> element."
> 
> Nowhere it is said that
>     "the root element of a conformant Atom Entry Document MUST be  
> "atom:entry"."

The implication (and I think it's pretty clear, but perhaps I'm used
to IETF documents) is that if we don't talk about MUST and SHOULD and
MAY, then a statement is an absolute requirement. We're saying that an
Atom Entry Document has a root which is an atom:entry element. So if
you have something that has a root that's something else, there's no
way it can be an Atom Entry Document.

I actually think that having a "conformant" layer is often bad -
because it suggests that "nonconformant" Atom Entry Documents might
exist and might mean something. By avoiding doing this, we define what
an Atom Entry Document is, and if you create something that doesn't
follow with that definition, you don't have an Atom Entry Document.

> What is a conformant Atom Authoring Tool?

An "Atom Authoring Tool" would be an authoring tool (however you want
to define it) that in some way uses Atom. Again, I don't see the need
for the word 'conformant'. The term "Atom Authoring Tool" isn't in the
draft, and it doesn't need to be.

> The specification says at the start: "This specification describes  
> conformance in terms of two artifacts; Atom Feed Documents and Atom  
> Entry documents. Additionally, it places some requirements on Atom  
> Processors."
> 
> If I read through the text "Atom Processors" are seen as consumers  
> application, not producers. It means that all XSLTs, Web hosting  
> services, etc can NOT claim conformance to Atom. :)

Yes they can. They just can't claim to be Atom Processors unless they
abide by the rules for Atom Processors (and abide by any definition of
Atom Processors). Something that produces an XML document that abides
by every normative part of the Atom spec (including honouring every
MUST clause) that applies to Atom Feed Documents can be considered
something that 'conforms' to the Atom spec for producing such a
document. Or, more clearly, it produces Atom Feed Documents. If it
produced something it claimed were Atom Feed Documents that weren't
conformant, they wouldn't be Atom Feed Documents.

> I know it sounds strange. You can decide in the specification to
> forbid such a claim too, but at least it's better to be explicit
> than "obvious hidden meaning" which might be misinterpreted.

How can it be misinterpreted more than by giving the idea there might
be 'nonconformant' documents in some way? Can't we just assume that
the purpose of the spec is to define a document format (well, two
formats) that you (as a producer, consumer or whatever) can conform to
if you want? (And if you don't want, go do something else :-)

> I see also
> "Atom Processors handle URIs."
> 
> "handle" is not an RFC 2119. It means that it's not even optional,  
> and not mandatory. Is it ok? Maybe "Atom Processors MUST handle URIs."?

Why is it not optional or mandatory? It's a declaration of something
that an Atom Processor does - I take it as being a "by definition",
with reference to earlier statements of RFC 2119 requirement in the
document.

(I think the earlier statement is in 4.2.7.1 where we find that
"processors MUST compare atom:id elements", knowing that (4.2.7) "[the
atom:id] content MUST be an IRI".)

Actually, since this is in the context of a security consideration,
it's not a restriction on the processors AT ALL. It's saying "since
Atom Processors are going to have to work with URIs/IRIs - they'll
have to handle them - implementors should consult RFC3986 and RFC3987
for security considerations in doing this".

> In the prose before it is said:
> "If the "src" attribute is present, Atom Processors MAY use the IRI  
> to retrieve the content. "
> 
> What is the behavior of the Atom processor when the MAY is not  
> implemented because it's optional and because it's not mandatory for  
> "Atom Processors" to handle URIs or IRIs.

If we assume, as is I think reasonable, that handling URIs/IRIs is
something that Atom Processors do by definition, then the last half of
that question isn't relevant.

The behaviour of the Atom processor when the MAY is not implemented is
that the Atom processor doesn't retrieve the content. So it doesn't
have the content, which it may not care about.

> >No consensus to make the schema normative. Everyone had a different
> >reason for opposing it, as I recall. :)
> 
> :)))
> no more feed validator then. :)

A feed validator doesn't have to use a schema, but it could use it for
a non-normative check ("you may have problems" - or even kicking in
more lengthy checking code only when the schema is violated). This is
up to the validator authors.

James

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  [EMAIL PROTECTED]                               uncertaintydivision.org

Reply via email to