Skip to content
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

Link processing broken #917

Open
lguariento opened this issue May 22, 2023 · 2 comments
Open

Link processing broken #917

lguariento opened this issue May 22, 2023 · 2 comments

Comments

@lguariento
Copy link
Contributor

Hello the link on '‘Security Manager XQuery library module' appears to be dead.

https://github.com/eXist-db/documentation/blob/06ef4fb174cae06ca49b97555842792a0d5483da/src/main/xar-resources/data/security/security.xml#LL380C57-L382C75

@lguariento
Copy link
Contributor Author

lguariento commented Oct 3, 2023

PS: "Dashboard’s User manager" also is dead.

@joewiz
Copy link
Member

joewiz commented Oct 3, 2023

It appears the documentation app should be doing extra processing of @xlink:href attributes, examining links like:

<link 
    xlink:href="{${fundocs.pkg.abbrev}}/view.html?uri=http://exist-db.org/xquery/securitymanager"
    >Security Manager XQuery library module</link>

... and transforming the ${fundocs.pkg.abbrev} reference into /exist/apps/fundocs, so that the resulting URL is:

https://exist-db.org/exist/apps/fundocs/view.html?uri=http://exist-db.org/xquery/securitymanager

(Also, I'm not sure if the outer set of curly braces in {${fundocs.pkg.abbrev}} is really needed?)

@joewiz joewiz changed the title Link dead Link processing broken Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants