WebFaction
Community site: login faq

Hi, I have the folowin error when i try to execute this instruction:

schema =etree.XMLSchema(xsd_file)

Error: File "xmlschema.pxi", line 105, in lxml.etree.XMLSchema.init (src/lxml/lxml.etree.c:128508) lxml.etree.XMLSchemaParseError: Internal error: xmlSchemaParseIncludeOrRedefine, could not build an URI from the schemaLocation.

this is part of the schema, it is split in several files using xs:include

<xs:schema elementformdefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:include schemalocation="http://localhost:80/type_hierarchy.xsd"/> <xs:element name="O"> <xs:complextype> <xs:sequence> <xs:element name="organization" type="o_type"/> </xs:sequence> </xs:complextype> </xs:element> </xs:schema>

asked 04 Jul '11, 03:26

smachara
111
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×337
×9

question asked: 04 Jul '11, 03:26

question was seen: 5,358 times

last updated: 04 Jul '11, 03:26

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM