Skip to content

DCAT Document publication process

Alejandra Gonzalez-Beltran edited this page Oct 17, 2018 · 11 revisions

This page captures the main steps for preparing the DCAT spec for publication on the W3C website, so that information is available to anyone interested. The primary challenge is that the DCAT document itself contains links to other resources made available by DXWG which will be subject to change as work continues within DXWG, and additionally there may be changes to where files reside as the recommendation moves through the various stages to REC status.

The approach described on this page has at best draft status - and will be updated after the successful publication of the Second Public Working Draft (formally at Working Draft status) to reflect what choices are made in this release. The process isn't complex but could (actually should) probably be more automated.

Links within the document

The document contains a number of classes of links, organised by characteristic of the target.

  1. Intra-document links. These link to section ids within the document and should not need changed as part of the release
  2. Links to published/authoritative sources on the Web. These also should not require changing as part of the release/publication process
  3. Links to authoritative DCAT rdf files. The source in the Recommendation currently points at the namespace document at https://www.w3.org/ns/dcat. As part of the publication of the Second Working Draft, additional text will be added to link to the new (draft) rdf for DCAT-rev. Further Working Draft publications may need to add additional information to this page. See also #377
  4. Links to github resources such as issues, milestones and wiki pages. Typically these provide background explanation or statements of intent that will ultimately not survive in the CR. Since these link directly to the live/still evolving environment they may get out of step with the (static) WD as further revisions are made to the Editors Draft and issues are discussed and closed.
  5. Links to files of various types, such as examples, alignment suggestions, profiles or normative dcat rdf such as dcat.ttl. For readability/consistency purposes - to stay instep with the text of the WD - these need to be changed to point at static snapshots of the files. This can be done by creating a persistent (static) branch of the repository and linking to those copies. Alternatively these could be stored on the W3 webserver. In either case the master branch will need to be updated to point at the correct place.
  6. Links to directories in github such as the DXWG Code Repository. If files are held in a static branch, then these can be linked to the same static branch. If the static rdf files are held on the W3 webserver then the approach is TBD.

Use the W3C's link checker tool to test all links (internal and external) on the page.

Use of Pubrules tool

The W3C Pubrules tool checks an html document for publication, providing Errors, Warnings or Advice messages with, in most cases, further pointers on how to resolve the issues.

Before doing this, use the W3C HTML validator on the page and address errors.

This link provides an example on the output of the Pubrules tool, showing different types of problems on the target document.

To use the pubrules tool effectively, render the document's HTML using the ReSpec export function (top-right button) and host that somewhere then validate that, rather than pre-rendered HTML + JavaScript.

Status of a Document section

If the document being published is not the first Public Working Draft (PWD), the Status of a Document section needs to include text specifying the differences between the previous PWD and this new version. In order to faciliate this task, and also to include a link to the difference between the two documents, you can use the W3C HTMLDiff tool.

As an example, here you can see the difference between DCAT Revision FPWD vs DCAT Revision SPWD.

Useful resources

Clone this wiki locally