xproc / 1.0-specification

The 1.0 XProc specification and now abandoned drafts of a 2.0 XML specification
12 stars 6 forks source link

declare the content type of an inline document #144

Closed rdeltour closed 9 years ago

rdeltour commented 9 years ago

In the current draft, the p:inline element has no content-type attribute, is it intentional ?

ndw commented 9 years ago

Per http://www.w3.org/XML/XProc/2015/03/11-minutes.html this is a question of making it possible to have p:inline contain non-XML documents. That's also something to be spec'd.

ndw commented 9 years ago

Add content-type and encoding attributes to p:inline; if encoding="base64" then decode the base64 encoded text to get the content. text/* and application/xml and application/xml+* all do the obvious thing