hannesN / onotoa

a visual editor for the Topic Maps Constraint Language.
0 stars 0 forks source link

CTM export not conform with standard ? #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Create a schema and export it as CTM.
When importing the CTM with MajorTom in another app, it will produce an error 
for every statement like this one:
tmcl:constrained-topic-type (
    tmcl:constrained : dpstd:concept,
    tmcl:constraint : ^<http://onotoa.topicmapslab.de/-2617836750760199496>
)

Where 'this one' means that the first part, i.e. 'tmcl:constrained : 
dpstd:concept,', contains nothing like 'tmcl:fu : ^<bar>'. (Meaning no ^<asdf>, 
im not shure what the name for that CTM construct would be.). There are no 
problems if the order is reversed or both parts end with ^<asdf>.

What is the expected output?

I'm not shure if it is the expected output, but adding a space before the comma 
solves the problem:
tmcl:constrained-topic-type (
    tmcl:constrained : dpstd:concept ,       // ADDED the space here
    tmcl:constraint : ^<http://onotoa.topicmapslab.de/-2617836750760199496>
)

What version of the product are you using?
Onotoa 1.2.0.201104291532

On what operating system?
Windows 7

Original issue reported on code.google.com by frohl.ro...@gmail.com on 28 Sep 2011 at 10:25