03/02/17 12:59 AXwWRMHE
NMTOKENか。そーしとこーかな。うんうん。
それと追加質問。
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="URLリンク(www.w3.org)"
xmlns:xml="URLリンク(www.w3.org)">
…
<xsd:element name="foo">
<xsd:complexType content="empty"/>
</xsd:element>
と記述していたが、
<xsd:import namespace="URLリンク(www.w3.org)"
schemaLocation="URLリンク(www.w3.org)"/>
を追加したところ(xmlファイル中に xml:lang="ja" があるから)
content="empty" のとこでエラーがでる。
以下、エラー内容。
s4s-att-not-allowed: Attribute 'content' cannot appear in element 'complexType'.
なんでなんで?