Commit c4124b4
Align ac:property-label cache lookup with documentPool key shape
The pre-cached vocabulary documentPool keys entries under
resolve-uri(ac:document-uri(<ns>), \$ac:contextUri) — ac:document-uri strips the
trailing fragment so hash namespaces like &http; are stored under
http://www.w3.org/2011/http (no #). The ac:property-label mode C branch was
looking up documents via doc-available(namespace-uri()) / document(namespace-uri()),
which still includes the # for hash vocabs, so the lookup missed and labels for
http:*, rdf:*, rdfs:*, spin:* etc. fell through to the local-name() fallback.
Slash-namespace vocabs (dct:, etc.) happened to work because there's no fragment
to strip on either side. Server-side Saxon was unaffected because Java's URI
resolver fetches over HTTP and the wire layer drops the fragment naturally.
Wrap the lookup in ac:document-uri(namespace-uri()) so it matches the cache key.
Also drops the temporary xsl:message debug lines added in #298.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 26d1d94 commit c4124b4
1 file changed
Lines changed: 2 additions & 7 deletions
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
420 | | - | |
421 | 419 | | |
422 | 420 | | |
423 | | - | |
424 | | - | |
425 | | - | |
| 421 | + | |
| 422 | + | |
426 | 423 | | |
427 | 424 | | |
428 | | - | |
429 | | - | |
430 | 425 | | |
431 | 426 | | |
432 | 427 | | |
| |||
0 commit comments