Closed guyrixon closed 12 years ago
The current Django template for the capabilities document has some problems with namespaces and schemata.
The template starts with this element:
<cap:capabilities xmlns:cap='http://www.ivoa.net/xml/VOSICapabilities/v1.0' xmlns:vs='http://www.ivoa.net/xml/VODataService/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:tx='http://www.vamdc.org/xml/VAMDC-TAP/v1.0' xsi:schemaLocation='http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VODataService/v1.1 http://www.ivoa.net/xml/VODataService/VODataService-v1.0.xsd {{accessURL}}static/xsd/Capabilities.xsd'>
which has three problems:
In fact, we now have enough schemata on web sites that we don't need to serve them from the nodes. This version of the first element works:
<cap:capabilities xmlns:cap='http://www.ivoa.net/xml/VOSICapabilities/v1.0' xmlns:vs='http://www.ivoa.net/xml/VODataService/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:tx='http://www.vamdc.org/xml/VAMDC-TAP/v1.0' xsi:schemaLocation='http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VODataService/v1.1 http://www.ivoa.net/xml/VODataService/VODataService-v1.0.xsd http://www.vamdc.org/xml/VAMDC-TAP/v1.0 http://www.vamdc.org/xml/VAMDC-TAP/v1.0 http://www.ivoa.net/xml/VOSICapabilities/v1.0 http://vamdc.eu/downloads/xml/VOSI-capabilities-1.0.xsd'>
I've fixed this on my fork of the node software, and loaded the fixed template into the dev version of Chianti. The dev registry seems happy with the change.
merged this a while ago. closing issue.
The current Django template for the capabilities document has some problems with namespaces and schemata.
The template starts with this element:
<cap:capabilities xmlns:cap='http://www.ivoa.net/xml/VOSICapabilities/v1.0' xmlns:vs='http://www.ivoa.net/xml/VODataService/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:tx='http://www.vamdc.org/xml/VAMDC-TAP/v1.0' xsi:schemaLocation='http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VODataService/v1.1 http://www.ivoa.net/xml/VODataService/VODataService-v1.0.xsd {{accessURL}}static/xsd/Capabilities.xsd'>
which has three problems:
In fact, we now have enough schemata on web sites that we don't need to serve them from the nodes. This version of the first element works:
<cap:capabilities xmlns:cap='http://www.ivoa.net/xml/VOSICapabilities/v1.0' xmlns:vs='http://www.ivoa.net/xml/VODataService/v1.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:tx='http://www.vamdc.org/xml/VAMDC-TAP/v1.0' xsi:schemaLocation='http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VOResource/v1.0 http://www.ivoa.net/xml/VODataService/v1.1 http://www.ivoa.net/xml/VODataService/VODataService-v1.0.xsd http://www.vamdc.org/xml/VAMDC-TAP/v1.0 http://www.vamdc.org/xml/VAMDC-TAP/v1.0 http://www.ivoa.net/xml/VOSICapabilities/v1.0 http://vamdc.eu/downloads/xml/VOSI-capabilities-1.0.xsd'>