Re: Also speaking of @select

I’d be inclined to close this can of worms (including 
https://lists.w3.org/Archives/Public/xproc-dev/2017Oct/0008.html) by 
saying that p:with-input/@select is only applicable to XML input 
documents. Using it on non-XML documents will raise a dynamic error.

If we open it up, it will lead to highly incompatible implementations.

I’d rather pass image or text selection expressions as options (that may 
contain maps) to extension steps. They can interpret them as they like. 
Initiatives outside of the core XProc spec effort can later try to 
standardize selection vocabularies for raster images, CSV, JSON, …

Gerrit


On 10.10.2017 04:53, Norman Walsh wrote:
> Today, @select is defined as an XPath expression. Should it be defined
> more generally as a string, interprted according to the media type of
> the document to which it’s applied? Why should I not be able to select
> a portion of a JSON document, or a region of an image?
> 
>                                          Be seeing you,
>                                            norm
> 

-- 
Gerrit Imsieke
Geschäftsführer / Managing Director
le-tex publishing services GmbH
Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 110, Fax +49 341 355356 510
gerrit.imsieke@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler
------------------------------------------------------------------------------
Meet us at Frankfurt Book Fair
Hall 4.2, L 72.

More at https://www.le-tex.de/en/buchmesse.html

Received on Tuesday, 10 October 2017 06:02:37 UTC