[xml] xmllint --schema segmentation fault



Hi
I'm using libxml2.6.4 on redhat7.3 and getting a segmentation fault from
xmllint.
the files are:
--test.xml-----------------------------------------------
<a xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://test test.xsd" xmlns="http://test";>
 <b>b</b>
</a>
--test.xsd-----------------------------------------------
<xs:schema targetNamespace="http://test";
xmlns:xs="http://www.w3.org/2001/XMLSchema";>
 <xs:element name="a">
  <xs:complexType>
   <xs:all>
    <xs:element name="b" type="xs:string" maxOccurs="2"/>
    <xs:element name="c" type="xs:string"/>
   </xs:all>
  </xs:complexType>
 </xs:element>
</xs:schema>
--------------------------------------------------------
Of course I know this xsd file has wrong grammer(maxOccurs="2").

Is this a bug of xmllint or my fault?
Does anyone know about this?

Thanks
Taihei






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]