[xml] xmlSchema : enumeration and libxml



Hi! 
 
I have a problem to validated my xml document using enumeration tag in schema, 
like :  
 
<xsd:simpleType name="PossibleOneStepNSProblemValues"> 
   <xsd:restriction base="xsd:string"> 
        <xsd:enumeration value="LCP"/>           
        <xsd:enumeration value="QP"/>                                    
        <xsd:enumeration value="Relay"/>                                                 
   </xsd:restriction> 
</xsd:simpleType> 
 
The error is the following :  
 
Schemas validity error : Failed to validate type with facet enumeration 
 
Moreover, I have got strange error : Unimplemented block at xmlschemas.c:5353 
 
 
 
Thank in advance, 
 
Jeremie 



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