<?xml version="1.0"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:test:foo" elementFormDefault="qualified"> <xs:element name="foo"> <xs:complexType> <xs:sequence> <xs:element name="bar"/> <xs:any namespace="##other" processContents="lax"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>