Hi All,
I am using nokogiri gem(1.4.1) for xsd validation, it works well in my
local machine and doesn't in my server, it didn't validate some of the xml
tags can anybody help, below is my code.
inut_xml=request.raw_post
errors =[]
xsd =
Nokogiri::XML::Schema(File.read("#{Rails.root}/public/dwp-integration-resource.xsd"))
doc = Nokogiri::XML(input_xml)
xsd.validate(doc).each do |error|
errors << error.message
end
regards,
Loganathan
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.