forked from lxml/lxml
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[svn r4131] r5088@delle: sbehnel | 2009-03-02 14:06:27 +0100
fix crash bug when parsing an XMLSchema with imports from a filename --HG-- branch : trunk
- Loading branch information
scoder
committed
Mar 2, 2009
1 parent
2d1afec
commit 9490a09
Showing
5 changed files
with
58 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
targetNamespace="http://codespeak.net/lxml/schema/ns1" | ||
xmlns:a="http://codespeak.net/lxml/schema/ns" | ||
> | ||
<xsd:import | ||
namespace="http://codespeak.net/lxml/schema/ns" | ||
schemaLocation="test_inc.xsd" /> | ||
|
||
<xsd:element name="x" type="a:AType"/> | ||
</xsd:schema> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns="http://codespeak.net/lxml/schema/ns" | ||
targetNamespace="http://codespeak.net/lxml/schema/ns"> | ||
<xsd:element name="a" type="AType"/> | ||
<xsd:complexType name="AType"> | ||
<xsd:sequence> | ||
<xsd:element name="b" type="xsd:string" /> | ||
</xsd:sequence> | ||
</xsd:complexType> | ||
</xsd:schema> |
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