Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIM files generated by pintura seem to be invalid #61

Open
Muntasir2001 opened this issue Mar 4, 2025 · 0 comments
Open

CIM files generated by pintura seem to be invalid #61

Muntasir2001 opened this issue Mar 4, 2025 · 0 comments

Comments

@Muntasir2001
Copy link

Hi,

So I have been using CIM Tool to validate CIM files and it seems to be that none of the pintura generated CIM files are valid. I have confirmed by downloading other CIM files from the internet and they seem to be valid.

Here are the logs from CIM tool:

Untyped object of:	http://iec.ch/TC57/2013/CIM-schema-cim16#Diagram.orientation	Untyped object of CIM-schema-cim16:Diagram.orientation is CIM-schema-cim16:OrientationKind.negative
Undefined property:	http://iec.ch/TC57/2013/CIM-schema-cim16#IdentifiedObject.name	Undefined property CIM-schema-cim16:IdentifiedObject.name for network:id3108fc-d996-417b-9627-e708c00d13fd
Undefined property:	http://iec.ch/TC57/2013/CIM-schema-cim16#Diagram.orientation	Undefined property CIM-schema-cim16:Diagram.orientation for network:id3108fc-d996-417b-9627-e708c00d13fd
Undefined class:	http://iec.ch/TC57/2013/CIM-schema-cim16#Diagram	Undefined class CIM-schema-cim16:Diagram for network:id3108fc-d996-417b-9627-e708c00d13fd
@prefix msg:     <http://langdale.com.au/2005/Message#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix uml:     <http://langdale.com.au/2005/UML#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc:      <http://purl.org/dc/elements/1.1/> .

<http://iec.ch/TC57/2013/CIM-schema-cim16#Diagram>
      <http://langdale.com.au/2007/log#hasProblem>
              [ a       <http://langdale.com.au/2007/log#Problem> ;
                rdfs:comment "Undefined class" ;
                <http://langdale.com.au/2007/log#problemDetail>
                        "Undefined class CIM-schema-cim16:Diagram for network:id3108fc-d996-417b-9627-e708c00d13fd" ;
                <http://langdale.com.au/2007/log#problemReference>
                        <http://iec.ch/TC57/2007/network#id3108fc-d996-417b-9627-e708c00d13fd>
              ] .

<http://iec.ch/TC57/2013/CIM-schema-cim16#Diagram.orientation>
      <http://langdale.com.au/2007/log#hasProblem>
              [ a       <http://langdale.com.au/2007/log#Problem> ;
                rdfs:comment "Untyped object of" ;
                <http://langdale.com.au/2007/log#problemDetail>
                        "Untyped object of CIM-schema-cim16:Diagram.orientation is CIM-schema-cim16:OrientationKind.negative" ;
                <http://langdale.com.au/2007/log#problemReference>
                        <http://iec.ch/TC57/2013/CIM-schema-cim16#OrientationKind.negative>
              ] ;
      <http://langdale.com.au/2007/log#hasProblem>
              [ a       <http://langdale.com.au/2007/log#Problem> ;
                rdfs:comment "Undefined property" ;
                <http://langdale.com.au/2007/log#problemDetail>
                        "Undefined property CIM-schema-cim16:Diagram.orientation for network:id3108fc-d996-417b-9627-e708c00d13fd" ;
                <http://langdale.com.au/2007/log#problemReference>
                        <http://iec.ch/TC57/2007/network#id3108fc-d996-417b-9627-e708c00d13fd>
              ] .

<http://iec.ch/TC57/2013/CIM-schema-cim16#IdentifiedObject.name>
      <http://langdale.com.au/2007/log#hasProblem>
              [ a       <http://langdale.com.au/2007/log#Problem> ;
                rdfs:comment "Undefined property" ;
                <http://langdale.com.au/2007/log#problemDetail>
                        "Undefined property CIM-schema-cim16:IdentifiedObject.name for network:id3108fc-d996-417b-9627-e708c00d13fd" ;
                <http://langdale.com.au/2007/log#problemReference>
                        <http://iec.ch/TC57/2007/network#id3108fc-d996-417b-9627-e708c00d13fd>
              ] .

Any help would be appreciated here, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant