|
From: <lh...@us...> - 2009-02-03 13:39:42
|
Revision: 258
http://tinytim.svn.sourceforge.net/tinytim/?rev=258&view=rev
Author: lheuer
Date: 2009-02-03 13:39:34 +0000 (Tue, 03 Feb 2009)
Log Message:
-----------
Fixed XTM 1.0 writer bug #2560821 -- "XTM 1.0 serializer uses wrong element for type"
Modified Paths:
--------------
tinytim-mio/trunk/src/main/java/org/tinytim/mio/XTM10TopicMapWriter.java
tinytim-mio/trunk/src/main/java/org/tinytim/mio15/XTM10TopicMapWriter.java
Modified: tinytim-mio/trunk/src/main/java/org/tinytim/mio/XTM10TopicMapWriter.java
===================================================================
--- tinytim-mio/trunk/src/main/java/org/tinytim/mio/XTM10TopicMapWriter.java 2009-01-28 15:28:36 UTC (rev 257)
+++ tinytim-mio/trunk/src/main/java/org/tinytim/mio/XTM10TopicMapWriter.java 2009-02-03 13:39:34 UTC (rev 258)
@@ -215,9 +215,9 @@
}
private void _writeType(final Typed typed) throws IOException {
- _out.startElement("type");
+ _out.startElement("instanceOf");
_writeTopicRef(typed.getType());
- _out.endElement("type");
+ _out.endElement("instanceOf");
}
private void _writeScope(final Scoped scoped) throws IOException {
Modified: tinytim-mio/trunk/src/main/java/org/tinytim/mio15/XTM10TopicMapWriter.java
===================================================================
--- tinytim-mio/trunk/src/main/java/org/tinytim/mio15/XTM10TopicMapWriter.java 2009-01-28 15:28:36 UTC (rev 257)
+++ tinytim-mio/trunk/src/main/java/org/tinytim/mio15/XTM10TopicMapWriter.java 2009-02-03 13:39:34 UTC (rev 258)
@@ -234,9 +234,9 @@
}
private void _writeType(final ITyped typed) throws IOException {
- _out.startElement("type");
+ _out.startElement("instanceOf");
_writeTopicRef(typed.getType());
- _out.endElement("type");
+ _out.endElement("instanceOf");
}
private void _writeScope(final ScopedObject scoped) throws IOException {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|