Bug in EXAMPLE-32 - PROV-XML

Dear PROV Ninjas

 

Thank you for an incredible piece of thought leadership with PROV.

 

I am busy doing my PhD on the topic of Nano Version Control and how it can
be used for preservation of manual changes. I came across a bug in EXAMPLE
32.

 

The official version makes references to an unspecified namespace 'ex' but
lists 'bbc' and 'bbcmobile' instead.

 

<!-- https://www.w3.org/TR/2013/NOTE-prov-xml-20130430/#term-EmptyCollection
-->
<prov:document
        xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
        xmlns:xsd=http://www.w3.org/2001/XMLSchema
        xmlns:prov=http://www.w3.org/ns/prov#
        xmlns:bbc=http://www.bbc.co.uk/news
        xmlns:bbcmobile=http://www.bbc.co.uk/news/mobile>

    <prov:emptyCollection prov:id="ex:c0"/>

</prov:document>

 

 

The correction to the xml example is highlighted in yellow below. My
suggestion is to bring it in alignment with EXAMPLE-31 by declaring the 'ex'
namespace and removing 'bbc' and 'bbcmobile'.

 

<!-- https://www.w3.org/TR/2013/NOTE-prov-xml-20130430/#term-EmptyCollection
-->
<prov:document
        xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
        xmlns:xsd=http://www.w3.org/2001/XMLSchema
        xmlns:prov=http://www.w3.org/ns/prov#
        xmlns:ex=http://example.com/ns/ex#>

    <prov:emptyCollection prov:id="ex:c0"/>

</prov:document>

 

Kind regards

Lukasz Machowski

 

Received on Monday, 27 September 2021 08:34:20 UTC