XML invalid entries in RoR

Paul Harrison paul.harrison at manchester.ac.uk
Tue Feb 11 09:31:29 CET 2025


Hi,

there is quite a large proportion of the entries for registries in the RoR that are technically XML invalid

e.g.  

% curl "http://rofr.ivoa.net/oai?verb=GetRecord&metadataPrefix=ivo_vor&identifier=ivo://src.pas/__system__/services/registry"

<?xml version="1.0" encoding="UTF-8"?>

<oai:OAI-PMH xmlns:oai="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">

<oai:responseDate>2025-02-11T08:12:20Z</oai:responseDate>
<oai:request verb="GetRecord" metadataPrefix="ivo_vor" identifier="ivo://src.pas/__system__/services/registry">http://rofr.ivoa.net/oai</oai:request>

<oai:GetRecord>
<oai:record>
<oai:header>
<oai:identifier>ivo://src.pas/__system__/services/registry</oai:identifier>
<oai:datestamp>2024-05-21T11:24:29Z</oai:datestamp>
<oai:setSpec>Registry:Publishers</oai:setSpec>
<oai:setSpec>ivoa_publishers</oai:setSpec>
<oai:setSpec>ivo_publishers</oai:setSpec>
</oai:header>
<oai:metadata>
<ri:Resource created="2018-08-14T11:46:33Z" status="active" updated="2024-05-21T11:24:29Z" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="vg:Registry" xmlns:ri="http://www.ivoa.net/xml/RegistryInterface/v1.0"><title>Pithia VO datacenter Registry</title><shortName>HPSL RG</shortName><identifier>ivo://src.pas/__system__/services/registry</identifier><curation><publisher>The staff at the Pithia VO datacenter</publisher><creator><name>Lukasz Tomasik</name><logo>http://pithia.cbk.waw.pl/static/img/logo_medium.png</logo></creator><date role="updated">2024-07-23T15:08:56Z</date><contact><name>Lukasz Tomasik</name><address>Bartycka 18A/181,00-716 Warsaw, Poland</address><email>tomasik at cbk.waw.pl</email><telephone>+48 22 4966 200</telephone></contact></curation><content><subject>virtual-observatories</subject><description> The publishing registry for the Pithia VO datacenter.</description><referenceURL>http://pithia.cbk.waw.pl/__system__/services/registry/info</referenceURL></content><rights>public</rights><capability standardID="ivo://ivoa.net/std/Registry" xsi:type="vg:Harvest"><interface role="std" xsi:type="vg:OAIHTTP"><accessURL use="base">http://pithia.cbk.waw.pl/oai.xml</accessURL></interface><maxRecords>500</maxRecords></capability><capability standardID="ivo://ivoa.net/std/VOSI#availability"><interface role="std" xsi:type="vs:ParamHTTP"><accessURL use="full">http://pithia.cbk.waw.pl/__system__/services/registry/availability</accessURL></interface></capability><capability standardID="ivo://ivoa.net/std/VOSI#capabilities"><interface role="std" xsi:type="vs:ParamHTTP"><accessURL use="full">http://pithia.cbk.waw.pl/__system__/services/registry/capabilities</accessURL></interface></capability><capability standardID="ivo://ivoa.net/std/VOSI#tables"><interface role="std" xsi:type="vs:ParamHTTP"><accessURL use="full">http://pithia.cbk.waw.pl/__system__/services/registry/tableMetadata</accessURL></interface></capability><full>false</full><managedAuthority>src.pas</managedAuthority><tableset><schema><name>default</name></schema></tableset></ri:Resource></oai:metadata>
</oai:record>
</oai:GetRecord>

</oai:OAI-PMH>

is invalid as there is no declaration of the namespace of the vg: prefix. Although it is obvious what namespace this is referring to, if the output is read via an XML processor it will immediately stop at this error. I am not sure what the is the official way of getting these entries fixed, but clearly the most efficient would be a bulk update on the RoR content if someone has that access.

Paul.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2893 bytes
Desc: not available
URL: <http://mail.ivoa.net/pipermail/registry/attachments/20250211/ca23f1f1/attachment.p7s>


More information about the registry mailing list