fixed some problems in the handling of errors, and attributes addressed by

* xmlschemas.c: fixed some problems in the handling of errors,
  and attributes addressed by references.
* test/schemas/* result/schemas/*: dropped the verbosity level
  and added a couple of new tests
Daniel
diff --git a/test/schemas/import0_0.xsd b/test/schemas/import0_0.xsd
new file mode 100644
index 0000000..7976eab
--- /dev/null
+++ b/test/schemas/import0_0.xsd
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:my="uri:mywork" targetNamespace="uri:mywork">
+
+  <import namespace="http://www.w3.org/1999/xhtml"/>
+
+  <annotation>
+    <documentation>
+      <html:p>[Some documentation for my schema]</html:p>
+    </documentation>
+  </annotation>
+  <complexType name="myType">
+    <sequence>
+      <element ref="html:p" minOccurs="0"/>
+    </sequence>
+  </complexType>
+  <element name="myElt" type="my:myType"/>
+</schema>