Commit 861794f
committed
The package stylesheet stops importing the platform layout.
A package stylesheet is never compiled on its own. The platform loads the application's stylesheet
and appends an xsl:import for each imported package after that stylesheet's own imports - so the
package ranks below them in import precedence, and the layout it extends is already in the tree by
the time the package's rules are read. Importing it here pulled the same module in a second time by
a different path.
That second path is what needed $ldh:base. Compiled from raw.githubusercontent.com, this file's base
URI is GitHub, so a relative href cannot reach the deployment; the import therefore resolved against
a static parameter naming the instance origin, which the platform set on the XsltCompiler because
_href is a shadow attribute evaluated at compile time. With the import gone the parameter has no
purpose, and the ldh prefix and entity go with it.
$foaf:Agent goes too - declared here since the package was extracted, referenced by nothing since
the theme templates that used it were removed.
What remains is the package's one rule: the SKOS hierarchy predicates render as the concept tree
rather than as statement rows.1 parent b3804f2 commit 861794f
1 file changed
Lines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | 15 | | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
25 | 21 | | |
26 | 22 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 23 | | |
38 | 24 | | |
39 | 25 | | |
| |||
0 commit comments