Skip to content

Instantly share code, notes, and snippets.

@fidothe
Created November 15, 2012 17:21
Show Gist options
  • Save fidothe/4079894 to your computer and use it in GitHub Desktop.
Save fidothe/4079894 to your computer and use it in GitHub Desktop.
Is this just libxml's XML Schema support being incomplete?
Failure/Error: @validator = Nokogiri::XML::Schema(File.open(schema_dir.join("Payment.xsd")))
Nokogiri::XML::SyntaxError:
Element '{http://www.w3.org/2001/XMLSchema}include': The schema document '/Users/matt/Documents/work/current/xeroid/vendor/XeroAPI-Schemas/v2.00/Payment.xsd' cannot be included or redefined, since it was already imported.
Payment.xsd: https://github.com/XeroAPI/XeroAPI-Schemas/blob/master/v2.00/Payment.xsd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment