## Test http://www.w3.org/2001/DOM-Test-Suite/level3/ls/DOMImplementationLSTest0

<test name='DOMImplementationLSTest0' schemaLocation='http://www.w3.org/2001/DOM-Test-Suite/Level-3 dom3.xsd'>
<metadata>
<title>DOMImplementationLSTest0</title>
<creator>Jeroen van Rotterdam</creator>
<description>Uses DOMImplementationLS.createLSParser to create a synchronous parser with an unspecified schema type.</description>
<contributor>X-Hive Corporation</contributor>
<date qualifier='created'>2002-03-23</date>
<subject resource='http://www.w3.org/TR/2003/CR-DOM-Level-3-LS-20031107/load-save#LS-DOMImplementationLS-createLSParser'/>
<subject resource='http://www.w3.org/TR/2003/CR-DOM-Level-3-LS-20031107/load-save#LS-LSParser-async'/>
<subject resource='http://www.w3.org/TR/2003/CR-DOM-Level-3-LS-20031107/load-save#LS-LSParser-busy'/>
<subject resource='http://www.w3.org/TR/2003/CR-DOM-Level-3-LS-20031107/load-save#LS-LSParser-filter'/>
</metadata>
<var name='isAsync' type='boolean'/>
<var name='isBusy' type='boolean'/>
<var name='filter' type='LSParserFilter'/>
<var name='implementation' type='DOMImplementation'/>
<var name='lsImplementation' type='DOMImplementationLS'/>
<var name='inputSource' type='LSInput'/>
<var name='document' type='Document'/>
<var name='writer' type='LSSerializer'/>
<var name='builder' type='LSParser'/>
<!-- constants -->
<var name='MODE_SYNCHRONOUS' type='short' value='1'/>
<var name='MODE_ASYNCHRONOUS' type='short' value='2'/>
<var name='DTD_SCHEMATYPE' type='DOMString' value='"http://www.w3.org/TR/REC-xml"'/>
<var name='SCHEMA_SCHEMATYPE' type='DOMString' value='"http://www.w3.org/2001/XMLSchema"'/>
<var name='NULL_SCHEMATYPE' type='DOMString' isNull='true'/>
<!-- action types DOMParser.parseWithContext -->
<var name='ACTION_REPLACE_CHILDREN' type='short' value='2'/>
<var name='ACTION_APPEND_AS_CHILDREN' type='short' value='1'/>
<var name='ACTION_INSERT_AFTER' type='short' value='4'/>
<var name='ACTION_INSERT_BEFORE' type='short' value='3'/>
<var name='ACTION_REPLACE' type='short' value='5'/>
<!-- testfiles -->
<var name='TEST0' type='DOMString' value='"test0"'/>
<var name='TEST1' type='DOMString' value='"test1"'/>
<var name='TEST2' type='DOMString' value='"test2"'/>
<var name='TEST3' type='DOMString' value='"test3"'/>
<var name='TEST4' type='DOMString' value='"test4"'/>
<var name='TEST5' type='DOMString' value='"test5"'/>
<var name='TEST6' type='DOMString' value='"test6"'/>
<var name='TEST7' type='DOMString' value='"test7"'/>
<var name='TESTPDF' type='DOMString' value='"testpdf"'/>
<implementation var='implementation'/>
<assign var='lsImplementation' value='implementation'/>
<createLSParser var='builder' obj='lsImplementation' mode='MODE_SYNCHRONOUS' schemaType='NULL_SCHEMATYPE'/>
<assertNotNull actual='builder' id='builderNotNull'/>
<async var='isAsync' obj='builder'/>
<assertFalse actual='isAsync' id='notAsync'/>
<busy var='isBusy' obj='builder'/>
<assertFalse actual='isBusy' id='notBusy'/>
<filter var='filter' obj='builder' interface='LSParser'/>
<assertNull actual='filter' id='nullFilter'/>
</test>

Copyright (c) 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See W3C License http://www.w3.org/Consortium/Legal/ for more details.