On Feb 3, 2009, at 12:25 PM, Keith Fahlgren wrote:


On 2/3/09 12:08 PM, Nikunj Mehta wrote:

1. Provide a way to discover the schema used for the foreign markup used
in an entry served by a feed server
2. Issue a contract to be used by the client to submit new entries to
the server

For 1, this proposal seems to create an alternative to XML Schema
instance mechanisms [1]

Just, FTR, both of these are getting real world, adhoc implementations. At O'Reilly, an AtomPub server validates all of the collections that <accept>application/docbook+xml</accept> against the DocBook 4.4 DTD (our fave) (so XSI isn't useful). Additionally, we're talking about (so XSI isn't useful) Schematron validation to ensure that all entries in a Collection have embedded RDF needed to identify them.

I don't find xsi very useful either, especially if the schema is defined in a MIME-type. In the absence of a dedicated MIME-type for the contents of the atom:content element with @type="application/xml", though, we need something in the app:accept block.




HTH,
Keith

--
Keith Fahlgren
Publishing Technology Engineer
O'Reilly Media


Reply via email to