cvc-complex-type.2.3: Element 'group' cannot have character [children], because the type's content type is element-only
问题 I need to create XML from this XSD: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="group"> <xs:complexType> <xs:sequence> <xs:element name="person" minOccurs="5" maxOccurs="20" type="xs:string"/> </xs:sequence> <xs:attribute name="name" use="required" type="xs:string"/> </xs:complexType> </xs:element> </xs:schema> Here is the XML I've tried: <?xml version="1.0" ?> <group name="abcd"> xmlns="www.example.org" xmlns:xsi="http:/