Just to clarify, you are referring to the media portions of AtomPub as
opposed to Richard Salz who is looking to support the Atom entries.
The <app:accept> extended attribute mechanisms you suggest are a good
way to do media resources. The <contract:accept> extended element
mechanism I suggested in [1] seems better suited to non-media Atom
entries.
Nikunj
[1] http://www.imc.org/atom-syntax/mail-archive/msg20912.html
On Feb 3, 2009, at 4:21 PM, Keith Fahlgren wrote:
On 2/3/09 3:32 PM, Nikunj Mehta wrote:
<app:accept schema:namespace="..."
schema:element="...">application/xml</app:accept>
Hmmm... I've got a problem with my DocBook 4.4 not being namespaced
& using a DTD whereas my DocBook 5 using RNG, has a @version, and a
namespace.
Is this how I say that my collection only accepts DocBook 5?
<app:accept schema:namespace="http://docbook.org/ns/docbook"
schema:type="application/relax-ng-compact-syntax"
schema:link="http://www.docbook.org/xml/5.0/rng/docbook.rnc
"
schema:version="5">application/docbook+xml</app:accept>
and @schema:element="book" would mean that I only allowed {http://docbook.org/ns/docbook
}books?
Thanks,
Keith
--
Keith Fahlgren
Publishing Technology Engineer
O'Reilly Media