Hi everyone.
I have been experimenting with Semantic XML in order to create RDF instances that correspond to the contents of an XML file. I discovered an issue when trying to generate a Schema Ontology file with matching Semantic XML annotations using the appropriate XSD files. It seems that for every class, all generated properties reside in the same namespace. However, it might be the case that a tag in the XML file can have nested 'child' Datatype elements that are defined in a different namespace. Instead of attaching a Datatype property to the parent class, the Import Tool creates an owl:ObjectProperty in the namespace of the 'parent' that points to a Datatype Class in the child's namespace. However, the latter class is not defined anywhere and as a result the RDF instances are not populated correctly. I have attached two XSD files and a minimal XML sample that generates this issue.
In my example, for the sample XML
<?xml version="1.0" encoding="UTF-8"?>
<pyld:requestID>REQ_12345</pyld:requestID>
</oadr:oadrDistributeEvent>
the Import Tool generates the following definition for oadr:oadrDistributeEvent :

The highlighted payload:RequestID is not defined
I was hoping that the Import Tool would define the Datatype property in the child namespace, with the appropriate range, such as xsd:string in my example and attach it to the parent Class (shown below).

Best Regards,
Dimitrios Tzannetos