XSD Namespace element different to XML namespace allowed? -
im trying find out whether following case allowed:
lets have following xsd:
    <?xml version="1.0"?>     <xs:schema xmlns:xs="http://www.w3.org/2001/xmlschema" xmlns:xyz="http://www.example.com/abc"  targetnamespace="http://www.example.com/abc"  elementformdefault="qualified" attributeformdefault="qualified">   does following xml uses correct namespace? (please consider namespace only):
<?xml version="1.0" encoding="utf-8"?> <def:whatever xmlns:def="http://www.example.com/abc">   <def:adress="street 1">   ...
yes does.
(stackoverflow doesn't short answers can't think of else worth saying.)
wiki
Comments
Post a Comment