-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Norman Walsh writes: > On 7 Feb, you took an action to propose something for excluding result > prefixes from p:inline. > > http://www.w3.org/XML/XProc/2008/02/07-minutes.html > > Did you ever make such a proposal? Not yet, but here comes one: * Add a new optional attribute to p:inline, spelled 'exclude-result-prefixes'; * Replace the paragraph after the tableau and the Note in section 5.12 [1] with prose along the following lines (borrowing heavily from XSLT2.0 [2]) The content of the p:inline element is copied and wrapped in a document node to create the input. The base URI of the created document is the base URI of the p:inline element. The in-scope namespaces of the copy differ from the in-scope namespace of the content of the p:inline element, in that bindings for all its *excluded namespaces*, as defined below, are removed: * the XProc namespace itself (http://www.w3.org/ns/xproc) is excluded * any XProc step namespaces (http://www.w3.org/ns/xproc/1.0, etc.) are excluded * A namespace URI designated by using an exclude-result-prefixes attribute on the enclosing p:inline is excluded The value of the attribute is either #all, or a whitespace-separated list of tokens, each of which is either a namespace prefix or #default. The namespace bound to each of the prefixes is designated as an excluded namespace. [ERR ???] It is a static error if a namespace prefix is used within the exclude-result-prefixes attribute and there is no namespace binding in scope for that prefix. The default namespace of the p:inline may be designated as an excluded namespace by including #default in the list of namespace prefixes. [ERR ???] It is a static error if the value #default is used within the exclude-result-prefixes attribute and the p:inline has no default namespace. The value #all indicates that all namespaces that are in scope for the p:inline are designated as excluded namespaces. ht [1] http://www.w3.org/XML/XProc/docs/langspec.html#p.inline [2] http://www.w3.org/TR/xslt20/#lre-namespaces - -- Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh Half-time member of W3C Team 2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk URL: http://www.ltg.ed.ac.uk/~ht/ [mail really from me _always_ has this .sig -- mail without it is forged spam] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFIEI/NkjnJixAXWBoRAvPFAJ9f0wjUBiOZiPurpThArIVcxy7ZiACfSA+z fryPp4U8qncHLbdmtTrYP+w= =aCYq -----END PGP SIGNATURE-----Received on Thursday, 24 April 2008 13:49:39 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 April 2008 13:49:40 GMT