Thursday, May 26, 2005, 7:20:23 PM, Thomas Broyer wrote:

>>But then 6.3 goes on to explain how to process it.
>>This sounds like a contradiction?
>>  
>>
> No, why?

Ok, I'd interpreted "ignoring" it to be processing it, as opposed to
failing.  I'll concede that I misinterpreted that.


> Say I am an Atom Processor and I find these extensions elements:
> <!-- defined before: 
> xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"; -->
> <geo:lat>26.58</geo:lat>
> <geo:long>-97.83</geo:long>

> Is this something I know how to process?

>     * yes: this is "known foreign markup", I process it
>     * no: this is "unknown foreign markup", I ignore it without failing
>       or signaling an error

So known 6.4 extensions are "known foreign markup", and unknown
extensions are "unknown foreign markup"?  Ok.


>>Also, if 6.4 extensions are a subset of "unknown[?] foreign markup",

> 6.4 extensions are not a subset of "foreign markup" or "unknown foreign
> markup". 6.4 extensions are the whole "foreign markup" set

6.2 says that new elements and attributes can be added. Earlier
discussion in this thread suggested that these may be inside
<atom:link> elements. Isn't this a type of markup that isn't a 6.4
extension?

6.4 extensions can only appear in atom:feed, atom:entry, and Person
constructs. [BUG ALERT!!!! - they should blatantly be allowed inside
atom:source too, and the inheritance needs explaining]

For the people who were proposing that atom:link shouldn't ban
content, can they tell me which type of Section 6 markup they regard
it to be?  Or were they proposing that Section 6.4 should be extended
to allow Link Extensions.


> (except it doesn't deal with "foreign attributes", but the whole
> section 6 and the whole spec doesn't deal with them).

Yes it does, section 6.2 says that future versions of Atom can add new
attributes.


> If you read carefully the section 6.4, you'll notice that what is not a
> Simple Extension Element is a Structured Extension Element.
> A Simple Extension Element is an element with no attribute and is either
> empty or has text-only content.
> A Structured Extension Element is an element with at least an attribute
> or a child.

Yep, I understand Section 6.4, but these rules only apply directly
inside atom:entry, atom:feed, and Person constructs [and atom:source].
Foreign markup in other places isn't 6.4 markup, so what is it?


> Is there any other construct I missed?

* Elements in places that they aren't banned such as atom:category, and
depending on the outcome of this thread, atom:link - presumably
intended for future versions of Atom.  Allowed by Section 6.2.

[BUG ALERT!!! The RNG says that the content is empty, the text
doesn't]

* Attributes on any existing elements.  Allowed by Section 6.2.


-- 
Dave

Reply via email to