johncliu / webanno

Automatically exported from code.google.com/p/webanno
Apache License 2.0
0 stars 0 forks source link

tcf export overwrites original namespaces #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I import through the project interface a TCF file with text, token, 
sentence, pos and lemma layers. See it attached.
2. I edit the annotation of lemma and/or pos with annotation.
3. I export in TCF format the outcome of the manual annotation. See it attached.

What is the expected output?
I expect to find in the output the original namespaces defined in the TCF 
schema. For example:
<tc:text>

What do you see instead?
Namespaces are overridden by a default like:
<ns3:text>

What version of the product are you using?
I am using the last stand-alone version, webanno-1.1.0-standalone.jar 

On what operating system?
Mac OS X 10.9

Please provide any additional information below.

The browser is Safari.

I attach both files, the imported and the exported.

Original issue reported on code.google.com by jmm...@gmail.com on 15 Dec 2013 at 3:36

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
This is due to the TCF library we used.
I can see that the out put file is validated here, 
https://weblicht.sfs.uni-tuebingen.de/tcf-validator/

Original comment by seidy...@gmail.com on 15 Dec 2013 at 5:24

GoogleCodeExporter commented 9 years ago
The namespace prefix is only an identifier. What is actually important, is the 
namespace URL to which this prefix is mapped.

Original comment by richard.eckart on 15 Dec 2013 at 6:20

GoogleCodeExporter commented 9 years ago
Hi both,
thank you very much for your quick answers. So, technically there is no 
problem. Sigh of relief! I haven't worked with namespaces before.
Best regards,

José

Original comment by jmm...@gmail.com on 16 Dec 2013 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by richard.eckart on 16 Dec 2013 at 11:24