Comments (3)
This isn't a problem it's a deliberate feature of the LDA config at environment.data.gov.uk :)
As you say the URLs in the data are fine and any time a URL is rendered in text (e.g. the URL for spittal) it is shown correctly).
What happens is that the link href's are rewritten by some javascript (see http://environment.data.gov.uk/lda-assets/scripts/staging.js) to that they point back to the site from which the page has been viewed. This is done to allow staging deployments of LDA installations. When staging an HTML view of linked data you have this problem that you want to be able to click around the HTML view within the staging site but you want the data to be correct and ready for the target deployment site. The staging.js rewrite is the trick that solves that problem.
In general, independent of this trick, you can't rely on what the browser shows you as the href target in an HTML view of linked data corresponding to the actual data URI. The HTML rendering often has to point back to some intermediate rendering URL.
It would be better if there was also a tooltip popup showing the correct URI to make the correct URI clear.
This, plus your issue 22, reinforce that the function of a DelegatedRegister is enable a part of the registry space to be delegated to some operator who is knowingly serving data within the registry namespace (just from different machines). It is a way of delivering a distributed implementation of a registry namespace, not a way to subvert existing publications at one URI and make them appear as part of the registry. The right way to point to an external resource is by use the ForwardNamespace with a 3XX code.
[The example of forwarding at http://ukgovld-registry.dnsalias.net/def/eabw is a 200 forwarding (to demo that the proxy mode works) but being proxy mode has similar behaviour to delegation.]
from ukl-registry-poc.
Noted and thanks for explaining the issue. With hindsight, the "staging URL-rewrite" behaviour makes sense.
from ukl-registry-poc.
Have noted this behaviour in the FAQ with link to this thread, closing the issue qua issue.
from ukl-registry-poc.
Related Issues (20)
- Configuring a SLAVE Registry instance as "read only"
- Batch-upload that fails during payload validation still creates the Register associated with the collection-root
- (Batch-)upload payload validation requires use of rdfs:label; skos:prefLabel is not sufficient
- Add support for OAuth 2.0 (OpenID Connect) HOT 1
- Additional roles in security model
- API security documentation bug
- Bootstrap duplication
- Remove owner/manager for bootstrap system registers
- Enhancements to release tagging behaviour.
- Requesting version of top-level register (or its register item) using webUI throws HTTP 500 exception HOT 1
- Support subproperties of rdfs:label
- Incomplete listing in native "View" mode
- Modification of NamespaceForward resource (code 200) is redirected to delegationTarget HOT 1
- HTTP 404 error encountered by IE8 users HOT 3
- Code migration and maintenance
- Data dictionary support
- Customisable lifecycle for Register items
- Change text indexing strategy
- Improve security for authenticated users HOT 4
- Propagation of content "patches" from MASTER Registry instance to SLAVE instances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ukl-registry-poc.