0
XML文書を検証することができません。 The Value Of Attribute "xmlns:xs" Associated With An Element Type "xs:schema" Must Not Contain The '<' Character.
コードに構文エラーが見つかりません。XMLドキュメントを検証できません。 "xs:schema"に '<'文字を含めることはできません
これは私のXMLコードです:
<?xml version="1.0" encoding="utf-8"?>
<bookstore>
<book>
<title>The Hunger Games</title>
<author>Suzzanne Collins</author>
<price>299</price>
</book>
<book>
<title>Divergent</title>
<author>Veronica Roth</author>
<price>399</price>
</book>
<book>
<title>Me Before you</title>
<author>JoJoMoyes</author>
<price>299</price>
</book>
</bookstore>
と、これはXSD文書である:あなたのスキーマのセカンドラインである
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema>
<xs:element name="bookstore">
<xs:complexType>
<xs:sequence>
<xs:element name="book" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="title" type="xs:string"/>
<xs:element name="author" type="xs:string"/>
<xs:element name="price" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>