Closed josteinaj closed 7 years ago
I know, that's very ugly.
Indeed. Without them there's only two messages though, there should probably be more messages output by the scripts as well about what's happening. And those two messages are quite useful but at the same time quite technical; is it possible to make them more human-readable?
Yes you're right, there should be more messages.
It's possible to make those two messages more human-readable. Basically when I select a transformer I print it using toString
. Maybe transformers could have a nice name as well as a technical name, because the technical name is useful too. Could for example be printed when log level is lower. (Ideally I'd like to see a way in the UI to change the log level on the fly, after conversion, so that more/less messages appear as you move the log level slider.)
... Or the detailed log could be used for technical messages. But I wonder, how does that work? How does the Pipeline find out which log messages belong to which job? Is it something to do with threads?
Ideally I'd like to see a way in the UI to change the log level on the fly
Yes, I have an idea about collapsible debug messages in the backlog: https://github.com/daisy/pipeline-issues/issues/443
How does the Pipeline find out which log messages belong to which job?
No idea. Maybe @capitancambio knows?
One type of the XSLT warning is "SXXP0005:The source document is in namespace x, but none of the template rules match elements in this namespace" or "SXXP0005:The source document is in no namespace, but the template rules all expect elements in a namespace". See http://saxon-xslt-and-xquery-processor.13853.n7.nabble.com/SXXP0005-td11887.html for the reason why Saxon produces this warning. Not sure if we can make it go away.
The second type of XSLT warning is "Stylesheet module x is included or imported more than once. This is permitted, but may lead to errors or unexpected behavior". I can probably fix this.
The third type of warning is "XTRE0540: Ambiguous rule match for x ...". We should fix this in the XSLT.
Wouldn't it be possible to filter these kind of warning produced by Saxon itself out (only put them in the detailed log) and only print the ones that we produce ourselves? At the very least they should not look like errors because they are just warnings. @rdeltour and @capitancambio what are your thoughts on this?
Update:
Reopening because this is not on master yet.