qt4cg / qtspecs

QT4 specifications
https://qt4cg.org/
Other
28 stars 15 forks source link

fn:transform() improvements #1011

Open michaelhkay opened 9 months ago

michaelhkay commented 9 months ago
  1. The spec talks about how to invoke an XSLT 1.0, 2.0, or 3.0 processor, but not a 4.0 processor.
  2. There is no way of supplying a source document in a way that allows streaming. Saxon has added a source-location parameter for this purpose; this should be in the standard.
  3. If the stylesheet is to read streamed input, then there also needs to be control over whether and how it does schema validation.
  4. When calling from XSLT, the best default for base-output-uri is probably the value of current-output-uri(). The default is currently implementation-defined, but we should recommend this possibility.
  5. The post-process option was added with the aspiration that it would enable secondary result documents (xsl:result-document output) to be written directly (e.g. to filestore) as a side-effect. However, it fails to achieve this. There should probably be an option to request this even though we cannot define its semantics precisely.
michaelhkay commented 8 months ago

I'm trying to remember why the post-process option doesn't achieve the desired effect.