Re: Atom XSD
big feed but I've got ya beat :-) I had generated a feed with over 100k entries to stress test abdera's fom impl a while back. It didn't go so well... which is why the StreamWriter exists :-) - James Remy Gendron wrote: We are evaluating a mail merge generation tool. It gets it input data from XML documents but needs a matching XSD. I have exported 50K movies from the IMDB movie database as an Atom feed to test the limits of this tool... ;-) This may very well be one of the biggest feed ever created! :-) Rémy [EMAIL PROTECTED] 418 809-8585 http://arrova.ca -Original Message- From: Danny Ayers [mailto:[EMAIL PROTECTED] Sent: June 18, 2008 12:53 To: [email protected] Subject: Re: Atom XSD 2008/6/18 Jim Ancona <[EMAIL PROTECTED]>: Remy Gendron wrote: I have found some Atom XSDs… but is there one that is more 'official' than the others? Am I right into believing that the Atom spec does not come with a XSD? You are correct. RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to convert it to XSD. You might have more luck asking on the atom-syntax list. OTOH, I just searched there myself and didn't find much relevant. This post looked interesting, but again the schemas are RNG not XSD: http://www.imc.org/atom-syntax/mail-archive/msg19894.html What Jim said (I could never have found such references!) I'm fairly sure prog APIs exist now in every language under the sun. May I ask, what do you want the xsd for? Cheers, Danny.
Re: Atom XSD
Hi again Remy, I just remembered Trang, a tool that can do relaxng2xsd : http://www.thaiopensource.com/relaxng/trang.html 2008/6/18 Remy Gendron <[EMAIL PROTECTED]>: > We are evaluating a mail merge generation tool. It gets it input data from > XML documents but needs a matching XSD. I have exported 50K movies from the > IMDB movie database as an Atom feed to test the limits of this tool... ;-) > > This may very well be one of the biggest feed ever created! :-) > > Rémy > > > > [EMAIL PROTECTED] > > 418 809-8585 > http://arrova.ca > > -Original Message- > From: Danny Ayers [mailto:[EMAIL PROTECTED] > Sent: June 18, 2008 12:53 > To: [email protected] > Subject: Re: Atom XSD > > 2008/6/18 Jim Ancona <[EMAIL PROTECTED]>: > > > Remy Gendron wrote: > > > >> I have found some Atom XSDs… but is there one that is more 'official' > than > >> the others? > >> > >> Am I right into believing that the Atom spec does not come with a XSD? > > > > > You are correct. > > > > RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could > > try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to > > convert it to XSD. > > > > You might have more luck asking on the atom-syntax list. OTOH, I just > > searched there myself and didn't find much relevant. This post looked > > interesting, but again the schemas are RNG not XSD: > > http://www.imc.org/atom-syntax/mail-archive/msg19894.html > > > What Jim said (I could never have found such references!) > > I'm fairly sure prog APIs exist now in every language under the sun. > May I ask, what do you want the xsd for? > > Cheers, > Danny. > > -- http://dannyayers.com ~ http://blogs.talis.com/nodalities/this_weeks_semantic_web/
RE: Atom XSD
We are evaluating a mail merge generation tool. It gets it input data from XML documents but needs a matching XSD. I have exported 50K movies from the IMDB movie database as an Atom feed to test the limits of this tool... ;-) This may very well be one of the biggest feed ever created! :-) Rémy [EMAIL PROTECTED] 418 809-8585 http://arrova.ca -Original Message- From: Danny Ayers [mailto:[EMAIL PROTECTED] Sent: June 18, 2008 12:53 To: [email protected] Subject: Re: Atom XSD 2008/6/18 Jim Ancona <[EMAIL PROTECTED]>: > Remy Gendron wrote: > >> I have found some Atom XSDs but is there one that is more 'official' than >> the others? >> >> Am I right into believing that the Atom spec does not come with a XSD? > > You are correct. > RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could > try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to > convert it to XSD. > > You might have more luck asking on the atom-syntax list. OTOH, I just > searched there myself and didn't find much relevant. This post looked > interesting, but again the schemas are RNG not XSD: > http://www.imc.org/atom-syntax/mail-archive/msg19894.html What Jim said (I could never have found such references!) I'm fairly sure prog APIs exist now in every language under the sun. May I ask, what do you want the xsd for? Cheers, Danny.
RE: Atom XSD
Remy Gendron wrote: > I have found some Atom XSDs. but is there one that > is more 'official' than the others? > > Am I right into believing that the Atom spec does > not come with a XSD? There is no official XSD or Relax NG for Atom. Even the base Atom syntax (as defined in RFC 4287) cannot be described fully with XSD or Relax NG. Even the prose of RFC 4287 doesn't fully define the syntax. For example, some parts of the specification and some Atom tools (including validators) rely on some whitespace in Atom documents being considered insignificant, but there is no definition of insignificant whitespace in the specification. What do you need the XSD for? If you just need it to improve your editor's syntax highlighting and code completion then I would try to generate the XSD from the Relax NG; just keep in mind that it is not 100% correct. If you need to validate Atom entries or feeds then I would use one of the validators that are available. The feedvalidator.org one is open-source Python, and I have developed another one in Python that I could share with you. Regards, Brian
Re: Atom XSD
I think there are good reasons why a XSD is avoided in favor of RelaxNG ;-) On Jun 18, 2008, at 11:53 AM, Danny Ayers wrote: 2008/6/18 Jim Ancona <[EMAIL PROTECTED]>: Remy Gendron wrote: I have found some Atom XSDs… but is there one that is more 'official' than the others? Am I right into believing that the Atom spec does not come with a XSD? You are correct. RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to convert it to XSD. You might have more luck asking on the atom-syntax list. OTOH, I just searched there myself and didn't find much relevant. This post looked interesting, but again the schemas are RNG not XSD: http://www.imc.org/atom-syntax/mail-archive/msg19894.html What Jim said (I could never have found such references!) I'm fairly sure prog APIs exist now in every language under the sun. May I ask, what do you want the xsd for? Cheers, Danny. S'all good --- chriswberry at gmail dot com
Re: Atom XSD
2008/6/18 Jim Ancona <[EMAIL PROTECTED]>: > Remy Gendron wrote: > >> I have found some Atom XSDs… but is there one that is more 'official' than >> the others? >> >> Am I right into believing that the Atom spec does not come with a XSD? > > You are correct. > RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could > try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to > convert it to XSD. > > You might have more luck asking on the atom-syntax list. OTOH, I just > searched there myself and didn't find much relevant. This post looked > interesting, but again the schemas are RNG not XSD: > http://www.imc.org/atom-syntax/mail-archive/msg19894.html What Jim said (I could never have found such references!) I'm fairly sure prog APIs exist now in every language under the sun. May I ask, what do you want the xsd for? Cheers, Danny.
Re: Atom XSD
Remy Gendron wrote: I have found some Atom XSDs… but is there one that is more ‘official’ than the others? Am I right into believing that the Atom spec does not come with a XSD? RFC 4287 includes an informative Relax NG schema in Appendix B. Yuu could try using Trang (http://www.thaiopensource.com/relaxng/trang.html) to convert it to XSD. You might have more luck asking on the atom-syntax list. OTOH, I just searched there myself and didn't find much relevant. This post looked interesting, but again the schemas are RNG not XSD: http://www.imc.org/atom-syntax/mail-archive/msg19894.html Jim
