summaryrefslogtreecommitdiffstats
path: root/libxml2/test/schemas/anyAttr-errors1_0.xml
blob: 769a5bb7c8f1009107b4222f19f98fb1c5b0ab58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="ISO-8859-1"?>
<foo
	xmlns="http://FOO" 
	xmlns:foo="http://FOO" 
	xmlns:bar="http://BAR" 
	xmlns:import="http://IMPORT" 
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://FOO file:///c:/dev/libxml2/patches/2004-05-17/anyAttr-errors1_0.xsd">

	<!-- not allowed: foo:barC -->
	<basic.B foo:barC="o"/>
	<!-- not allowed: foo:barC -->
	<basic.C foo:barC="o"/>
	<!-- not allowed: barA, bar:barB -->
	<basic.D barA="o" bar:barB="o"/>
	<!-- not allowed: bar:barB -->
	<inters.2_1 barA="o" bar:barB="o" foo:barC="o"/>
	<!-- not allowed: barA, foo:barC -->
	<inters.3_1 barA="o" bar:barB="o" foo:barC="o"/>
	<!-- not allowed: bar:barB -->
	<inters.4_1 barA="o" bar:barB="o" foo:barC="o"/>
	<!-- not allowed: barA, foo:barC -->
	<inters.6_1 barA="o" bar:barB="o" foo:barC="o"/>
</foo>