summaryrefslogtreecommitdiff
path: root/xsd-tests/schema/ref-type/invalid/testscript
blob: ce2e049b038d32e67c71f19fb5a2796352de6c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# file      : schema/ref-type/invalid/testscript
# license   : GNU GPL v2 + exceptions; see accompanying LICENSE file

: unresolvable-namespace-prefix
:
$* --output-dir $~ $src_base/invalid-0.xsd 2>>~%EOE%d != 0
  %\.+invalid-0.xsd:10:75: error: unable to resolve namespace ''%
  %\.+invalid-0.xsd:11:77: error: unable to resolve namespace prefix 't' in 't:author'%
  %\.+invalid-0.xsd:15:81: error: unable to resolve namespace 'http://www.codesynthesis.com/xmlns/phony'%
  EOE

: unresolvable-type
:
$* --output-dir $~ $src_base/invalid-1.xsd 2>>~%EOE%d != 0
  %\.+invalid-1.xsd:9:79: error: unable to resolve type 'author' in namespace 'http://www.codesynthesis.com/xmlns/test'%
  EOE