Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-19 Thread Robert Sayre
David Powell wrote:
PersonConstructs aren't currently allowing extension elements.
anyForeignAttribute and anyForeignElement are currently not
used anywhere.
The second point reflects a problem with the draft. I noticed this while 
writing it, but figured the WG needed to spot it.

  "The atom:entry element MAY contain any namespace-qualified
   [W3C.REC-xml-names-19990114] elements as children."
Ok, but does that imply foreign content is not allowed elsewhere? I 
suggest the WG did not intend for that to be the case, the sentence from 
6.4 more accurately reflects WG opinion:

  "Atom allows foreign markup anywhere in an Atom document. Child
   elements of atom:entry and atom:feed are considered "metadata"
   elements, and are described below. Child elements of Person
   Constructs are considered to apply to the construct. The role of
   other foreign markup is undefined by this specification."
My personal view was that Person constructs should not define the 
meaning of foreign content, but the WG clearly favored it.

Robert Sayre


Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-19 Thread Robert Sayre
Julian Reschke wrote:
Proposal for test procedure:
- please publish an updated RNC file somewhere (on atomsub.org?)
- those who already produce experimental atom-06 feeds, please check them with that RNC 
Since Norm has offered to rework the RNC, we can use that. I'd be happy 
to host the RNC on atompub.org, but anywhere should be fine.

Robert Sayre


Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-19 Thread Julian Reschke
David Powell wrote:
Two more things I've just noticed:
PersonConstructs aren't currently allowing extension elements.
anyForeignAttribute and anyForeignElement are currently not
used anywhere.
Proposal for test procedure:
- please publish an updated RNC file somewhere (on atomsub.org?)
- those who already produce experimental atom-06 feeds, please check 
them with that RNC

(my test feeds are  and 
)

Best regards, Julian
--
bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760


Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-19 Thread David Powell


Two more things I've just noticed:

PersonConstructs aren't currently allowing extension elements.

anyForeignAttribute and anyForeignElement are currently not
used anywhere.

-- 
Dave



Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-19 Thread David Powell


I noticed another bug in the RNG. The collected RNG is missing a '?'
after atomIcon:

> atomSourceFeed =
>element atom:source-feed {
>   atomCommonAttributes,
>   (  atomTitle
>   & atomUpdated
>   & atomLink+
>   & atomIcon

should be:

> atomSourceFeed =
>element atom:source-feed {
>   atomCommonAttributes,
>   (  atomTitle
>   & atomUpdated
>   & atomLink+
>   & atomIcon?


-- 
Dave



Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-18 Thread Norman Walsh
/ Robert Sayre <[EMAIL PROTECTED]> was heard to say:
| Norman Walsh wrote:
|> FYI:
|> There are several problems with the RELAX NG Grammar in Appendix B.
|> Most have to do with line-wrapping (which doesn't work in exactly the
|> obvious way in the compact syntax) but there's also a missing double
|> quote in atomInlineTextContent and the definition of atomId has lost
|> some content.
|
| These are all my mistakes. One question: Julian has repeatedly had
| problems with the schematron parts. Is this related to the
| line-wrapping? If not, I'm kind of worried that someone like Julian
| couldn't make it work.

The line wrapping breaks everything, so maybe. I'll make sure I test
them again before I send another version of the schema. None of the
validators I use most frequently actually test the Schematron
assertions. :-/

|> I'll provide a new version for 06 that is formatted for 72 column
|> wide
|> pages.
|
| Thank you very much, the group really appreciates it.

My pleasure.

Be seeing you,
  norm

-- 
Norman Walsh <[EMAIL PROTECTED]> | What good is a can of worms if you
http://nwalsh.com/| never open it?--Bob Arning


pgpqCXNcbY58k.pgp
Description: PGP signature


Re: Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-18 Thread Robert Sayre
Norman Walsh wrote:
FYI:
There are several problems with the RELAX NG Grammar in Appendix B.
Most have to do with line-wrapping (which doesn't work in exactly the
obvious way in the compact syntax) but there's also a missing double
quote in atomInlineTextContent and the definition of atomId has lost
some content.
These are all my mistakes. One question: Julian has repeatedly had 
problems with the schematron parts. Is this related to the 
line-wrapping? If not, I'm kind of worried that someone like Julian 
couldn't make it work.

I'll provide a new version for 06 that is formatted for 72 column wide
pages.
Thank you very much, the group really appreciates it.
Robert Sayre


Broken RELAX NG Grammar in Appendix B of draft-06

2005-03-18 Thread Norman Walsh
FYI:

There are several problems with the RELAX NG Grammar in Appendix B.
Most have to do with line-wrapping (which doesn't work in exactly the
obvious way in the compact syntax) but there's also a missing double
quote in atomInlineTextContent and the definition of atomId has lost
some content.

I'll provide a new version for 06 that is formatted for 72 column wide
pages.

Be seeing you,
  norm

-- 
Norman Walsh <[EMAIL PROTECTED]> | Mountains appear more lofty the nearer
http://nwalsh.com/| they are approached, but great men
  | resemble them not in this
  | particular.--Lady Blessington


pgp04OPaxFtQR.pgp
Description: PGP signature