ok

Mini Shell

Direktori : /opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/
Upload File :
Current File : //opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/reader6.pyc

�
[��ec@s�ddlZddlZddlZyddlZejZWnddlZejZnXdZejd�ejee	e��Z
e
j�Z[
dZ
ee
�Zeje�Zejd�Zeje�ej�Zxedkr�ej�Zq�WedkrdGHejd�nej�dkrFdGHejd�nd	Z
d
adZd�Zejed
�ee
�Zeje�Zejd
�Zeje�ej�Zxedkr�ej�Zq�Wedkr�dGHejd�nej�dkrdGHejd�ntekrAdGHtGHejd�n[[[[ej�ej�ejd�dkr~dGHndejd�GHdS(i����Ns�<element name="foo" xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <oneOrMore>
    <element name="label">
      <text/>
    </element>
    <optional>
      <element name="opt">
        <empty/>
      </element>
    </optional>
    <element name="item">
      <data type="byte"/>
    </element>
  </oneOrMore>
</element>
is6<foo>
<label>some text</label>
<item>100</item>
</foo>tcorrectisError parsing the documentsDocument failed to validates7<foo>
<label>some text</label>
<item>1000</item>
</foo>tslType byte doesn't allow value '1000'
Error validating datatype byte
Element item failed to validate content
cCstd|adS(Ns%s(terr(tctxtstr((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/reader6.pytcallbackXsterrors.Document failed to detect the validation errors'Did not get the expected error message:tOKsMemory leak %d bytes(tsyst
setup_testtlibxml2tStringIOtstr_iotiotschematdebugMemorytrelaxNGNewMemParserCtxttlentrngptrelaxNGParsetrngstdocstrtftinputBuffertinputt
newTextReadertreadertRelaxNGSetSchematReadtrettexittIsValidRtexpectRtregisterErrorHandlertrelaxNGCleanupTypest
cleanupParser(((sC/opt/cpanel/ea-libxml2/share/doc/libxml2/python/examples/reader6.pyt<module>st



	




Zerion Mini Shell 1.0