Skip to content

Registry of Registries returns many entries that are technically not XML valid #10

Description

@pahjbo

As pointed out in http://mail.ivoa.net/pipermail/registry/2025-February/005622.html many entries in the RofR are invalid because of missing namespace declarations.

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

<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](http://rofr.ivoa.net/oai%3C/oai:request)>

<oai:GetRecord>
<oai:record>
<oai:header>
<oai:identifier>[ivo://src.pas/__system__/services/registry</oai:identifier](ivo://src.pas/__system__/services/registry%3C/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](ivo://src.pas/__system__/services/registry%3C/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](http://pithia.cbk.waw.pl/static/img/logo_medium.png%3C/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](http://mail.ivoa.net/mailman/listinfo/registry)</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](http://pithia.cbk.waw.pl/__system__/services/registry/info%3C/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](http://pithia.cbk.waw.pl/oai.xml%3C/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](http://pithia.cbk.waw.pl/__system__/services/registry/availability%3C/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](http://pithia.cbk.waw.pl/__system__/services/registry/capabilities%3C/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](http://pithia.cbk.waw.pl/__system__/services/registry/tableMetadata%3C/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions