、例えば:違い/類似要素制約のない要素との違いは何
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/import" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="a"></xs:element>
</xs:schema>
とタイプxs:anyType
を持つ要素、例えば:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/import" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="b" type="xs:anyType"></xs:element>
</xs:schema>
?
いずれもコンテンツを許可し、制約を課しません。違いはありますか?私は関連する仕様書を読んできましたが、それらの違いについての私の混乱を明らかにしていません(もしあれば)。