← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5304: Changed namespace

 

------------------------------------------------------------
revno: 5304
committer: Jo Størset <storset@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-12-06 14:20:18 +0100
message:
  Changed namespace
modified:
  dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/package-info.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/package-info.java'
--- dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/package-info.java	2011-12-03 10:15:42 +0000
+++ dhis-2/dhis-services/dhis-service-importexport/src/main/java/org/hisp/dhis/importexport/dxf2/model/package-info.java	2011-12-06 13:20:18 +0000
@@ -1,9 +1,17 @@
-@javax.xml.bind.annotation.XmlSchema( 
-    namespace = "http://dhis2.org/schema/dxf/2.0-SNAPSHOT";,
-    elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED )
+@XmlSchema(
+    namespace = "http://dhis2.org/schema/dxf/2.0";,
+    xmlns = {   
+         @XmlNs(namespaceURI = "http://dhis2.org/schema/dxf/2.0";, prefix = "d")  
+    },
+    elementFormDefault = XmlNsForm.QUALIFIED) 
+
 
 package org.hisp.dhis.importexport.dxf2.model;
 
+import javax.xml.bind.annotation.XmlSchema;
+import javax.xml.bind.annotation.XmlNs;
+import javax.xml.bind.annotation.XmlNsForm;
+
 /*
  * Copyright (c) 2011, University of Oslo
  * All rights reserved.