pahjbo / vodsl

a domain specific language for VODML
GNU Affero General Public License v3.0
2 stars 3 forks source link

import name must be set to make vo-dml2xsd.xsl run #14

Closed hugobuddel closed 2 years ago

hugobuddel commented 5 years ago

Currently an import (usually of the IVOA data model) results in an unknown (tbd) import name:

      <import>
        <name>tbd</name><!--should be able to work out from the included model -->
        <url>https://github.com/ivoa/vodsl-models/raw/master/IVOA-v1.0.vo-dml.xml</url>
        <documentationURL>not known</documentationURL>
      </import>

The resulting XML file can therefore not be parsed by the vo-dml2xsd.xsl tool: http://volute.g-vo.org/svn/trunk/projects/dm/vo-dml/tools/xslt/

Manually changing the tbd to ivoa (and fixing the url, see #5) fixes this problem.

The comment in the XML already indicates that this is something that should be resolved. Just creating the issue to flag it. (And maybe make a PR at some point.)

pahjbo commented 2 years ago

this is now fixed in updated vo-dml tooling ivoa/vo-dml#2