From b3a9923b62e491f1ee13d8b483dca860f09edef7 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Mon, 10 Dec 2012 17:58:59 +0000
Subject: [PATCH] Fixed some XML schema so COZA doesn't barf

Change-Id: I8758f067e4c10449985f8a3a53ea1728de4b1a99
---
 modules/registrars/cozaepp/cozaepp.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php
index 63919e6..19412f4 100644
--- a/modules/registrars/cozaepp/cozaepp.php
+++ b/modules/registrars/cozaepp/cozaepp.php
@@ -194,7 +194,9 @@ function cozaepp_SaveNameservers($params) {
 
 	# Build request
 	$domainrenew = $client->request('
-<epp:epp xmlns:epp="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
+<epp:epp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:epp="urn:ietf:params:xml:ns:epp-1.0" 
+		xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:cozadomain="http://co.za/epp/extensions/cozadomain-1-0"
+		xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd">
 	<epp:command>
 		<epp:update>
 			<domain:update>
-- 
GitLab