-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
modified schema to use local xml.xsd
It was already local and I was getting remote retrieve errors from nokogiri some times -- nokogiri-1.5.0/lib/nokogiri/xml/schema.rb:37:in `from_document': Element '{http://www.w3.org/2001/XMLSchema}import': Failed to parse the XML resource 'http://www.w3.org/2001/xml.xsd'. (Nokogiri::XML::SyntaxError)
- Loading branch information
1 parent
84bda85
commit c94519b
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c94519b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you manage to find another solution to this issue?
I am seeing a similar behavior of Nokogiri but it does not feel quite right to change the schemaLocation.
c94519b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet. That is on the TODO list, but lower priority.
The one reason I am semi-okay with it is when you have a non-internet connected app. Which is possible with telephony (ruby_speech + Adhearsion + non-SIP end-points).
c94519b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am surprised that not more people are reporting this behavior. Or I am just not finding such reports.
I was getting this behavior when trying to validate an XML doc against it's XSD. Same for you?