Skip to content

[DEFECT] Issues with building HTML, SQL artifacts using CIMTool CLI #287

Description

@prabhpreet

Describe the defect:

A CIMTool project is configured and cli tool is used to generate build artifacts using html, sql, sql-rdfs-ansi92 builders (xsl from builders).

The artifacts generated have the following issues:

  • For SQL/SQL-RDFS outputs, the output has the SQL statements inside XML tags with "item" (HTML seems ok)
  • The copyrights configured in the project do not appear in the generated builder files.

CIMTool release:

java -jar cimtool-cli.jar --version
CIMTool CLI version 2.3.0

CIM Schema Version:

CIM grid18v15
EMTIOP schema (shared via email to Todd Viegut)

To Reproduce:

For a root directory with the CLI jar, configured project in project/ and xlt builders in root, and output files in output folder, generate the artifact as follows:

java -jar cimtool-cli.jar --project-dir project/ --profile project/Profiles/emtiop.owl --xslt sql-rdfs-ansi92.xsl --output output/ --output-ext rdfs-ansi92.sql

Expected behavior
SQL schema should not have item tags, copyright should appear appropriately in html/sql builder.

Screenshots

SQL file:

Image

Missing HTML Copyright at bottom:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status
In progress
Status
In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions