I have this situation:
<myxmldoc xmlns:b="urn:sc hemas-microsoft-com:BizTalkServ er"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespace SchemaLocation= "C:\shema.x sd">
<Invoice id="invoice">
<myTag1>
....
</myTag1>
</Invoice>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"
....
</Signature>
</myxmldoc>
The problem is that XML Spy complains, when validating using XML Shema:
"Mandatory local element 'Signature' must be unqualified (i.e. outside of
any namespace), but you are using a default namespace."
What is this? Is there some workaround? I'd like to keep "Signature"
element (and "myxmldoc" element) exactly as it is now.
<myxmldoc xmlns:b="urn:sc hemas-microsoft-com:BizTalkServ er"
xmlns:xsi="http ://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespace SchemaLocation= "C:\shema.x sd">
<Invoice id="invoice">
<myTag1>
....
</myTag1>
</Invoice>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#"
....
</Signature>
</myxmldoc>
The problem is that XML Spy complains, when validating using XML Shema:
"Mandatory local element 'Signature' must be unqualified (i.e. outside of
any namespace), but you are using a default namespace."
What is this? Is there some workaround? I'd like to keep "Signature"
element (and "myxmldoc" element) exactly as it is now.
Comment