-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating stale paths in XProc pipelines #1832
Comments
Unrelated to this issue, but in the same file, it would be great if <p:with-param name="inline-css" select="'true'"/> or whatever method is deemed best to ensure the availability of CSS for HTML report results. |
Some work in progress shows how to evade the issues reported above using pipelines calling the provided pipelines: https://github.com/wendellpiez/metaschema-xslt/tree/issue93-xproc-for-xspec_A/support/xspec-dev |
"Stale" PathsThey aren't stale; they are designed to be resolved through a catalog, including EXPath Packaging. However, I guess no XSpec users depend on it nowadays. With the upcoming major verion increment (v2 -> v3), we have an opportunity to further decouple the XProc harness and EXPath Packaging. Inline CSSTo activate inline CSS, we need to specify character maps (like |
I guess if you put it in the toaster it is no longer stale. 🍞 The question of As to character maps in XProc 1.0 that is also an excellent question. In view of it, let's forego action for now and I can make a new Issue if I come up with a good answer. (My XProc is now better layered so that I might simply be able to do what is called for without changing the library.) |
Does it correctly serialize xspec/src/reporter/test-report.css Line 439 in 3140dd1
That's where the character maps are needed. |
Thanks! I looked and was unable to find that - in output it is serialized as ... something odd, i.e. confirming that there is an issue writing the character. I can imagine workarounds such as pushing the file out from Saxon directly (which I will contemplate). And XML Calabash can potentially set |
Ah, I have found |
Okay, latest update - when I set XProc to serialize method='html' and I comment out the line mapping '>' to U+E803, XML Calabash is able to produce an honest '>' character in the HTML So that is something, possibly also in an XProc 3.0 context (not there yet). |
Maybe the function When the conversion of characters into PUA is suppressed, in current XML Calabash, the 'html' output method is sufficient. So I have |
Run a string search on the XProc here, for
http://www.jenitennison.com/xslt/xspec/
https://github.com/xspec/xspec/blob/master/src/harnesses/harness-lib.xpl, and find three hits,
https://github.com/xspec/xspec/blob/48e934dfa89ab0da209c5057db7e07573f27da79/src/harnesses/harness-lib.xpl#L274C20-L274C59
and two others.
These work much better if they are updated, for example to
../../src/reporter/format-xspec-report.xsl
in this case.Easiest way to update and test? (I'm not sure who is working on an XProc platform for XSpec these days.) Thanks for guidance 🥬 🥕
For interest (not hardly tested):
The text was updated successfully, but these errors were encountered: