Skip to content

Commit

Permalink
Replace xml schema "eis-1.0.xsd" with "ee-1.1.xsd"
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Beljajev committed Jan 8, 2017
1 parent 5dd542e commit 7677e81
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/epp-xml.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def generate_xml_from_hash(xml_params, xml, ns = '')
def custom_ext(xml, custom_params)
xml.extension do
xml.tag!('eis:extdata',
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
'xmlns:eis' => 'https://epp.tld.ee/schema/ee-1.1.xsd') do
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
end if custom_params.any?
end if custom_params.any?
Expand Down
2 changes: 1 addition & 1 deletion lib/epp-xml/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Domain

XMLNS_SECDNS = 'urn:ietf:params:xml:ns:secDNS-1.1'.freeze

XMLNS_EIS = 'https://epp.tld.ee/schema/eis-1.0.xsd'.freeze
XMLNS_EIS = 'https://epp.tld.ee/schema/ee-1.1.xsd'.freeze

def info(xml_params = {}, custom_params = {})
build('info', xml_params, custom_params)
Expand Down
2 changes: 1 addition & 1 deletion lib/epp-xml/keyrelay.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def keyrelay(xml_params = {}, custom_params = {})
end

xml.tag!('eis:extdata',
'xmlns:eis' => 'https://epp.tld.ee/schema/eis-1.0.xsd') do
'xmlns:eis' => 'https://epp.tld.ee/schema/ee-1.1.xsd') do
EppXml.generate_xml_from_hash(custom_params, xml, 'eis:')
end if custom_params.any?

Expand Down
2 changes: 1 addition & 1 deletion lib/epp-xml/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def login(xml_params = {})
],
svcExtension: [
{ extURI: { value: 'urn:ietf:params:xml:ns:secDNS-1.1' } },
{ extURI: { value: 'https://epp.tld.ee/schema/eis-1.0.xsd' } }
{ extURI: { value: 'https://epp.tld.ee/schema/ee-1.1.xsd' } }
]
}
}
Expand Down

0 comments on commit 7677e81

Please sign in to comment.