changeset 111:71465cead59c

patch "ALIAS" attribute of ALIAS type in XML export.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Mon, 12 Aug 2019 18:05:16 +0200
parents 484be3266e54
children 933d17f95016
files src/main/java/org/mpi/openmind/repository/utils/OM4StreamWriter.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/org/mpi/openmind/repository/utils/OM4StreamWriter.java	Thu Aug 08 19:13:29 2019 +0200
+++ b/src/main/java/org/mpi/openmind/repository/utils/OM4StreamWriter.java	Mon Aug 12 18:05:16 2019 +0200
@@ -376,6 +376,10 @@
         writer.writeStartElement(XMLUtil.ATTRIBUTE);
 
         String name = att.getName();
+        if (name.equals("ALIAS")) {
+        	name = "alias"; // :-(
+        }
+        
         /*
          * write XML attributes
          */