- From: Norm Tovey-Walsh <ndw@nwalsh.com>
- Date: Mon, 04 May 2026 15:09:56 +0100
- To: Sheila Thomson <discuss@bluegumtree.com>
- Cc: xproc-dev@w3.org
Sheila Thomson <discuss@bluegumtree.com> writes:
> Below is a longish summary of my reading of the specs where, ultimately, TL;DR, I have yet to find clear guidance on the form
> that the value of 'suppress-indentation' should take in XProc. My hope is that someone will reply back with a link to the exact
> spot where this is defined and then I will know whether the bug is mine (probably) or in one of the processors (possibly).
My guess (without checking) is that the expected form is a space-separated list of URIQualifiedNames and the error you get from XML Calabash, “Value of {suppress-indentation] must be a list of QNames in ‘Q{uri}local’ notation” is actually coming from the serializer in Saxon.
(I can’t think of any reason why XProc should be forbidden from accepting b:title and turning it into a URIQualifiedName for you, but apparently it doesn’t.)
> Then form two (URIQualifiedName):
>
> 'suppress-indentation' : 'Q{http://xylarium.org/ns/xml/grammars/salix/bibliography}p Q
> {http://xylarium.org/ns/xml/grammars/salix/bibliography}title Q{http://xylarium.org/ns/xml/grammars/salix/bibliography}citation'
>
> Which Calabash accepts 🎉 but Morgana throws the same error 😕
I think Morgana should accept that form. Hopefully Achim will tell us what form *is* supported!
> 'suppress-indentation' : [QName('http://xylarium.org/ns/xml/grammars/salix/bibliography', 'p'), QName
> ('http://xylarium.org/ns/xml/grammars/salix/bibliography', 'title'), QName('http://xylarium.org/ns/xml/grammars/salix/bibliography',
> 'citation')]
>
> Which Morgana accepts 🎉 but Calabash throws an error 😕:
I don’t think an array should be accepted there. Out of curiosity, does this work in either or both processors?
'suppress-indentation': ('Q{}p', 'Q{}q')
> net.sf.saxon.trans.UncheckedXPathException: An array has no string value
On the basis of that error, I think it probably won’t, but…
> Clearly Calabash is expecting the list to be in a string (option 2, above) but Morgana only seems to accept the list as an array
> (option 3, above).
In my defense, net.sf.saxon.s9api.setOutputProperty() expects a string 🤣
Be seeing you,
norm
--
Norm Tovey-Walsh <ndw@nwalsh.com>
https://norm.tovey-walsh.com/
Received on Monday, 4 May 2026 14:10:06 UTC