- From: Rushforth, Peter <Peter.Rushforth@NRCan-RNCan.gc.ca>
- Date: Wed, 3 Jul 2013 17:28:12 +0000
- To: David Lee <David.Lee@marklogic.com>, "stephengreenubl@gmail.com" <stephengreenubl@gmail.com>
- CC: "public-xmlhypermedia@w3.org" <public-xmlhypermedia@w3.org>
Take application/xml for example. Among many other things, it can contain an XML declaration: <?xml version="1.0" encoding="UTF-8"?> The declaration is essentially a string conforming to a specification. It may or may not be included in an instance document. But it is implicit in the media type definition, I believe. The registration procedure for media types has been recently updated, here: http://tools.ietf.org/html/rfc6838 I think part of the goal of media types is to be describable i.e. not open ended, not a recipe. So application/xml refers to the XML specification and a few other things that define what XML is. Stuff that is application/something+xml add semantics on top of application/xml. Peter > -----Original Message----- > From: David Lee [mailto:David.Lee@marklogic.com] > Sent: July 3, 2013 13:06 > To: Rushforth, Peter; stephengreenubl@gmail.com > Cc: public-xmlhypermedia@w3.org > Subject: RE: document node attributes > > For example, we could declare a text/foo media type like this: > > ### This string MUST be present. ### > <content> > ### This string MUST be present. ### > ----------- > > For my research could you refer me to where media types can > make such assertions ? > Is it official or convention ? > > Thanks > > > -------------------------------------------------------------- > --------------- > David Lee > Lead Engineer > MarkLogic Corporation > dlee@marklogic.com > Phone: +1 812-482-5224 > Cell: +1 812-630-7622 > www.marklogic.com > > > > > >
Received on Wednesday, 3 July 2013 17:28:40 UTC