Home
My Page
Projects
deegree

[#2636] owsproxy capabilities doesn't contain xmlns:xlink

Date:
2011-08-22 05:01
Priority:
3
State:
Open
Submitted by:
Holger Bruch (hbruch)
Assigned to:
Nobody (None)
Hardware:
None
Operating System:
None
Version:
v2.5
Severity:
normal
Resolution:
None
 
URL:
Component:
owsProxy
 
Summary:
owsproxy capabilities doesn't contain xmlns:xlink

Detailed description
In the capabilities document generated by owsproxy the OnlineResource node does not contain a xmlns attribute.



The following patch fixes this.



Index: XMLFactory.java

===================================================================

--- XMLFactory.java (revision 18195)

+++ XMLFactory.java (working copy)

@@ -201,6 +201,7 @@

}

}



+ root.setAttributeNS( "http://www.w3.org/2000/xmlns/";, "xmlns:xlink", "http://www.w3.org/1999/xlink"; );

root.setAttributeNS( "http://www.w3.org/1999/xlink";, "xlink:type", "simple" );

root.setAttributeNS( "http://www.w3.org/1999/xlink";, "xlink:href", url );



Best regards,

Holger

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item


This site is hosted by Intevation GmbH