--- a/group/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ b/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -24,10 +24,10 @@
#include "../extension_makefiles/group/bld.inf"
#include "../xml/cxmllibrary/group/bld.inf"
#include "../xml/xmlparser/group/bld.inf"
-#include "../xml/legacyminidomparser/GROUP/bld.inf"
-#include "../xml/xmlfw/GROUP/bld.inf"
+#include "../xml/legacyminidomparser/group/bld.inf"
+#include "../xml/xmlfw/group/bld.inf"
#include "../xml/libxml2libs/group/bld.inf"
-#include "../xml/xmldomandxpath/GROUP/bld.inf"
+#include "../xml/xmldomandxpath/group/bld.inf"
#include "../xml/wbxmlparser/group/bld.inf"
#include "../xml/xmllibxml2parser/group/bld.inf"
#include "../xml/xmlexpatparser/group/bld.inf"
--- a/package_definition.xml Thu Jul 01 15:13:40 2010 +0530
+++ b/package_definition.xml Mon Sep 13 13:16:40 2010 +0530
@@ -1,32 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<SystemDefinition schema="3.0.0">
<package id="xmlsrv" name="XML Services" levels="plugin server framework generic specific">
- <collection id="xmlengine" name="XML Engine" level="server">
- <component id="libxml2" filter="s60" name="Libxml2" deprecated="^3">
- <!-- deprecated due to duplication -->
- <unit bldFile="xmlengine/libxml2/group"/>
+ <collection id="xmlsrv_plat" name="XML Services Platform Interfaces" level="specific">
+ <component id="xml_encryption_api" name="XML Encryption API" class="api" filter="s60">
+ <meta rel="Api" href="xmlsrv_plat/xml_encryption_api/xml_encryption_api.metaxml"/>
+ <unit bldFile="xmlsrv_plat/xml_encryption_api/group"/>
</component>
- <component id="xmlengineutils" filter="s60" name="XML Engine Utils" deprecated="^3">
- <!-- deprecated due to duplication -->
- <unit bldFile="xmlengine/xmlengineutils/group"/>
- </component>
- <component id="domxpathwrapper" filter="s60" name="DOM XPath Wrapper" deprecated="^3">
- <!-- deprecated due to duplication -->
- <unit bldFile="xmlengine/domxpathwrapper/group"/>
+ <component id="xml_signature_api" name="XML Signature API" class="api" filter="s60">
+ <meta rel="Api" href="xmlsrv_plat/xml_signature_api/xml_signature_api.metaxml"/>
+ <unit bldFile="xmlsrv_plat/xml_signature_api/group"/>
</component>
- <component id="xmlengineserializer" filter="s60" name="XML Engines Serializer" deprecated="^3">
- <!-- deprecated due to duplication -->
- <unit bldFile="xmlengine/xmlengineserializer/group"/>
+ <component id="xml_security_engine_utils_api" name="XML Security Engine Utils API" class="api" filter="s60">
+ <meta rel="Api" href="xmlsrv_plat/xml_security_engine_utils_api/xml_security_engine_utils_api.metaxml"/>
+ <unit bldFile="xmlsrv_plat/xml_security_engine_utils_api/group"/>
</component>
- <component id="xmlenginesaxplugin" filter="s60" name="XML Engine SAX Plugin" class="plugin" deprecated="^3">
- <!-- deprecated due to duplication -->
- <unit bldFile="xmlengine/xmlenginesaxplugin/group"/>
- </component>
- <component id="xmlengine_build" filter="s60" name="XML Engine Build" deprecated="^3">
- <!-- deprecated due to duplication -->
- <!-- can the hrh #include be moved to the appropriate other bld.infs? -->
- <unit bldFile="xmlengine/group"/>
- </component>
+ <component id="cxml_library_api" name="cXml Library API" class="api" filter="s60">
+ <meta rel="Api" href="xmlsrv_plat/cxml_library_api/cxml_library_api.metaxml"/>
+ <unit bldFile="xmlsrv_plat/cxml_library_api/group"/>
+ </component>
+ <component id="xml_parser_api" name="XML Parser API" class="api" filter="s60">
+ <meta rel="Api" href="xmlsrv_plat/xml_parser_api/xml_parser_api.metaxml"/>
+ <unit bldFile="xmlsrv_plat/xml_parser_api/group"/>
+ </component>
</collection>
<collection id="xmlsecurityengine" name="XML Security Engine" level="framework">
<component id="xmlseccertman" filter="s60" name="XML Security Certificate Manager">
@@ -41,58 +36,72 @@
<component id="xmlsecwrapper" filter="s60" name="XML Security Wrapper">
<unit bldFile="xmlsecurityengine/xmlsecwrapper/group"/>
</component>
- <component id="xmlsecurityengine_build" filter="s60" name="XML Security Engine Build">
- <!-- can the hrh #include be moved to the appropriate other bld.infs? -->
- <unit bldFile="xmlsecurityengine/group"/>
- </component>
</collection>
<collection id="xml" name="XML" level="generic">
<component id="xmlfw" name="XML Framework" introduced="7.0s" purpose="optional">
- <unit bldFile="xml/xmlfw/group" mrp="xml/xmlfw/group/syslibs_xml.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_rtest"/>
+ </meta>
+ <unit bldFile="xml/xmlfw/group" mrp="xml/xmlfw/group/syslibs_xml.mrp" filter="!test"/>
+ <unit bldFile="xml/xmlfw/test/rtest/group" filter="test,api_test"/>
</component>
<component id="libxml2libs" name="Libxml2 Libraries" introduced="^3" purpose="optional">
- <unit bldFile="xml/libxml2libs/group" mrp="xml/libxml2libs/group/syslibs_libxml2.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_tef"/>
+ </meta>
+ <unit bldFile="xml/libxml2libs/group" mrp="xml/libxml2libs/group/syslibs_libxml2.mrp" filter="!test"/>
+ <unit bldFile="xml/libxml2libs/test" filter="test,api_test"/>
</component>
- <component id="legacyminidomparser" name="Legacy Mini-DOM Parser" introduced="7.0s" purpose="optional">
- <unit bldFile="xml/legacyminidomparser/GROUP" mrp="xml/legacyminidomparser/GROUP/syslibs_legacyminidomparser.mrp" />
+ <component id="libxml2libs_test" name="Libxml2 Libraries STIF Tests" introduced="^3" purpose="development" filter="test,api_test">
+ <!-- can't have a component live under another component. Need to move to a new directory -->
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_stif"/>
+ </meta>
+ <unit bldFile="xml/libxml2libs/test/xmlengtester/xmlengtester_target/group"/>
+ </component>
+ <component id="legacyminidomparser" name="Legacy Mini-DOM Parser" introduced="7.0s" purpose="optional">
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_rtest"/>
+ </meta>
+ <unit bldFile="xml/legacyminidomparser/GROUP" mrp="xml/legacyminidomparser/GROUP/syslibs_legacyminidomparser.mrp" filter="!test"/>
+ <unit bldFile="xml/legacyminidomparser/XMLParser/test/group" filter="test,api_test"/>
</component>
<component id="xmldomandxpath" name="XML DOM and XPath" introduced="^3" purpose="optional">
- <unit bldFile="xml/xmldomandxpath/group" mrp="xml/xmldomandxpath/group/syslibs_xmldom.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_tef"/>
+ </meta>
+ <unit bldFile="xml/xmldomandxpath/group" mrp="xml/xmldomandxpath/group/syslibs_xmldom.mrp" filter="!test"/>
+ <unit bldFile="xml/xmldomandxpath/test/tef/group" filter="test,api_test"/>
</component>
<component id="xmlexpatparser" name="XML Expat Parser" introduced="7.0s" purpose="optional" class="plugin">
- <unit bldFile="xml/xmlexpatparser/group" mrp="xml/xmlexpatparser/group/syslibs_xmlparser.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_rtest"/>
+ </meta>
+ <unit bldFile="xml/xmlexpatparser/group" mrp="xml/xmlexpatparser/group/syslibs_xmlparser.mrp" filter="!test"/>
+ <unit bldFile="xml/xmlexpatparser/test/rtest/group" filter="test,api_test"/>
</component>
<component id="xmllibxml2parser" name="XML Libxml2 Parser" introduced="^3" purpose="optional" class="plugin">
- <unit bldFile="xml/xmllibxml2parser/group" mrp="xml/xmllibxml2parser/group/syslibs_xmlparser2.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_tef"/>
+ </meta>
+ <unit bldFile="xml/xmllibxml2parser/group" mrp="xml/xmllibxml2parser/group/syslibs_xmlparser2.mrp" filter="!test"/>
+ <unit bldFile="xml/xmllibxml2parser/test/tef/xmlparser2/group" filter="test,api_test"/>
</component>
<component id="wbxmlparser" name="WBXML Parser" introduced="7.0s" purpose="optional" class="plugin">
- <unit bldFile="xml/wbxmlparser/group" mrp="xml/wbxmlparser/group/syslibs_wbxmlparser.mrp"/>
+ <meta rel="testbuild">
+ <group name="xmlsrv_test_rtest"/>
+ </meta>
+ <unit bldFile="xml/wbxmlparser/group" mrp="xml/wbxmlparser/group/syslibs_wbxmlparser.mrp" filter="!test"/>
+ <unit bldFile="xml/wbxmlparser/test/rtest/group" filter="test,api_test"/>
</component>
- <component id="cxmllibrary" filter="s60" name="CXML Parser">
+ <component id="cxmllibrary" filter="s60" name="cXml Library">
<unit bldFile="xml/cxmllibrary/group"/>
</component>
- <component id="xmlparser" filter="s60" name="XML Parser">
+ <component id="xmlparser" filter="s60" name="XML Interface">
<unit bldFile="xml/xmlparser/group"/>
</component>
- </collection>
+ </collection>
<collection id="xmlsrv_info" name="XML Services Info" level="specific">
- <component id="xmlsrv_plat" filter="s60" name="XML Services Platform Interfaces" class="api">
- <unit bldFile="xmlsrv_plat/group"/>
- <!-- <unit bldFile="xmlsrv_plat/xml_encryption_api/tsrc/group"/> -->
- <!-- <unit bldFile="xmlsrv_plat/xml_engine_serializer_api/tsrc/group"/> -->
- <!-- <unit bldFile="xmlsrv_plat/xml_engine_utils_api/tsrc/group"/> -->
- <!-- <unit bldFile="xmlsrv_plat/xml_engine_xpath_api/tsrc/group"/> -->
- <!-- <unit bldFile="xmlsrv_plat/xml_security_engine_utils_api/tsrc/group"/> -->
- <!-- <unit bldFile="xmlsrv_plat/xml_signature_api/tsrc/group"/> -->
- </component>
- <component id="xmlsrv_build" filter="s60" name="XML Services Build">
- <!-- move ifdef into appropriate bld.inf -->
- <unit bldFile="group"/>
- </component>
- <component id="xmlsrv_pub" filter="s60" name="XML Services Public Interfaces" class="api">
- <unit bldFile="xmlsrv_pub/group"/>
- <!-- <unit bldFile="xmlsrv_pub/xml_engine_dom_api/tsrc/group"/> -->
- </component>
<component id="xmlsrv_metadata" name="XML Services Metadata" class="config" introduced="^2" purpose="development" target="desktop">
<unit mrp="xmlsrv_info/xmlsrv_metadata/xmlsrv_metadata.mrp"/>
</component>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/package_map.xml Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1 @@
+<PackageMap root="sf" layer="os"/>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/cxmllibrary/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,35 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: cXml Parser build info
+*
+*/
+
+#include <platform_paths.hrh>
+
+PRJ_PLATFORMS
+DEFAULT
+//WINS THUMB ARMI ARM4 WINSCW
+
+PRJ_EXPORTS
+
+../rom/cXmlParser.iby CORE_OS_LAYER_IBY_EXPORT_PATH(cXmlParser.iby)
+
+
+PRJ_MMPFILES
+cXmlParser.mmp
+
+PRJ_TESTMMPFILES
+//../test/xmlparser_test.mmp
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/cxmllibrary/group/bwinscw/CXMLPARSERU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,172 @@
+EXPORTS
+ CXML_Additional_Feature_Supprted @ 1 NONAME
+ CXML_Read_From_File @ 2 NONAME
+ CXML_XML_Get_Entity @ 3 NONAME
+ NW_DOM_AttrVal_getExtension @ 4 NONAME
+ NW_DOM_AttrVal_getOpaque @ 5 NONAME
+ NW_DOM_AttrVal_getType @ 6 NONAME
+ NW_DOM_AttrVal_initFromString @ 7 NONAME
+ NW_DOM_AttrVal_initFromToken @ 8 NONAME
+ NW_DOM_AttrVal_toString @ 9 NONAME
+ NW_DOM_AttributeHandle_addVal @ 10 NONAME
+ NW_DOM_AttributeHandle_getEncoding @ 11 NONAME
+ NW_DOM_AttributeHandle_getName @ 12 NONAME
+ NW_DOM_AttributeHandle_getNextVal @ 13 NONAME
+ NW_DOM_AttributeHandle_getToken @ 14 NONAME
+ NW_DOM_AttributeHandle_getValue @ 15 NONAME
+ NW_DOM_AttributeHandle_getValuePrefix @ 16 NONAME
+ NW_DOM_AttributeHandle_initWithStartToken @ 17 NONAME
+ NW_DOM_AttributeListIterator_getNextAttribute @ 18 NONAME
+ NW_DOM_DocumentNode_BuildTree @ 19 NONAME
+ NW_DOM_DocumentNode_BuildWBXMLTree @ 20 NONAME
+ NW_DOM_DocumentNode_Delete @ 21 NONAME
+ NW_DOM_DocumentNode_createDocumentWithNumberPublicId @ 22 NONAME
+ NW_DOM_DocumentNode_createElementNode @ 23 NONAME
+ NW_DOM_DocumentNode_createElementNodeByToken @ 24 NONAME
+ NW_DOM_DocumentNode_createTextNode @ 25 NONAME
+ NW_DOM_DocumentNode_createTextNodeWithTextItem @ 26 NONAME
+ NW_DOM_DocumentNode_getCharacterEncoding @ 27 NONAME
+ NW_DOM_DocumentNode_getDictionary @ 28 NONAME
+ NW_DOM_DocumentNode_getDocumentElement @ 29 NONAME
+ NW_DOM_DocumentNode_getPublicId @ 30 NONAME
+ NW_DOM_DocumentNode_getPublicIdAsNumber @ 31 NONAME
+ NW_DOM_DocumentNode_getVersion @ 32 NONAME
+ NW_DOM_ElementNode_getAttribute @ 33 NONAME
+ NW_DOM_ElementNode_getAttributeHandleByName @ 34 NONAME
+ NW_DOM_ElementNode_getAttributeHandleByToken @ 35 NONAME
+ NW_DOM_ElementNode_getAttributeListIterator @ 36 NONAME
+ NW_DOM_ElementNode_getTagName @ 37 NONAME
+ NW_DOM_ElementNode_getTagToken @ 38 NONAME
+ NW_DOM_ElementNode_hasAttributes @ 39 NONAME
+ NW_DOM_ElementNode_removeAttribute @ 40 NONAME
+ NW_DOM_ElementNode_setAttribute @ 41 NONAME
+ NW_DOM_ElementNode_setAttributeByAttrVal @ 42 NONAME
+ NW_DOM_ElementNode_setAttributeByAttributeHandle @ 43 NONAME
+ NW_DOM_ElementNode_setAttributeByToken @ 44 NONAME
+ NW_DOM_Node_appendChild @ 45 NONAME
+ NW_DOM_Node_getFirstChild @ 46 NONAME
+ NW_DOM_Node_getLastChild @ 47 NONAME
+ NW_DOM_Node_getNextSibling @ 48 NONAME
+ NW_DOM_Node_getNodeName @ 49 NONAME
+ NW_DOM_Node_getNodeToken @ 50 NONAME
+ NW_DOM_Node_getNodeType @ 51 NONAME
+ NW_DOM_Node_getOwnerDocument @ 52 NONAME
+ NW_DOM_Node_getParentNode @ 53 NONAME
+ NW_DOM_Node_getPreviousSibling @ 54 NONAME
+ NW_DOM_Node_hasChildNodes @ 55 NONAME
+ NW_DOM_Node_insertBefore @ 56 NONAME
+ NW_DOM_Node_removeChild @ 57 NONAME
+ NW_DOM_Node_replaceChild @ 58 NONAME
+ NW_DOM_ProcessingInstructionNode_getTargetToken @ 59 NONAME
+ NW_DOM_TextItemIterator_getNextTextItem @ 60 NONAME
+ NW_DOM_TextItem_getEntity @ 61 NONAME
+ NW_DOM_TextItem_getExtension @ 62 NONAME
+ NW_DOM_TextItem_getExtensionInt @ 63 NONAME
+ NW_DOM_TextItem_getExtensionToken @ 64 NONAME
+ NW_DOM_TextItem_getOpaque @ 65 NONAME
+ NW_DOM_TextItem_getString @ 66 NONAME
+ NW_DOM_TextItem_getType @ 67 NONAME
+ NW_DOM_TextItem_initFromEntity @ 68 NONAME
+ NW_DOM_TextItem_initFromExtension @ 69 NONAME
+ NW_DOM_TextItem_initFromExtensionInt @ 70 NONAME
+ NW_DOM_TextItem_initFromOpaque @ 71 NONAME
+ NW_DOM_TextItem_initFromString @ 72 NONAME
+ NW_DOM_TextItem_toString @ 73 NONAME
+ NW_DOM_TextNode_addDataFromTextItem @ 74 NONAME
+ NW_DOM_TextNode_getData @ 75 NONAME
+ NW_DOM_TextNode_getTextItemIterator @ 76 NONAME
+ NW_DOM_TextNode_setData @ 77 NONAME
+ NW_DOM_TextNode_setDataFromTextItem @ 78 NONAME
+ NW_Encoder_StringTable_GetSize @ 79 NONAME
+ NW_Encoder_StringTable_StringTableIterateInit @ 80 NONAME
+ NW_Encoder_StringTable_StringTableIterateNext @ 81 NONAME
+ NW_Encoder_StringTable_addToStringTable @ 82 NONAME
+ NW_Encoder_StringTable_createFromDOM @ 83 NONAME
+ NW_Encoder_StringTable_delete @ 84 NONAME
+ NW_Encoder_StringTable_get @ 85 NONAME
+ NW_Encoder_StringTable_getStringTableOffset @ 86 NONAME
+ NW_Encoder_StringTable_getTotalBytes @ 87 NONAME
+ NW_Encoder_StringTable_new @ 88 NONAME
+ NW_Encoder_encodeWBXML @ 89 NONAME
+ NW_String_UCS2BuffToString @ 90 NONAME
+ NW_String_byteToUCS2Char @ 91 NONAME
+ NW_String_charBuffGetLength @ 92 NONAME
+ NW_String_clearUserOwnsStorage @ 93 NONAME
+ NW_String_concatenate @ 94 NONAME
+ NW_String_deepCopy @ 95 NONAME
+ NW_String_delete @ 96 NONAME
+ NW_String_deleteStorage @ 97 NONAME
+ NW_String_entityToString @ 98 NONAME
+ NW_String_entityToUCS2Char @ 99 NONAME
+ NW_String_equals @ 100 NONAME
+ NW_String_getByteCount @ 101 NONAME
+ NW_String_getCharCount @ 102 NONAME
+ NW_String_getCharCount32 @ 103 NONAME
+ NW_String_getStorage @ 104 NONAME
+ NW_String_getUserOwnsStorage @ 105 NONAME
+ NW_String_initialize @ 106 NONAME
+ NW_String_new @ 107 NONAME
+ NW_String_readChar @ 108 NONAME
+ NW_String_setUserOwnsStorage @ 109 NONAME
+ NW_String_shallowCopy @ 110 NONAME
+ NW_String_stringToUCS2Char @ 111 NONAME
+ NW_String_tokenToString @ 112 NONAME
+ NW_String_ucs2CharLength @ 113 NONAME
+ NW_String_ucs2CharToString @ 114 NONAME
+ NW_TinyDom_AppendDOMTree @ 115 NONAME
+ NW_TinyDom_MakeDOMTree @ 116 NONAME
+ NW_TinyDom_ParserDelete @ 117 NONAME
+ NW_TinyDom_ParserInitialize @ 118 NONAME
+ NW_TinyDom_Parser_construct @ 119 NONAME
+ NW_TinyDom_getParser @ 120 NONAME
+ NW_TinyDom_getTagToken @ 121 NONAME
+ NW_TinyDom_getTree @ 122 NONAME
+ NW_TinyTree_Node_findTree @ 123 NONAME
+ NW_WBXML_Dictionary_destroy @ 124 NONAME
+ NW_WBXML_Dictionary_getAttributeNameByToken @ 125 NONAME
+ NW_WBXML_Dictionary_getAttributeToken @ 126 NONAME
+ NW_WBXML_Dictionary_getByPublicId @ 127 NONAME
+ NW_WBXML_Dictionary_getTagByFqToken @ 128 NONAME
+ NW_WBXML_Dictionary_getTagToken @ 129 NONAME
+ NW_WBXML_Dictionary_initialize @ 130 NONAME
+ NW_WBXML_Dictionary_resolveLiteralToken @ 131 NONAME
+ NW_WBXML_Document_construct @ 132 NONAME
+ NW_WBXML_Document_destruct @ 133 NONAME
+ NW_WBXML_Document_getTableString @ 134 NONAME
+ NW_WBXML_Document_putTableString @ 135 NONAME
+ NW_WBXML_Parser_getOpaque @ 136 NONAME
+ NW_WBXML_Parser_getStringInline @ 137 NONAME
+ NW_WBXML_Parser_newInPlace @ 138 NONAME
+ NW_WBXML_Parser_parseBuffer @ 139 NONAME
+ NW_WBXML_Parser_registerHandler @ 140 NONAME
+ NW_WBXML_Writer_AttributeAndValue @ 141 NONAME
+ NW_WBXML_Writer_AttributeAndValue2 @ 142 NONAME
+ NW_WBXML_Writer_End @ 143 NONAME
+ NW_WBXML_Writer_Header @ 144 NONAME
+ NW_WBXML_Writer_Initialize @ 145 NONAME
+ NW_WBXML_Writer_Opaque @ 146 NONAME
+ NW_WBXML_Writer_PI @ 147 NONAME
+ NW_WBXML_Writer_TagClearContentFlag @ 148 NONAME
+ NW_WBXML_Writer_TagSetAttributesFlag @ 149 NONAME
+ NW_WBXML_Writer_TagSetContentFlag @ 150 NONAME
+ NW_WBXML_Writer_TagString @ 151 NONAME
+ NW_WBXML_Writer_Text @ 152 NONAME
+ NW_XML_ComputeEncoding @ 153 NONAME
+ NW_XML_Parse @ 154 NONAME
+ NW_XML_Reader_AdvanceOffset @ 155 NONAME
+ NW_XML_Reader_AsciiCharMatch @ 156 NONAME
+ NW_XML_Reader_AsciiStringMatch @ 157 NONAME
+ NW_XML_Reader_DataAddressFromBuffer @ 158 NONAME
+ NW_XML_Reader_GetLineColumn @ 159 NONAME
+ NW_XML_Reader_GetPosition @ 160 NONAME
+ NW_XML_Reader_InitFromBuffer @ 161 NONAME
+ NW_XML_Reader_Interval_Start @ 162 NONAME
+ NW_XML_Reader_Interval_Stop @ 163 NONAME
+ NW_XML_Reader_IsDigit @ 164 NONAME
+ NW_XML_Reader_IsLetter @ 165 NONAME
+ NW_XML_Reader_IsSpace @ 166 NONAME
+ NW_XML_Reader_PeekOffset @ 167 NONAME
+ NW_XML_Reader_SetPosition @ 168 NONAME
+ NW_XML_Reader_SkipSpace @ 169 NONAME
+ CXML_DOM_DocumentNode_BuildTree @ 170 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/cxmllibrary/group/cxmlparser.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,118 @@
+/*
+* Copyright (c) 1997-2003 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#include <platform_paths.hrh>
+TARGET cXmlParser.dll
+TARGETTYPE dll
+
+
+
+#if defined(ARMCC)
+UID 0x1000008D 0x101F8710
+deffile eabi/CXMLPARSER.DEF
+#elif defined( WINSCW )
+deffile BWINSCW/CXMLPARSER.DEF
+#elif defined( WINS )
+deffile Bwins/cXmlParser.def
+#else
+deffile bmarm/CXMLPARSER.DEF
+#endif
+
+CAPABILITY CAP_GENERAL_DLL
+VENDORID VID_DEFAULT
+
+SOURCEPATH ../src
+
+SOURCE dom/src/attribute.c
+SOURCE dom/src/document.c
+SOURCE dom/src/element.c
+SOURCE dom/src/node.c
+SOURCE dom/src/text.c
+SOURCE dom/src/wbxml_types.c
+SOURCE string/src/char.c
+SOURCE string/src/string.c
+SOURCE tinydom/src/tiny_dom.c
+SOURCE tinydom/src/tiny_dom_utils.c
+SOURCE tinydom/src/tiny_dom_write.c
+SOURCE tinytree/src/EBuffer.c
+SOURCE tinytree/src/tree.c
+SOURCE tinytree/src/TreeVector.c
+SOURCE wbxmlp/src/dictionary.c
+SOURCE wbxmlp/src/DictionaryContext.cpp
+SOURCE wbxmlp/src/doc.c
+SOURCE wbxmlp/src/opaque.c
+SOURCE wbxmlp/src/parse_buffer.c
+SOURCE wbxmlp/src/parse_logic.cpp
+SOURCE xmlp/src/Xmlp2Wbxml.c
+SOURCE xmlp/src/XMLParser.cpp
+SOURCE xmlp/src/XMLReader.c
+SOURCE xmlp/src/XmlpIntEntity.cpp
+SOURCE xmlp/src/XmlpEntity.cpp
+SOURCE encoder/src/domencoder.c
+SOURCE encoder/src/StringTable.c
+SOURCE encoder/src/tinydom2wbxml.c
+SOURCE encoder/src/WBXMLWriter.cpp
+SOURCE utils/src/cxml_mem.c
+SOURCE utils/src/cxml_vector.c
+SOURCE utils/src/cxml_str.c
+SOURCE utils/src/E32XMLParserDllEntryPoint.cpp
+SOURCE utils/src/cxml_file_if.cpp
+
+
+
+
+#if defined(WINS)
+ #ifndef WINSCW
+ SOURCE utils/src/cxml_assert.c
+ #endif
+#endif
+
+USERINCLUDE ../src/dom/include
+USERINCLUDE ../src/encoder/include
+USERINCLUDE ../src/xmlp/include
+USERINCLUDE ../src/wbxmlp/include
+USERINCLUDE ../src/string/include
+USERINCLUDE ../src/tinydom/include
+USERINCLUDE ../src/tinytree/include
+USERINCLUDE ../src/utils/include
+
+
+// ===================================
+
+
+OS_LAYER_SYSTEMINCLUDE
+SYSTEMINCLUDE /epoc32/include/libc
+
+
+// Symbian OS libraries
+//#if defined (WINS)
+//LIBRARY edll.lib
+//#endif
+LIBRARY estlib.lib
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+
+/*#if defined(WINS)
+#define FEATURE_MEMORY_PROFILE
+#endif
+
+#if defined(FEATURE_MEMORY_PROFILE)
+LIBRARY browserengine.lib
+#endif */
+//LIBRARY featmgr.lib
+//DEBUGLIBRARY flogger.lib
+
--- a/xml/legacyminidomparser/GROUP/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Messaging - GMXML
-// Generic XML parser and composer
-//
-//
-
-/**
- @file
-*/
-
-
-PRJ_PLATFORMS
-DEFAULT
-
-// Subproject builds
-#include "../XMLDom/GROUP/bld.inf"
-#include "../XMLParser/GROUP/bld.inf"
-#include "../Rom/bld.inf"
-
-PRJ_MMPFILES
--- a/xml/legacyminidomparser/GROUP/syslibs_legacyminidomparser.history.xml Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<relnotes name="SMIL Parser">
- <purpose>
- SMIL parsing implemented via generic XML Parser / Composer with a "mini-DOM" API able to perform syntax checking against simple DTDs. Replaces SMIL Translater implementation of 7.0s.
- </purpose>
-
- <defect number="DEF143070" title="Header File missing in legacyminidomparser after header relocation sf changes" revision="013">
- include f32file.h in gmxmlparser.h
- </defect>
-
- <deliverystep number="1842" name="CR1934: Messaging: Moving XML Parser" osproject="SymTB9.2" revision="012">
- <cr number="1934" title="Restructuring of the MCL">Adding SMIL parser into webservices-xml package.</cr>
- <milestone project="GT0539" number="3.4" />
- </deliverystep>
-
- <deliverystep number="1903" name="PREQ2621: Relocating header files" osproject="SymTB9.2" revision="011">
- <milestone project="GT0539" number="3.3" />
- <preq number="2621" title="Relocating header files">Relocating Header files for XML API</preq>
- </deliverystep>
-
- <defect number="DEF138034" title="GMXML parser could cause stray event panics" revision="010">
- stray scanner defect.
- </defect>
-
- <deliverystep number="1462" name="Splitting mixed header files for Messaging" osproject="SymTB92" revision="009">
- <preq number="2510" title=" Splitting mixed header files for Messaging">
- Mixed header files will now contain only published All or published Partner or internal
- </preq>
- <milestone project="GT0465" number="3.5"/>
- </deliverystep>
-
- <defect number="DEF128078" title="@prototype tags in messaging" revision="008">
- Added IM tag message server.
- </defect>
- <defect number="PDEF126520" title="[Folder name missing characters" revision="007">
- written a new api which handles the case when there is quotation in file name.
- </defect>
-
- <defect number="DEF125067" title="[coverity] - CHECKED_RETURN - messaging/gmxml/xmlparser/src/gmxmlparser.cpp" revision="006">
- Checked the if condition is not false for the AppendChild function.
- </defect>
-
- <defect number="PDEF115899" title="xmlparser panics when out of memory" revision="005">
- Added a new exported leaving function. This is BR approved and BR number is BR2302.3
- </defect>
-
- <defect number="DEF108002" title="Warnings generated with checksource build " revision="004">
- Added condition to differentiate the winscw and armv5 def files for case sensitive
- </defect>
-
- <defect number="DEF105400" title="Add missing IM tags to Messaging public header files" revision="003">
- Added IM tag for all given header files.
- </defect>
-
- <defect number="INC105134" title="GmXML consumes whitespace characters" revision="002">
- Now GmXML component restrict for eating white spaces
- </defect>
-
- <deliverystep number="500" name="Messaging file name changes to support GNU compiler for Linux" osproject="Oghma" revision="001">
- <preq number="1182" title="GNU Make-based build system">
- GNU Make-based build system
- </preq>
- <milestone project="GT0342" number="3.3"/>
- </deliverystep>
-</relnotes>
--- a/xml/legacyminidomparser/GROUP/syslibs_legacyminidomparser.mrp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-component syslibs_legacyminidomparser
-source \sf\os\xmlsrv\xml\legacyminidomparser
-binary \sf\os\xmlsrv\xml\legacyminidomparser\GROUP all
-exports \sf\os\xmlsrv\xml\legacyminidomparser\GROUP
-
-notes_source \component_defs\release.src
-
-
-ipr E
-ipr T \sf\os\xmlsrv\xml\legacyminidomparser\XMLParser\test
-
--- a/xml/legacyminidomparser/Rom/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// Gmxml
-//
-//
-
-PRJ_EXPORTS
-
-../Rom/legacyminidomparser.iby /epoc32/rom/include/legacyminidomparser.iby
-
--- a/xml/legacyminidomparser/Rom/legacyminidomparser.iby Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __LEGACYMINIDOMPARSER_IBY__
-#define __LEGACYMINIDOMPARSER_IBY__
-
-file=ABI_DIR\BUILD_DIR\XMLDOM.dll sys\bin\XMLDOM.dll
-file=ABI_DIR\BUILD_DIR\xmlparser.dll sys\bin\xmlparser.dll
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/GROUP/XMLDOM.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// xmldom.dll XML DOM support
-//
-//
-
-/**
- @file
-*/
-
-TARGET xmldom.dll
-TARGETTYPE dll
-
-CAPABILITY All -TCB
-UID 0x1000008d 0x101F9117
-VENDORID 0x70000001
-
-SOURCEPATH ../SRC
-SOURCE GMXMLCDATASection.cpp
-SOURCE GMXMLCharacterData.cpp
-SOURCE GMXMLComment.cpp
-SOURCE GMXMLDocument.cpp
-SOURCE GMXMLDocumentElement.cpp
-SOURCE GMXMLElement.cpp
-SOURCE GMXMLNode.cpp
-SOURCE GMXMLProcessingInstruction.cpp
-SOURCE GMXMLText.cpp
-
-
-
-USERINCLUDE ../INC
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-LIBRARY euser.lib
-LIBRARY bafl.lib
-
-DEFFILE V2_XMLDOM.DEF
-
-SMPSAFE
--- a/xml/legacyminidomparser/XMLDom/GROUP/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_PLATFORMS
- DEFAULT
-
-PRJ_MMPFILES
- XMLDOM.mmp
-
-
-PRJ_EXPORTS
- ../INC/GMXMLCDataSection.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcdatasection.h)
- ../INC/GMXMLCharacterData.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcharacterdata.h)
- ../INC/GMXMLComment.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcomment.h)
- ../INC/GMXMLDocument.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmldocument.h)
- ../INC/GMxmldomconstants.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmldomconstants.h)
- ../INC/GMXMLDocumentElement.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmldocumentelement.h)
- ../INC/GMXMLElement.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlelement.h)
- ../INC/GMXMLNode.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlnode.h)
- ../INC/GMXMLProcessingInstruction.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlprocessinginstruction.h)
- ../INC/GMXMLText.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmltext.h)
- #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#ifdef SYMBIAN_OLD_EXPORT_LOCATION
- ../INC/gmxmldummydtd.h /epoc32/include/gmxmldummydtd.h
-#endif
- #endif
-
-
-
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLCDataSection.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLCDATA_H__
-#define __GMXMLCDATA_H__
-
-#include <e32base.h>
-
-#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include <gmxmldocument.h>
-#endif
-
-class CMDXMLCDATASection : public CMDXMLCharacterData
-/** A CDATA section of an XML file.
-
-Objects of this type hold text, including characters that would otherwise
-be regarded as markup. They cannot have child nodes.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLCDATASection, leaving the object on the
- cleanup stack.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @leave KErrNoMemory Memory allocation failed
- @return The new CMDXMCDATASection */
- IMPORT_C static CMDXMLCDATASection* NewLC( CMDXMLDocument* aOwnerDocument );
-
- /** Allocates and constructs a new CMDXMLCDATASection.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @leave KErrNoMemory Memory allocation failed
- @return The new CMDXMCDATASection */
- IMPORT_C static CMDXMLCDATASection* NewL( CMDXMLDocument* aOwnerDocument );
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLCDATASection();
-
-
-protected:
- /*
- * Constructor
- * @param aOwnerDocument Pointer to the document at the root of the DOM tree
- */
- CMDXMLCDATASection( CMDXMLDocument* aOwnerDocument );
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLCharacterData.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,104 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLCHARACTERDATA_H__
-#define __GMXMLCHARACTERDATA_H__
-
-#include <e32base.h>
-
-#include <gmxmlnode.h>
-
-class CMDXMLCharacterData : public CMDXMLNode
-/** Base class for text sections, such as CDATA sections, comments and processing
-instructions, of an XML file.
-
-Objects with this interface contain text, but cannot have child nodes.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLCharacterData();
-
- /** Gets the text of the section.
-
- @return The text of the section */
- IMPORT_C virtual TDesC& Data();
-
- /** Sets the whole of the section text.
-
- @param aData Text to set
- @leave KErrNoMemory Memory allocation failed */
- IMPORT_C virtual void SetDataL( TDesC& aData );
-
- /** Gets the length of the section text.
-
- @return Returns the length of the text */
- IMPORT_C virtual TInt Length();
-
- /** Appends text to the section.
-
- @param aData The text to append.
- @leave KErrNoMemory Memory allocation failed */
- IMPORT_C virtual void AppendL( TDesC& aData );
-
- /** Inserts text at a specified point in the section.
-
- @param aInsertPos The position at which to insert the text. 0 means insert
- at the start.
- @param aData Text to insert
- @leave KErrNoMemory Memory allocation failed
- @return Returns KErrNone if successful or KErrNotFound if the insert position
- is out of range */
- IMPORT_C virtual TInt InsertL( TInt aInsertPos, TDesC& aData );
-
- /** Replaces a block of text in the section.
-
- @param aInsertPos The position at which to insert the text. 0 means insert
- at the start.
- @param aLength The number of characters to replace
- @param aData The text to insert
- @leave KErrNoMemory Memory allocation failed
- @return Returns KErrNone if successful or KErrNotFoundif the replace block
- is out of range */
- IMPORT_C virtual TInt ReplaceL( TInt aInsertPos, TInt aLength, TDesC& aData );
-
-
- /** Check the children of this node for validity.
-
- For a character data section, there can be no children so this is always true.
-
- @return Always true. */
- IMPORT_C virtual TBool CheckChildren();
-
-protected:
- /*
- * Constructor
- * @param aNodeType The node type of the derived object
- * @param aOwnerDocument The Document at the root of the DOM tree.
- */
- CMDXMLCharacterData( TDOMNodeType aNodeType, CMDXMLDocument* aOwnerDocument );
-
-private:
- HBufC* iData; // Buffer to hold the actual text of the CDATA section
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLComment.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLCOMMENT_H__
-#define __GMXMLCOMMENT_H__
-
-#include <e32base.h>
-#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include <gmxmldocument.h>
-#endif
-
-class CMDXMLComment : public CMDXMLCharacterData
-/** A comment section of an XML file.
-
-Objects with this interface contain text, but cannot have child nodes.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLComment, leaving the object on the cleanup
- stack.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return New CMDXMComment
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLComment* NewLC( CMDXMLDocument* aOwnerDocument );
-
- /** Allocates and constructs a new CMDXMLComment.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return New CMDXMComment
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLComment* NewL( CMDXMLDocument* aOwnerDocument );
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLComment();
-
-
-protected:
- /*
- * Constructor
- * @param aOwnerDocument The document at the root of the DOM tree
- */
- CMDXMLComment( CMDXMLDocument* aOwnerDocument );
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLDocument.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,220 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the CMDXMLDocument class which
-// is the root class for a Mini-DOM tree.
-//
-//
-/**
- * @file
- * @publishedPartner
- * @released
- */
-
-#ifndef __GMXMLDOCUMENT_H__
-#define __GMXMLDOCUMENT_H__
-
-#include <e32base.h>
-
-#include <e32std.h>
-#include <badesca.h>
-
-class CMDXMLElement;
-class MXMLDtd;
-
-/**
-MXMLDtd is a mixin class. If User wants to derive from MXMLDtd class ,
-then one should not derive from any other class at the same time.
-i.e A class can not derive from CBase at all using MXMLDtd.
-
-Interface for DTD defintion classes.
-A class derived from this interface can be used by CMDXMLParser or CMDXMLComposer
-to check that the data conforms to a specific DTD.
-@publishedPartner
-@released
-*/
-class MXMLDtd
-
- {
-
-public:
- /** Tests if an element name is valid in the DTD.
-
- @param aElement The element name to be tested
- @return ETrue the if element name valid, else EFalse
- @leave KErrNoMemory Out of memory */
- virtual TBool IsValidElementL(const TDesC& aElement) const = 0;
-
- /** Tests if an attribute name and value is valid in DTD.
-
- @param aElement The element to which the attributes belong
- @param aAttribute The attribute to be tested
- @param aAttributeValue The attribute value to be tested
- @return KErrNone if the name and value are valid, KXMLBadAttributeName if the
- attribute name is invalid, or KXMLBadAttributeValue if the attribute value
- is invalid
- @leave KErrNoMemory Out of memory */
- virtual TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const = 0;
-
- /** Tests if the parent/child relationship is valid in DTD.
-
- @param aParentElement The name of the parent element to be tested
- @param aChildElements An array of child element names to be tested
- @return ETrue if parent/child relationship is valid
- @leave KErrNoMemory Out of memory */
- virtual TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const = 0;
-
- /** Tests it is valid for a particular element to have children.
-
- @param aElement The name of the element to be tested
- @return ETrue if it is valid for the element to have children */
- virtual TBool CanElementHaveChildren(const TDesC& aElement) const = 0;
- };
-
-#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-class CMDXMLDocument : public CBase
-/** An XML document.
-
-An object of this type owns the root element of a DOM tree and is not itself
-an XML node.
-@publishedPartner
-@released
- */
-{
-public:
-
- /**
- Allocates and constructs a new CMDXMLDocument.
- @param iDtdRepresentation DTD for the document
- @return The new CMDXMLDocument object
- @leave KErrNoMemory Out of memory
- */
- IMPORT_C static CMDXMLDocument* NewL(MXMLDtd& iDtdRepresentation);
-
-
- /**
- Allocates and constructs a new CMDXMLDocument, leaving the object on the cleanup stack.
- @param iDtdRepresentation DTD for the document
- @return The new CMDXMLDocument object
- @leave KErrNoMemory Out of memory
- */
- IMPORT_C static CMDXMLDocument* NewLC(MXMLDtd& iDtdRepresentation);
-
-
- /** Allocates and constructs a new CMDXMLDocument, without specifying a DTD.
-
- Documents created using this function will not be able to validate the XML.
-
- @return The new CMDXMLDocument
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLDocument* NewL();
-
-
- /** Allocates and constructs a new CMDXMLDocument, without specifying a DTD,
- leaving the object on the cleanup stack.
-
- Documents created using this function will not be able to validate the XML.
-
- @return The new CMDXMLDocument
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLDocument* NewLC();
-
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLDocument();
-
- /** Gets the root element of the DOM tree.
-
- @return The root element of the DOM tree */
- inline CMDXMLElement* DocumentElement() {return iRootElement;}
-
-
- /** Sets the document's XML version processing instruction.
-
- @param aVersionTag The XML version processing instruction. This must begin
- with <?xml and end with >, for example <?xml version="1.0"?>.
- @return ETrue if successful, EFalse if the parameter format is not correct
- @leave KErrNoMemory Out of memory */
- IMPORT_C TBool SetVersionTagL(const TDesC& aVersionTag);
-
- /** Sets the document's DOCTYPE declaration.
-
- @param aDocTypeTag The XML DOCTYPE declaration. This must begin<!DOCTYPE and
- end >.
- @return ETrue if operation succeeds, EFalse if the parameter format is not
- correct
- @leave KErrNoMemory Out of memory */
- IMPORT_C TBool SetDocTypeTagL(const TDesC& aDocTypeTag);
-
- /** Tests whether an element name is valid for the document.
-
- @param aElement The element name to be tested
- @return True the if element name valid, else false
- @leave KErrNoMemory Out of memory */
- IMPORT_C TBool ValidElementNameL(const TDesC& aElement) const;
-
- /**
- Tests whether it is valid for a particular element to have children.
- @param aElement the name of the element to be tested
- @return ETrue if it is valid for element to have children
- */
-
- IMPORT_C TBool CanElementHaveChildren(const TDesC& aElement) const;
- /** Gets the document's XML version processing instruction.
-
- @return The document's XML version processing instruction. */
- inline const TDesC& VersionTag() const {return *iVersionTag;}
-
- /** Gets the document's DOCTYPE declaration.
-
- @return The document's DOCTYPE declaration. */
- inline const TDesC& DocTypeTag() const {return *iDocTypeTag;}
-
- /** Gets a reference to the MXMLDtd object to use for DTD validation checking.
-
- @return DTD */
- const MXMLDtd& CMDXMLDocument::DtdRepresentation() const;
-
-
-private:
- CMDXMLDocument(MXMLDtd& aDtdRepresentation);
- CMDXMLDocument();
-
- /*
- * sets the root elememnt of the DOM tree.
- */
- inline void SetDocumentElement(CMDXMLElement* aRootElement) {iRootElement = aRootElement;}
-
- void ConstructL();
-
- IMPORT_C void PlaceholderForRemovedExport1(MXMLDtd& aDtdRepresentation);
- IMPORT_C void PlaceholderForRemovedExport2();
-
-private:
- CMDXMLElement* iRootElement; // Root element node of the DOM tree
-
-protected:
- /** XML Version text */
- HBufC* iVersionTag; // XML Version text
- /** Document type text */
- HBufC* iDocTypeTag; // Document type text
-
-private:
- MXMLDtd* iDtdRepresentation;
- TBool iOwnsDtd;
-};
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLDocumentElement.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the CMDXMLDocumentElement class.
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLDOCUMENTELEMENT_H__
-#define __GMXMLDOCUMENTELEMENT_H__
-
-#include <e32base.h>
-#include <gmxmlelement.h>
-
-class CMDXMLDocumentElement : public CMDXMLElement
-/** A dummy XML element for use as the top level element by the document.
-
-This is required to handle parsing badly-formed XML documents.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLDocumentElement, leaving the object on
- the cleanup stack.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @leave KErrNoMemory Out of memory
- @return The new CMDXMLDocumentElement */
- IMPORT_C static CMDXMLDocumentElement* NewLC( CMDXMLDocument* aOwnerDocument);
-
- /** Allocates and constructs a new CMDXMLDocumentElement.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @leave KErrNoMemory Out of memory
- @return The new CMDXMLDocumentElement */
- IMPORT_C static CMDXMLDocumentElement* NewL( CMDXMLDocument* aOwnerDocument);
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLDocumentElement();
-
-
-protected: //construction
- /*
- * Constructor
- * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
- */
- CMDXMLDocumentElement( CMDXMLDocument* aOwnerDocument );
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLElement.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,194 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the CMDXMLElement class.
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLELEMENT_H__
-#define __GMXMLELEMENT_H__
-
-#include <e32base.h>
-#include <badesca.h>
-#include <gmxmlnode.h>
-
-
-// forward references
-class CMDXMLEntityConverter;
-class CMDXMLComposer;
-
-
-// Constants for the initial and terminal states
-const TInt KXMLMinJump = 5; // Don't do binary chop below this size. Not a critical value.
-
-class CMDXMLElement : public CMDXMLNode
-/** Generic XML element, and base class for particular XML element types.
-
-It provides access to the element tag name and its attribute list. Attributes are
-stored as name-value pairs.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLElement, leaving the object on the cleanup
- stack.
-
- @param aCanHaveChildren Set to true if the element can have children
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @param aTagName Name of the tag for the element
- @leave KErrNoMemory Out of memory
- @return The new CMDXMLElement */
- IMPORT_C static CMDXMLElement* NewLC( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName );
-
- /** Allocates and constructs a new CMDXMLElement.
-
- @param aCanHaveChildren Set to true if the element can have children
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @param aTagName Name of the tag for the element
- @leave KErrNoMemory Out of memory
- @return The new CMDXMLElement */
- IMPORT_C static CMDXMLElement* NewL( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName );
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLElement();
-
- // Attribute handling routines.
-
- /** Gets a specified attribute value.
-
- @param aAttributeName Name of the attribute to get
- @param aAttributeValue On return, the value of the attribute
- @return KErrNone if successful, KErrNotFound if the named attribute is not set. */
- IMPORT_C virtual TInt GetAttribute(const TDesC& aAttributeName, TPtrC& aAttributeValue ) const;
-
- /** Checks the validity of an attribute and adds it to the DOM if it's valid.
-
- @param aAttributeName Name of the attribute to set
- @param aAttributeValue Value of the attribute
- @leave KErrNoMemory Out of memory
- @return KErrNone if successful, KErrNotSupported if an invalid attribute name
- or attribute value. */
- IMPORT_C virtual TInt SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue);
-
- /** Checks the validity of an attribute and adds it to the DOM. The aStoreInvalid
- parameter is used to control whether invalid attributes are added to the DOM.
- @param aAttributeName Name of the attribute to set
- @param aAttributeValue Value of the attribute
- @param aStoreInvalid If set to EFalse only attributes that are found to be valid will be added to
- the DOM. Set to ETrue to store all attributes in the DOM, even those that are invalid.
- @leave KErrNoMemory Out of memory
- @return KErrNone if successful, KErrNotSupported if an invalid attribute name
- or attribute value. */
- IMPORT_C TInt SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue, TBool aStoreInvalid);
-
- /** Removes a specified attribute.
-
- @param aAttributeName Name of the attribute to remove
- @return KErrNone if successful, KErrNotFound if the named attribute is not
- present. */
- IMPORT_C virtual TInt RemoveAttribute(const TDesC& aAttributeName);
-
- /** Tests if a specified attribute is set.
-
- @param aAttributeName Name of the attribute to test
- @return True if the named attribute has a value set, false if not */
- IMPORT_C virtual TBool IsAttributeSpecified(const TDesC& aAttributeName) const;
-
-
- /** Checks the children of this node for validity.
-
- It checks that the list of child elements conforms to those allowed by the DTD.
-
- In a generic CMDXMLElement object, this is always true as it has no basis
- for a meaningful check. As well as checking the list of direct children, it
- calls CheckChildren() for each child element. It does not check child nodes
- that are not elements, as they cannot have children.
-
- @return True if the node has valid children */
- IMPORT_C virtual TBool CheckChildren();
-
-// maybe these should be node functions ?
- /** Gets a pointer to the first child of a given type if any, otherwise returns
- NULL.
-
- @param aElementType Name of element type to return
- @return First child element */
- IMPORT_C CMDXMLElement* FirstChildOfType(const TDesC& aElementType);
-
- /** Gets a pointer to the last child of a given type if any, otherwise returns
- NULL.
-
- @param aElementType Name of element type to return
- @return Last child element */
- IMPORT_C CMDXMLElement* LastChildOfType(const TDesC& aElementType);
-
-
-
-protected: //construction
- /**
- * Constructor
- * @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
- * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
- */
- IMPORT_C CMDXMLElement( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument );
-
- void ConstructL();
-protected:
- /**
- * Check the immediate children of this element - i.e. the first level of children only
- * The default implementation returns true - derived classes can override with
- * DTD-specific checks.
- * @return True if immediate children are valid
- */
- IMPORT_C virtual TBool CheckImmediateChildren();
-
-private:
- TBool DoCheckImmediateChildrenL();
-
-
-public:
- /** Finds an attribute and returns the index of it.
-
- @param aAttName The attribute to search for
- @return The index of the attribute if found, or KErrNotFound */
- IMPORT_C TInt FindIndex(const TDesC &aAttName);
-
-
- /** Gets the name and value of an attribute at a given index.
-
- @param Index The array index of the element for which details are required
- @param aAttributeName The attribute name returned
- @param aAttributeValue The attribute value returned
- @return KErrNone if index is valid, else KErrNotFound */
- IMPORT_C TInt AttributeDetails(TInt Index, TPtrC& aAttributeName, TPtrC& aAttributeValue);
-
- /** Gets the number of attributes that this element has.
-
- @return The number of attributes held by the element */
- IMPORT_C TInt NumAttributes();
-
-protected:
- /** Store attribute names */
- CDesCArraySeg* iDescAttName; // Store Attribute Names
- /** Store attribute values */
- CDesCArraySeg* iDescAttValue; // Store Attribute Values
-
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLNode.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,235 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the CMDXMLNode class which
-// is the base class for the Mini-DOM.
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLNODE_H__
-#define __GMXMLNODE_H__
-
-#include <e32base.h>
-#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include <gmxmldocument.h>
-#endif
-
-// forward references
-class CMDXMLComposer;
-class CMDXMLDocument;
-class CMDXMLEntityConverter;
-
-class CMDXMLNode : public CBase
-/** Abstract base class for DOM node classes.
-
-It stores the node type and name, and manages a list of child nodes. The node
-name and type are set in the derived class's constructor and cannot be changed.
-
-The list of child nodes is managed as a doubly-linked list, not an array
-or similar structure.
-
-Derived classes that are not allowed children override the operations to manipulate
-the child list.
-@publishedPartner
-@released
-*/
-{
-public:
- // XML DOM Node Types - The actual values are taken from the DOM definition but we only use some of them.
- /** XML DOM node types.
-
- The values are taken from the DOM definition, but only some of them are used
- for the SMIL API.
-@publishedPartner
-@released
-*/
- enum TDOMNodeType
- {
- EElementNode=1, //< Element
- ETextNode=3, //< Text
- ECDATASectionNode=4, //< CDATA Section
- EProcessingInstructionNode=7, //< Processing Instruction
- ECommentNode=8, //< Comment
- EDocumentNode=9 //< Document
- };
-
- /** Destructor.
-
- When a node is deleted, it:
-
- 1. links its previous and next siblings
-
- 2. deletes all its children
-
- 3. corrects its parents first and last child pointers if necessary */
- IMPORT_C virtual ~CMDXMLNode();
-
- /** Gets the node type of the node.
-
- @return The node type of the node */
- inline TDOMNodeType NodeType() {return iNodeType;}
-
- /** Gets the name of the node.
-
- @return The name of the node */
- IMPORT_C TPtrC NodeName();
-
- /** Tests if the node can have child nodes.
-
- @return True if the node can have child nodes, false otherwise */
- inline TBool CanHaveChildNodes() {return iCanHaveChildren;}
-
- /** Tests if the node has any child nodes.
-
- @return True if the node has any child nodes, false otherwise */
- inline TBool HasChildNodes() {return (iFirstChildPtr != NULL);}
-
- /** Gets a pointer to the document which is the owner of the DOM tree.
-
- @return A pointer to the document which is the owner of the DOM tree */
- inline CMDXMLDocument* OwnerDocument() {return (CMDXMLDocument*)iOwnerDocument;}
-
- /** Gets a pointer to the first child node, if any.
-
- @return A pointer to the first child node if any, otherwise NULL */
- inline CMDXMLNode* FirstChild() {return iFirstChildPtr;}
-
- /** Gets a pointer to the last child node, if any.
-
- @return A pointer to the last child node if any, otherwise NULL */
- inline CMDXMLNode* LastChild() {return iLastChildPtr;}
-
- /** Gets a pointer to the next sibling node, if any.
-
- @return A pointer to the next sibling node if any, otherwise NULL */
- inline CMDXMLNode* NextSibling() {return iNextSiblingPtr;}
-
- /** Gets a pointer to the previous sibling node, if any.
-
- @return A pointer to the previous sibling node if any, otherwise NULL */
- inline CMDXMLNode* PreviousSibling() {return iPrevSiblingPtr;}
-
- /** Gets a pointer to the parent node, if any.
-
- @return A pointer to the parent node if any, otherwise NULL (only at root
- of tree) */
- inline CMDXMLNode* ParentNode() {return iParentPtr;}
-
- /** Gets the element type as an enumerated value.
-
- This function is quicker to use than NodeName().
-
- @return A CMDXMLNode::TDomNodeType value identifying the node type */
- inline TInt ElementType() {return iElementType;}
-
- /** Removes a child from the list of child nodes.
-
- The child node is not deleted: that is the responsibility of the caller.
-
- @param aChildToRemove Pointer to child to remove from the list
- @return KErrNone if sucessful or KErrNotFound if the referenced child node
- is not found */
- IMPORT_C TInt RemoveChild(CMDXMLNode* aChildToRemove);
-
- /** Inserts a new child node at a specific point in the child list.
-
- @param aInsertBeforeChild Pointer to the element before which the new child
- should be inserted. UseNULL to insert at the start of the list.
- @param aChildToInsert Pointer to the new child node to insert
- @return KErrNone if successful, KErrNotSupported if the node cannot have children
- or KErrNotFound if it cannot find the child before which to insert */
- IMPORT_C TInt InsertBefore(CMDXMLNode* aInsertBeforeChild, CMDXMLNode* aChildToInsert);
-
- /** Appends a new child at the end of the child list.
-
- @param aChildToInsert Pointer to the new child node to append.
- @return KErrNone if successful or KErrNotSupported if the node cannot have
- children */
- IMPORT_C TInt AppendChild(CMDXMLNode* aChildToInsert);
-
- /** Inserts a new child node while removing an existing one.
-
- The old child is not deleted.
-
- @param aChildToInsert Pointer to the new child node to insert
- @param aChildToReplace Pointer to the child node to be replaced
- @return KErrNone if successful, KErrNotSupported if the node cannot have children
- or KErrNotFound if it cannot find the child to replace. */
- IMPORT_C TInt ReplaceChild(CMDXMLNode* aChildToInsert, CMDXMLNode* aChildToReplace);
-
-
- /** Checks the children of this node for validity.
-
- @return True if the children are valid according to the DTD. */
- IMPORT_C virtual TBool CheckChildren()=0;
-
-protected:
- /*
- * The node type will normally be hard-wired in any derived class constructor.
- * The node name and HaveChildren flag will normally be hard-wired in a derived class constructor unless it
- * covers a generic element.
- * @param aNodeType The tpe of node to be created
- * @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
- * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
- */
- CMDXMLNode( TDOMNodeType aNodeType, TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument );
-
-// make these public? sjr
- /**
- * Gets a pointer to the previous sibling node of the same type if any,
- * otherwise returns NULL
- * @return Previous sibling node
- */
- IMPORT_C CMDXMLNode* PreviousSameTypeSibling();
-
- /**
- * Gets a pointer to the next sibling node of the same type if any,
- * otherwise returns NULL
- * @return Next sibling node
- */
- IMPORT_C CMDXMLNode* NextSameTypeSibling();
-
- /**
- * Set the node name - normally on creation
- * @param aNodeName The node name - commonly an element tag name - _not_ any unique identifier
- * @leave Can Leave due to OOM
- */
- IMPORT_C void SetNodeNameL(const TDesC& aNodeName);
-
- /**
- * Sets the enumerated element type (same information as node name but faster to access)
- */
- inline void SetElementType( TInt aElementType ) {iElementType = aElementType;}
-
-protected:
- CMDXMLDocument* iOwnerDocument; //< Pointer to owning document
-
-
-private:
- TInt iElementType; // Enumerated element type
- TDOMNodeType iNodeType; // Node type
- HBufC* iNodeName; // Name of the node, e.g. element tag name - not unique id
- CMDXMLNode* iParentPtr; // Pointer to parent node if any
- CMDXMLNode* iFirstChildPtr; // Pointer to first child node if any
- CMDXMLNode* iLastChildPtr; // Pointer to last child node if any
- CMDXMLNode* iNextSiblingPtr; // Pointer to next sibling if any
- CMDXMLNode* iPrevSiblingPtr; // Pointer to previous sibling if any
- TBool iCanHaveChildren; // true if this node is allowed to have children
-};
-
-#endif
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLProcessingInstruction.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,65 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// GMXMLProcessing Instruction.h
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLPROCINSTR_H__
-#define __GMXMLPROCINSTR_H__
-
-#include <e32base.h>
-#include <gmxmlcharacterdata.h>
-
-class CMDXMLProcessingInstruction : public CMDXMLCharacterData
-/** A processing instruction section of an XML file.
-
-It has text and a place in the object tree, but has no children.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLProcessingInstruction, leaving the object
- on the cleanup stack.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return The new CMDXMLProcessingInstruction
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLProcessingInstruction* NewLC( CMDXMLDocument* aOwnerDocument );
-
- /** Allocates and constructs a new CMDXMLProcessingInstruction.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return The new CMDXMLProcessingInstruction
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLProcessingInstruction* NewL( CMDXMLDocument* aOwnerDocument );
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLProcessingInstruction();
-
-
-protected:
- /*
- * Constructor
- * @param aOwnerDocument The document at the root of the DOM tree
- */
- CMDXMLProcessingInstruction( CMDXMLDocument* aOwnerDocument );
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMXMLText.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLTEXT_H__
-#define __GMXMLTEXT_H__
-
-#include <e32base.h>
-#include <gmxmlcharacterdata.h>
-
-class CMDXMLText : public CMDXMLCharacterData
-/** A text section of an XML file.
-
-Objects of this type hold text. They cannot have child nodes.
-@publishedPartner
-@released
-*/
-{
-public:
- /** Allocates and constructs a new CMDXMLText, leaving the object on the cleanup
- stack.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return The new CMDXMLText
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLText* NewLC( CMDXMLDocument* aOwnerDocument );
-
- /** Allocates and constructs a new CMDXMLText.
-
- @param aOwnerDocument Pointer to the document at the root of the DOM tree
- @return The new CMDXMLText
- @leave KErrNoMemory Out of memory */
- IMPORT_C static CMDXMLText* NewL( CMDXMLDocument* aOwnerDocument );
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLText();
-
-
-protected:
- /*
- * Constructor
- * @param aOwnerDocument The document at the root of the DOM tree
- */
- CMDXMLText( CMDXMLDocument* aOwnerDocument );
-};
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/GMxmldomconstants.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains generic XML constants
-//
-//
-
-/**
- @file
- @publishedPartner
- @released
-*/
-
-#ifndef __GMXMLDOMCONSTANTS_H__
-#define __GMXMLDOMCONSTANTS_H__
-
-#include <e32base.h>
-
-
-// Error codes
-/**
-* Starting value for all the component's error codes.
-* @publishedPartner
-* @released
-*/
-const TInt KErrXMLBase = -9000;
-/**
-* XML attribute value error code.
-* @publishedPartner
-* @released
-*/
-const TInt KErrXMLBadAttributeValue = KErrXMLBase - 1;
-/**
-* XML attribute name error code.
-* @publishedPartner
-* @released
-*/
-const TInt KErrXMLBadAttributeName = KErrXMLBase - 2;
-/**
-* Invalid XML child element error code.
-* @publishedPartner
-* @released
-*/
-const TInt KErrXMLInvalidChild = KErrXMLBase - 3;
-
-
-
-_LIT(KXMLDocumentElementNodeName, "documentelement");
-
-
-#endif
--- a/xml/legacyminidomparser/XMLDom/INC/gmxmldummydtd.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the CMDXMLDocument when no
-// DTD is mentioned.
-//
-//
-/**
- * @file
- * @internalComponent
- * @released
- */
-
-#ifndef __GMXMLDUMMYDTD_H__
-#define __GMXMLDUMMYDTD_H__
-
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "GMXMLDocument.h"
-#endif
-
-_LIT(KXMLCDATASectionNodeName, "#cdata-section");
-_LIT(KXMLCommentNodeName, "comment");
-_LIT(KXMLProcessingInstructionNodeName, "processing_instruction");
-_LIT(KXMLTextNodeName, "#text");
-_LIT(KXMLDefaultVersionTag, "<?xml version=\"1.0\" ?>");
-_LIT(KXMLDefaultDocTypeTag, "<!DOCTYPE smil SYSTEM \"mms_smil.dtd\">");
-_LIT(KXMLVersion, "<?xml");
-_LIT(KXMLEndTag, ">");
-_LIT(KXMLDocumentTypes, "<!DOCTYPE");
-
-/**
-* ELement whose enumerated type has not been set.
-* @internalTechnology
-* @released
-*/
-const TInt KXMLUndefinedElement = -1;
-
-// Used as panic category and number when a removed export is called
-_LIT(KLDRIMPORT, "LDR-IMPORT");
-
-/**
-* @internalTechnology
-* @released
-*/
-const TInt KLdrImportedOrdinalDoesNotExist = 2;
-
-class CMDXMLDummyDtd : public MXMLDtd
-/*
-This class is used internally when no DTD is supplied to CMDXMLDocument.
-*/
-/**
-@internalComponent
-@released
-*/
- {
- TBool IsValidElementL(const TDesC& aElement) const;
- TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const;
- TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const;
- TBool CanElementHaveChildren(const TDesC& aElement) const;
- };
-
-#endif //__GMXMLDUMMYDTD_H__
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLCDATASection.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLCDATASection.cpp
-// @file
-// This class represents a CDATA section of an XML file -
-// basically it is a chunk of text which has a place in the
-// object tree but has no children.
-//
-//
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlcharacterdata.h>
-#include <gmxmlcdatasection.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-EXPORT_C CMDXMLCDATASection* CMDXMLCDATASection::NewLC( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMCDATASection
-// @leave can Leave due to OOM
-//
- {
- CMDXMLCDATASection* secPtr = new(ELeave) CMDXMLCDATASection( aOwnerDocument );
- CleanupStack::PushL( secPtr );
- const TDesC& nodeName = KXMLCDATASectionNodeName;
- secPtr->SetNodeNameL( nodeName );
- return secPtr;
- }
-
-EXPORT_C CMDXMLCDATASection* CMDXMLCDATASection::NewL( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMCDATASection
-// @leave can Leave due to OOM
-//
- {
- CMDXMLCDATASection* secPtr = CMDXMLCDATASection::NewLC( aOwnerDocument );
- CleanupStack::Pop(1); // secPtr
- return secPtr;
- }
-
-CMDXMLCDATASection::CMDXMLCDATASection( CMDXMLDocument* aOwnerDocument ):
-CMDXMLCharacterData( ECDATASectionNode, aOwnerDocument)
-//
-// Constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-//
- {
- }
-
-EXPORT_C CMDXMLCDATASection::~CMDXMLCDATASection()
- {
- }
-
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLCharacterData.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,159 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLCharacterData.cpp
-// @file
-// This class represents a text section of an XML file -
-// basically it is a chunk of text which has a place in the
-// object tree but has no children.
-//
-//
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlcharacterdata.h>
-
-CMDXMLCharacterData::CMDXMLCharacterData( TDOMNodeType aNodeType, CMDXMLDocument* aOwnerDocument ):
-CMDXMLNode( aNodeType, false, aOwnerDocument)
-//
-// Constructor
-// @param aNodeType The node type of the derived object
-// @param aOwnerDocument The Document at the root of the DOM tree.
-//
- {
- }
-
-EXPORT_C CMDXMLCharacterData::~CMDXMLCharacterData()
- {
- delete iData;
- }
-
-EXPORT_C TDesC& CMDXMLCharacterData::Data()
-//
-// @return Returns the text of the Character Data section
-//
- {
- return *iData;
- }
-
-EXPORT_C void CMDXMLCharacterData::SetDataL( TDesC& aData )
-//
-// Sets the whole of the Character Data section text
-// @param aData Text to set.
-// @leave Can Leave due to OOM
-//
- {
- if( iData != NULL )
- {
- delete iData;
- iData = NULL;
- }
- iData = aData.AllocL();
- }
-
-EXPORT_C TInt CMDXMLCharacterData::Length()
-//
-// @return Returns the length of the text
-//
- {
- return iData->Length();;
- }
-
-EXPORT_C void CMDXMLCharacterData::AppendL( TDesC& aData )
-//
-// Appends text to the Character Data section
-// @param aData Text to append
-// @leave Can Leave due to OOM
-//
- {
- TInt newLength = aData.Length() + iData->Length();
- if(newLength > iData->Des().MaxLength())
- {
- HBufC* newData = HBufC::NewMaxL(newLength);
- newData->Des().Copy(iData->Des());
- delete iData;
- iData = newData;
- }
- iData->Des().Append(aData);
- }
-
-EXPORT_C TInt CMDXMLCharacterData::InsertL( TInt aInsertPos, TDesC& aData )
-//
-// Inserts text at a point in the Character Data section
-// @param aInsertPos The position to insert the text (0 means insert at the start)
-// @param aData Text to insert
-// @leave Can Leave due to OOM
-// @return Returns KErrNone if successful or KErrNotFound if the insert position is out of range
-//
- {
- TInt retVal = KErrNone;
- if((aInsertPos >= 0) && (aInsertPos < iData->Length()))
- {
- TInt newLength = aData.Length() + iData->Length();
- if(newLength > iData->Des().MaxLength())
- {
- HBufC* newData = HBufC::NewMaxL(newLength);
- newData->Des().Copy(iData->Des());
- delete iData;
- iData = newData;
- }
- iData->Des().Insert(aInsertPos, aData);
- }
- else
- {
- retVal = KErrNotFound;
- }
- return retVal;
- }
-
-EXPORT_C TInt CMDXMLCharacterData::ReplaceL( TInt aInsertPos, TInt aLength, TDesC& aData )
-//
-// Replaces a block of text in the Character Data section
-// @param aInsertPos The position to insert the text (0 means insert at the start)
-// @param aLength The number of characters to replace
-// @param aData Text to insert
-// @leave Can Leave due to OOM
-// @return Returns KErrNone if successful or KErrNotFound if the replace block is out of range
-//
- {
- TInt retVal = KErrNone;
- if((aInsertPos >= 0) && (aInsertPos < iData->Length()) && (aLength >= 0))
- {
- TInt newLength = aData.Length() + iData->Length() - aLength;
- if(newLength > iData->Des().MaxLength())
- {
- HBufC* newData = HBufC::NewMaxL(newLength);
- newData->Des().Copy(iData->Des());
- delete iData;
- iData = newData;
- }
- iData->Des().Replace(aInsertPos, aLength, aData);
- }
- else
- {
- retVal = KErrNotFound;
- }
- return retVal;
- }
-
-EXPORT_C TBool CMDXMLCharacterData::CheckChildren()
-//
-// Check the children of this node for legality - must be defined based on DTD.
-// For a Character Data section there can be no children so this always returns true.
-// @return True if the node has legitimate children
-//
- {
- return true;
- }
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLComment.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLComment.cpp
-// @file
-// This class represents a Comment section of an XML file -
-// basically it is a chunk of text which has a place in the
-// object tree but has no children.
-//
-//
-
-#include <f32file.h>
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlcharacterdata.h>
-#include <gmxmlcomment.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-EXPORT_C CMDXMLComment* CMDXMLComment::NewLC( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMComment
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComment* secPtr = new(ELeave) CMDXMLComment( aOwnerDocument );
- CleanupStack::PushL( secPtr );
- const TDesC& nodeName = KXMLCommentNodeName;
- secPtr->SetNodeNameL( nodeName );
- return secPtr;
- }
-
-EXPORT_C CMDXMLComment* CMDXMLComment::NewL( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComment* secPtr = CMDXMLComment::NewLC( aOwnerDocument );
- CleanupStack::Pop(1); // secPtr
- return secPtr;
- }
-
-CMDXMLComment::CMDXMLComment( CMDXMLDocument* aOwnerDocument ):
-CMDXMLCharacterData( ECommentNode, aOwnerDocument)
-//
-// Constructor
-// @param aOwnerDocument The document at the root of the DOM tree
-//
- {
- }
-
-EXPORT_C CMDXMLComment::~CMDXMLComment()
- {
- }
-
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLDocument.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,238 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLDocument.CPP
-// @file
-// This file contains the implementation of the CMDXMLDocument class which
-// is the root class for a Mini-DOM tree.
-//
-//
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlelement.h>
-#include <gmxmldocument.h>
-#include <gmxmldocumentelement.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-//
-// Global functions //
-//
-
-
-CMDXMLDocument::CMDXMLDocument(MXMLDtd& aDtdRepresentation) : iDtdRepresentation(&aDtdRepresentation)
-//
-// Constructor
-//
- {
- }
-
-CMDXMLDocument::CMDXMLDocument()
-//
-// Constructor
-//
- {
- }
-
-
-EXPORT_C CMDXMLDocument::~CMDXMLDocument()
- {
- delete iRootElement;
- delete iVersionTag;
- delete iDocTypeTag;
-
- if (iOwnsDtd)
- // If the DTD is a dummy DTD created by this document then it should be deleted.
- {
- delete iDtdRepresentation;
- }
- }
-
-EXPORT_C CMDXMLDocument* CMDXMLDocument::NewL(MXMLDtd& aDtdRepresentation)
-//
-// Factory function
-// @return Returns the created CMDXMLDocument
-// @leave Can Leave due to OOM
-//
- {
- CMDXMLDocument* self = CMDXMLDocument::NewLC(aDtdRepresentation);
- CleanupStack::Pop(self);
- return self;
- }
-
-
-EXPORT_C CMDXMLDocument* CMDXMLDocument::NewLC(MXMLDtd& aDtdRepresentation)
-//
-// Factory function
-// @return Returns the created CMDXMLDocument
-// @leave Can Leave due to OOM
-//
- {
- CMDXMLDocument* self = new(ELeave) CMDXMLDocument(aDtdRepresentation);
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-/**
- * Factory function - Without taking a DTD
- * Documents created using this function will not be able to validate the XML.
- * @return Returns the created CMDXMLDocument
- * @leave Can Leave due to OOM
- */
-EXPORT_C CMDXMLDocument* CMDXMLDocument::NewL()
- {
- CMDXMLDocument* self = CMDXMLDocument::NewLC();
- CleanupStack::Pop(self);
- return self;
- }
-
-
-/**
- * Factory function - Without taking a DTD
- * Documents created using this function will not be able to validate the XML.
- * @return Returns the created CMDXMLDocument
- * @leave Can Leave due to OOM
- */
-EXPORT_C CMDXMLDocument* CMDXMLDocument::NewLC()
- {
- CMDXMLDocument* self = new(ELeave) CMDXMLDocument();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-
-void CMDXMLDocument::ConstructL()
- {
-// Default XML Version & Doc tags being set
-// Can be reset externally
- iVersionTag = TPtrC(KXMLDefaultVersionTag).AllocL();
- iDocTypeTag = TPtrC(KXMLDefaultDocTypeTag).AllocL();
-
- iRootElement = CMDXMLDocumentElement::NewL(this);
-
- if (iDtdRepresentation == NULL)
- // If no DTD has been provided then use the dummy DTD
- {
- iDtdRepresentation = new (ELeave) CMDXMLDummyDtd;
- iOwnsDtd = ETrue;
- }
- }
-
-
-EXPORT_C TBool CMDXMLDocument::SetVersionTagL(const TDesC& aVersionTag)
-//
-// @param replacement tag, this must be complete, starting <?xml and finishing >
-// @return ETrue if operation succeeds, EFalse if formal parameter does not
-// begin with <?xml or does not end with an >
-// @leave can Leave due to OOM
-//
- {
- TBool returnValue = EFalse;
-
- // if correct tag frame
- if(aVersionTag.Left(TPtrC(KXMLVersion).Length()) == KXMLVersion
- && aVersionTag.Right(TPtrC(KXMLEndTag).Length()) == KXMLEndTag)
- {
- delete iVersionTag;
- iVersionTag = NULL;
- iVersionTag = aVersionTag.AllocL();
- returnValue = ETrue;
- }
-
- return returnValue;
- }
-
-EXPORT_C TBool CMDXMLDocument::SetDocTypeTagL(const TDesC& aDocTypeTag)
-//
-// @param replacement tag, this must be complete, starting <!DOCTYPE and finishing >
-// @return ETrue if operation succeeds, EFalse if formal parameter does not
-// begin with <!DOCTYPE or does not end with an angle bracket
-// @leave can Leave due to OOM
-//
- {
- TBool returnValue = EFalse;
-
- // if correct tag frame
- if(aDocTypeTag.Left(TPtrC(KXMLDocumentTypes).Length()) == KXMLDocumentTypes
- && aDocTypeTag.Right(TPtrC(KXMLEndTag).Length()) == KXMLEndTag)
- {
- delete iDocTypeTag;
- iDocTypeTag = NULL;
- iDocTypeTag = aDocTypeTag.AllocL();
- returnValue = ETrue;
- }
-
- return returnValue;
- }
-
-
-
-EXPORT_C TBool CMDXMLDocument::ValidElementNameL(const TDesC& aElement) const
-//
-// Function to determine whether an Element name is valid for Document
-// @return ETrue the if element name valid - else EFalse
-// @param aElement the element name to be tested
-// @leave can leave due to OOM
-//
- {
- return iDtdRepresentation->IsValidElementL(aElement);
- }
-
-
-EXPORT_C TBool CMDXMLDocument::CanElementHaveChildren(const TDesC& aElement) const
- {
- return iDtdRepresentation->CanElementHaveChildren(aElement);
- }
-
-EXPORT_C void CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd& /*aDtdRepresentation*/)
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-EXPORT_C void CMDXMLDocument::PlaceholderForRemovedExport2()
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-const MXMLDtd& CMDXMLDocument::DtdRepresentation() const
-// Returns a reference to the dtd class responsible for validation
-// @return Returns a reference to MXMLDtd class that should be used for Dtd validation checking
- {
- return *iDtdRepresentation;
- }
-
-
-TBool CMDXMLDummyDtd::IsValidElementL(const TDesC& /*aElement*/) const
- {
- return ETrue;
- }
-
-TInt CMDXMLDummyDtd::IsValidAttributeForElementL(const TDesC& /*aElement*/, const TDesC& /*aAttribute*/, const TDesC& /*aAttributeValue*/) const
- {
- return KErrNone;
- }
-
-TBool CMDXMLDummyDtd::AreValidChildElementsL(const TDesC& /*aParentElement*/, const CDesCArray& /*aChildElements*/) const
- {
- return ETrue;
- }
-
-TBool CMDXMLDummyDtd::CanElementHaveChildren(const TDesC& /*aElement*/) const
- {
- return ETrue;
- }
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLDocumentElement.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLDocumentElement.CPP
-// @file
-// This file contains the implementation of the CMDXMLDocumentElement class.
-// This class represents a generic XML element with attributes
-// stored as name-value pairs. DTD-specific element classes
-// will store their attributes as member variables.
-//
-//
-
-#include <gmxmldomconstants.h>
-#include <gmxmldocument.h>
-#include <gmxmldocumentelement.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-EXPORT_C CMDXMLDocumentElement* CMDXMLDocumentElement::NewLC( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLDocumentElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLDocumentElement* elPtr = new(ELeave) CMDXMLDocumentElement( aOwnerDocument );
- CleanupStack::PushL( elPtr );
- elPtr->ConstructL();
- elPtr->SetNodeNameL( KXMLDocumentElementNodeName );
- return elPtr;
- }
-
-EXPORT_C CMDXMLDocumentElement* CMDXMLDocumentElement::NewL( CMDXMLDocument* aOwnerDocument)
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLDocumentElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLDocumentElement* elPtr = CMDXMLDocumentElement::NewLC( aOwnerDocument);
- CleanupStack::Pop(1); // elPtr
- return elPtr;
- }
-
-CMDXMLDocumentElement::CMDXMLDocumentElement( CMDXMLDocument* aOwnerDocument ):
-CMDXMLElement( ETrue, aOwnerDocument)
-//
-// Constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-//
- {
- }
-
-EXPORT_C CMDXMLDocumentElement::~CMDXMLDocumentElement()
- {
- }
-
-
-
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLElement.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,378 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLElement.CPP
-// @file
-// This file contains the implementation of the CMDXMLElement class.
-// This class represents a generic XML element with attributes
-// stored as name-value pairs. DTD-specific element classes
-// will store their attributes as member variables.
-//
-//
-
-#include <f32file.h>
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmldocument.h>
-#include <gmxmlelement.h>
-
-
-EXPORT_C CMDXMLElement* CMDXMLElement::NewLC( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName )
-//
-// Two phase constructor
-// @param aCanHaveChildren Flag to indicate if the node represents a node
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @param aTagName Name of the tag used to create the element
-// @return Created CMDXMLElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLElement* elPtr = new(ELeave) CMDXMLElement( aCanHaveChildren, aOwnerDocument );
- CleanupStack::PushL( elPtr );
- elPtr->SetNodeNameL( aTagName );
- elPtr->ConstructL();
- return elPtr;
- }
-
-EXPORT_C CMDXMLElement* CMDXMLElement::NewL( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName )
-//
-// Two phase constructor
-// @param aCanHaveChildren Flag to indicate if the node represents a node
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @param aTagName Name of the tag used to create the element
-// @return Created CMDXMLElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLElement* elPtr = CMDXMLElement::NewLC( aCanHaveChildren, aOwnerDocument, aTagName );
- CleanupStack::Pop(elPtr);
- return elPtr;
- }
-
-EXPORT_C CMDXMLElement::CMDXMLElement( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument ):
-CMDXMLNode( EElementNode, aCanHaveChildren, aOwnerDocument)
-//
-// Constructor
-// @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-//
- {
- // No other work to do.
- }
-
-void CMDXMLElement::ConstructL()
-/**
- * 2nd-phase constructor. Initialises this object's member data.
- *
- * @leave KErrXxx Standard EPOC error codes if allocation or construction of the object's members fails
- */
- {
- iDescAttName = new (ELeave) CDesCArraySeg(1);
- iDescAttValue = new (ELeave) CDesCArraySeg(1);
-
- }
-
-EXPORT_C CMDXMLElement::~CMDXMLElement()
-/**
- * C++ destructor
- */
- {
- // Delete the array of attribute name-value pairs.
- if(iDescAttName)
- delete iDescAttName;
-
- if(iDescAttValue)
- delete iDescAttValue;
-
- }
-
-
-EXPORT_C TInt CMDXMLElement::GetAttribute(const TDesC& aAttributeName, TPtrC& aAttributeValue) const
-//
-// Returns the attribute value if it is set.
-// @param aAttributeName Name of attribute to return
-// @param aAttributeValue Value of attribute returned
-// @return Returns KErrNone if successful, KErrNotFound if the named attribute
-// is not set or KErrNotSupported if the named attribute doesn't exist.
-//
- {
- TInt returnValue = KErrNone;
-
- TInt index;
- TInt attributeFound;
- attributeFound = iDescAttName->Find(aAttributeName,index);
-
- if(attributeFound == 0)
- {
- aAttributeValue.Set(iDescAttValue->MdcaPoint(index));
- }
- else
- returnValue = KErrNotSupported;
-
- return returnValue;
-
- }
-
-EXPORT_C TInt CMDXMLElement::SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue)
-//
-// Sets the attribute value.if it is valid
-// @param aAttributeName Name of attribute to set
-// @param aAttributeValue Value of attribute
-// @return Returns KErrNone if successful, KErrNotSupported if a DTD-specific class.
-// @leave Can Leave due to OOM
-//
- {
- return SetAttributeL(aAttributeName, aAttributeValue, EFalse);
- }
-
-EXPORT_C TInt CMDXMLElement::SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue, TBool aStoreInvalid)
-//
-// Checks an attribute for validity and adds it to the DOM. The aStoreInvalid parameter is used to control whether invalid
-// attributes are added to the DOM.
-// @param aAttributeName Name of attribute to set
-// @param aAttributeValue Value of attribute
-// @param aStoreInvalid If set to ETrue all attributes will be stored in the DOM. Otherwise only those that are valid will be.
-// @return Returns KErrNone if successful, KErrNotSupported if a DTD-specific class.
-// @leave Can Leave due to OOM
-//
- {
- TInt returnValue = (iOwnerDocument->DtdRepresentation()).IsValidAttributeForElementL(NodeName(), aAttributeName, aAttributeValue);
-
- if(returnValue == KErrNone || aStoreInvalid)
- {
- iDescAttName->AppendL(aAttributeName);
- iDescAttValue->AppendL(aAttributeValue);
- }
-
- return returnValue;
- }
-
-EXPORT_C TInt CMDXMLElement::RemoveAttribute(const TDesC& aAttributeName)
-//
-// Removes the named attribute if present.
-// @param aAttributeName Name of attribute to set
-// @return Returns KErrNone if successful, KErrNotFound if the named attribute is not set, KErrNotSupported if a DTD-specific class.
-//
- {
- TInt returnValue = KErrNone;
-
- TInt index;
- TInt attributeFound;
- attributeFound = iDescAttName->Find(aAttributeName,index);
-
- if(attributeFound == 0)
- {
- iDescAttName->Delete(index);
- iDescAttValue->Delete(index);
- }
- else
- returnValue = KErrNotFound;
-
- return returnValue;
- }
-
-
-EXPORT_C TBool CMDXMLElement::IsAttributeSpecified(const TDesC& aAttributeName) const
-//
-// Finds out whether or not the named attribute is set
-// @param aAttributeName Name of attribute that is subject of the enquiry.
-// @return true of the named attribute has a value set, false if not
-//
- {
- TBool returnValue = EFalse;
-
- if(iDescAttName)
- {
- TInt index = 0;
- TInt found = 0;
- found = iDescAttName->Find(aAttributeName,index);
- if(found == 0)
- returnValue = ETrue;
- }
-
- return returnValue;
- }
-
-
-
-
-
-EXPORT_C TBool CMDXMLElement::CheckImmediateChildren()
-// Check the immediate children of this element - i.e. the first level of children only
-// If the document has not been constructed with a pointer to a MXMLDtd object then a default ETrue will be returned
-// Otherwise the MXMLDtd object is used to validate immediate children - returns ETrue if valid
-// @return True if immediate children are valid
- {
- TBool returnValue = ETrue;
- TRAPD(error,returnValue = DoCheckImmediateChildrenL());
- if(error != KErrNone)
- {
- return EFalse;
- }
- return returnValue;
- }
-
-TBool CMDXMLElement::DoCheckImmediateChildrenL()
- {
- TBool returnValue = ETrue;
-
- // Create an array of this elements immediate children
- CDesCArray* children = new (ELeave) CDesCArrayFlat(3);
- CleanupStack::PushL(children);
-
- if (HasChildNodes())
- {
- CMDXMLNode* childPtr;
- childPtr = FirstChild();
- // Cycle through the siblings
- while (childPtr != NULL)
- {
- if( childPtr->NodeType() == EElementNode )
- children->AppendL(childPtr->NodeName());
- childPtr = childPtr->NextSibling();
- }
- returnValue = OwnerDocument()->DtdRepresentation().AreValidChildElementsL(this->NodeName(),*children);
- }
-
- // Do a DTD specific check to see if the children are valid
- CleanupStack::PopAndDestroy(); // children
-
- return returnValue;
- }
-
-EXPORT_C TBool CMDXMLElement::CheckChildren()
-//
-// Check the children of this node for legality - must be defined based on DTD.
-// This function checks that the list of child elements
-// conforms to those allowed by the DTD.
-// As well as checking the list of direct children, it
-// calls CheckChildren for each child element which is an
-// element (it does not call this for child nodes which are
-// not elements as they cannot have children).
-// @return True if the node has legitimate children
-//
- {
- TBool retVal= CheckImmediateChildren();
- if( retVal && HasChildNodes() )
- {
- CMDXMLNode* childPtr;
- childPtr = FirstChild();
- while((childPtr != NULL) && (retVal != false))
- {
- if( childPtr->NodeType() == EElementNode )
- {
- retVal = childPtr->CheckChildren();
- }
- childPtr = childPtr->NextSibling();
- }
- }
-
- return retVal;
- }
-
-
-EXPORT_C TInt CMDXMLElement::FindIndex(const TDesC &aAttName)
-//
-// Find an attribute and return the index of it
-// @param aAttName the string to search for
-// @return returns the index of the string if found or KErrNotFound
-//
- {
- TInt index = KErrNotFound;
-
- if(iDescAttName)
- {
- TInt found = 0;
- found = iDescAttName->Find(aAttName,index);
- if(found != 0)
- index = KErrNotFound;
- }
-
- return index;
-
-
- }
-
-
-EXPORT_C TInt CMDXMLElement::AttributeDetails(TInt aIndex, TPtrC& aAttributeName, TPtrC& aAttributeValue)
-//
-// Retrieves the Name and Value of an attribute at a given index
-// @param aIndex the array index of the element for which details are required
-// @param aAttributeName the attribute name returned
-// @param aAttributeValue the attribute value returned
-// @return returns KErrNone if index is valid else KErrNotFound
-//
-
- {
- TInt error = KErrNone;
- if (iDescAttName->Count() < aIndex)
- error = KErrNotFound;
- else
- {
- aAttributeValue.Set(iDescAttValue->MdcaPoint(aIndex));
- aAttributeName.Set(iDescAttName->MdcaPoint(aIndex));
- }
- return error;
- }
-
-
-
-EXPORT_C TInt CMDXMLElement::NumAttributes()
-//
-// Retrieves the Number od Attributes that this element has
-// @return returns the number of attributes held by the element
-//
- {
- return iDescAttName->Count();
- }
-
-
-EXPORT_C CMDXMLElement* CMDXMLElement::FirstChildOfType(const TDesC& aElementType)
-// @return Returns a pointer to the first child of a given type if any, otherwise returns NULL
-// @param aElementType Name of element type to return
- {
- CMDXMLElement* retVal = NULL;
- CMDXMLNode* nodePtr = FirstChild();
- while((nodePtr != NULL) && (nodePtr->NodeName()).Compare(aElementType) != 0)
- {
- nodePtr = nodePtr->NextSibling();
- }
- if( nodePtr != NULL )
- {
- retVal = (CMDXMLElement*)nodePtr;
- }
- return retVal;
-
- }
-
-EXPORT_C CMDXMLElement* CMDXMLElement::LastChildOfType(const TDesC& aElementType)
-// @return Returns a pointer to the last child of a given type if any, otherwise returns NULL
-// @param aElementType Name of element type to return
-
- {
- CMDXMLElement* retVal = NULL;
- CMDXMLNode* nodePtr = LastChild();
- while((nodePtr != NULL) && (nodePtr->NodeName()).Compare(aElementType) != 0)
- {
- nodePtr = nodePtr->PreviousSibling();
- }
- if( nodePtr != NULL )
- {
- retVal = (CMDXMLElement*)nodePtr;
- }
- return retVal;
- }
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLNode.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,399 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLNode.CPP
-// @file
-// This file contains the implementation of the CMDXMLNode class which
-// is the base class for the Mini-DOM.
-// This class forms the basis for the Mini-DOM. It is a
-// pure abstract class and it's sole concern is the node
-// type and name and the management of the list of child
-// nodes.
-// The node name and type are set in the constructor and
-// cannot be changed thereafter.
-// The list of child nodes is managed as a doubly-linked
-// list, not an array or similar structure. Derived
-// classes which are not allowed children will override the
-// operations to manipulate the child list.
-//
-//
-
-#include <gmxmlnode.h>
-#include <gmxmldomconstants.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-CMDXMLNode::CMDXMLNode( TDOMNodeType aNodeType, TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument ):
- iElementType(KXMLUndefinedElement),
- iNodeType(aNodeType),
- iCanHaveChildren(aCanHaveChildren)
-//
-// The node type will normally be hard-wired in any derived class constructor.
-// The node name and HaveChildren flag will normally be hard-wired in a derived class constructor unless it
-// covers a generic element.
-// @param aNodeType The tpe of node to be created
-// @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-//
- {
- iOwnerDocument = aOwnerDocument;
- }
-
-EXPORT_C CMDXMLNode::~CMDXMLNode()
-//
-// When this node is deleted it will links its previous and next siblings across the gap, will
-// delete all of its children and will correct its parents first and last child pointers if necessary.
-//
- {
- // Perform housekeeping on parent and siblings - shouldn't be necessary as the links to
- // this element should have been removed first or we are in a tree delete but
- // let's be helpful anyway.
- if((iNextSiblingPtr != NULL) && (iNextSiblingPtr->iPrevSiblingPtr == this))
- {
- iNextSiblingPtr->iPrevSiblingPtr = iPrevSiblingPtr;
- }
- if((iPrevSiblingPtr != NULL) && (iPrevSiblingPtr->iNextSiblingPtr == this))
- {
- iPrevSiblingPtr->iNextSiblingPtr = iNextSiblingPtr;
- }
- if( iParentPtr != NULL )
- {
- if(iParentPtr->iFirstChildPtr == this)
- {
- iParentPtr->iFirstChildPtr = iNextSiblingPtr;
- }
- if(iParentPtr->iLastChildPtr == this)
- {
- iParentPtr->iLastChildPtr = iPrevSiblingPtr;
- }
- }
-
- // Delete all children
- CMDXMLNode* childToDelete;
- CMDXMLNode* nextChild;
- childToDelete = iFirstChildPtr;
- while( childToDelete != NULL )
- {
- nextChild = childToDelete->iNextSiblingPtr;
- delete childToDelete;
- childToDelete = nextChild;
- }
-
- delete iNodeName;
- iNodeName = NULL;
- }
-
-EXPORT_C void CMDXMLNode::SetNodeNameL( const TDesC& aNodeName)
-//
-// @param aNodeName The name of the node.
-// @leave Can Leave due to OOM
-//
- {
- iNodeName = HBufC::NewMaxL(aNodeName.Length());
- TPtr nodeAccess = iNodeName->Des();
- nodeAccess = aNodeName;
- }
-
-EXPORT_C TPtrC CMDXMLNode::NodeName()
-//
-// @return Returns the name of the node
-//
- {
- TPtrC retVal = iNodeName->Des();
- return retVal;
- }
-
-
-EXPORT_C CMDXMLNode* CMDXMLNode::PreviousSameTypeSibling()
-//
-// @return Returns a pointer to the previous sibling node of the same type if any,
-// oherwise returns NULL
-//
- {
- CMDXMLNode* nodePtr = iPrevSiblingPtr;
- while((nodePtr != NULL) && nodePtr->iElementType != iElementType)
- {
- nodePtr = nodePtr->iPrevSiblingPtr;
- }
- return nodePtr;
- }
-
-EXPORT_C CMDXMLNode* CMDXMLNode::NextSameTypeSibling()
-//
-// @return Returns a pointer to the next sibling node of the same type if any,
-// oherwise returns NULL
-//
- {
- CMDXMLNode* nodePtr = iNextSiblingPtr;
- while((nodePtr != NULL) && nodePtr->iElementType != iElementType)
- {
- nodePtr = nodePtr->iNextSiblingPtr;
- }
- return nodePtr;
- }
-
-EXPORT_C TInt CMDXMLNode::RemoveChild(CMDXMLNode* aChildToRemove)
-//
-// Removes a child from the list of child nodes. The child node is not deleted - that is the responsibility of the caller
-// @param aChildToRemove Pointer to child to remove from the list
-// @return Returns KERRNone if sucessful or KErrNotFound if the referenced child node is not found
-//
- {
- TInt retVal=KErrNone;
-
- if(aChildToRemove == NULL)
- {
- retVal = KErrNotFound;
- }
- else if( !iCanHaveChildren )
- {
- retVal = KErrXMLInvalidChild;
- }
- else if( aChildToRemove->iParentPtr != this )
- {
- retVal = KErrNotFound;
- }
- else
- {
- if(iFirstChildPtr == NULL)
- {
- retVal = KErrNotFound;
- }
- else
- {
- if( aChildToRemove == iFirstChildPtr)
- {
- if( aChildToRemove == iLastChildPtr )
- { // Only child so just zero pointers
- iFirstChildPtr = NULL;
- iLastChildPtr = NULL;
- }
- else
- { // First but not only child
- iFirstChildPtr->iNextSiblingPtr->iPrevSiblingPtr = NULL;
- iFirstChildPtr = iFirstChildPtr->iNextSiblingPtr;
- }
- }
- else if( aChildToRemove == iLastChildPtr )
- { // Last but not only child
- iLastChildPtr->iPrevSiblingPtr->iNextSiblingPtr = NULL;
- iLastChildPtr = iLastChildPtr->iPrevSiblingPtr;
- }
- else
- { // Not first or last so somewhere in the list
- CMDXMLNode* nodeBefore = iFirstChildPtr;
- while((nodeBefore->iNextSiblingPtr != NULL) &&
- (nodeBefore->iNextSiblingPtr != aChildToRemove))
- {
- nodeBefore = nodeBefore->iNextSiblingPtr;
- }
- if( nodeBefore->iNextSiblingPtr != aChildToRemove )
- {
- retVal = KErrNotFound;
- }
- else
- {
- nodeBefore->iNextSiblingPtr = aChildToRemove->iNextSiblingPtr;
- aChildToRemove->iNextSiblingPtr->iPrevSiblingPtr = nodeBefore;
- }
- }
- }
- }//end if
-
- if( retVal == KErrNone )
- { // Having cleared this node off the list, clear its own pointers
- aChildToRemove->iPrevSiblingPtr = NULL;
- aChildToRemove->iNextSiblingPtr = NULL;
- aChildToRemove->iParentPtr = NULL;
- }
- return retVal;
- }
-
-EXPORT_C TInt CMDXMLNode::InsertBefore(CMDXMLNode* aInsertBeforeChild, CMDXMLNode* aChildToInsert)
-//
-// Inserts a new child node at a specific point in the child list.
-// @param aInsertBeforeChild Pointer to the element before which the new child should be inserted (NULL to insert at the start of the list)
-// @param aChildToInsert Pointer to the new child node to insert.
-// @return Returns KErrNone if successful, KErrXMLInvalidChild if the node cannot have children or KErrNotFound if it cannot fnd the child before which to insert
-//
- {
- TInt retVal = KErrNone;
-
- if(aChildToInsert == NULL)
- {
- retVal = KErrNotSupported;
- }
- else if( !iCanHaveChildren )
- {
- retVal = KErrXMLInvalidChild ;
- }
- else if(iFirstChildPtr == NULL && aInsertBeforeChild != NULL)
- {
- retVal = KErrNotFound;
- }
- else if((aInsertBeforeChild == NULL) || (aInsertBeforeChild == iFirstChildPtr))
- { // Insert at start of list
- aChildToInsert->iParentPtr = this;
- if(iFirstChildPtr != NULL)
- {
- iFirstChildPtr->iPrevSiblingPtr = aChildToInsert;
- aChildToInsert->iNextSiblingPtr = iFirstChildPtr;
- }
- else
- {
- iLastChildPtr = aChildToInsert;
- aChildToInsert->iNextSiblingPtr = NULL;
- }
- iFirstChildPtr = aChildToInsert;
- }
- else
- { // Find the insert before child as a check.
- CMDXMLNode* nodeBefore = iFirstChildPtr;
- while((nodeBefore->iNextSiblingPtr != NULL) &&
- (nodeBefore->iNextSiblingPtr != aInsertBeforeChild))
- {
- nodeBefore = nodeBefore->iNextSiblingPtr;
- }
- if( nodeBefore->iNextSiblingPtr != aInsertBeforeChild )
- {
- retVal = KErrNotFound;
- }
- else
- {
- aChildToInsert->iParentPtr = this;
- aChildToInsert->iNextSiblingPtr = nodeBefore->iNextSiblingPtr;
- aChildToInsert->iPrevSiblingPtr = nodeBefore;
- nodeBefore->iNextSiblingPtr = aChildToInsert;
- aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
- }
- }
- return retVal;
- }
-
-EXPORT_C TInt CMDXMLNode::AppendChild(CMDXMLNode* aChildToInsert)
-//
-// Appends a new child at the end of the child list.
-// @param aChildToInsert Pointer to the new child node to append.
-// @return Returns KErrNone if successful or KErrXMLInvalidChild if the node cannot have children
-//
- {
- TInt retVal = KErrNone;
-
- if(aChildToInsert == NULL)
- {
- retVal = KErrNotSupported;
- }
- else if( !iCanHaveChildren )
- {
- retVal = KErrXMLInvalidChild;
- }
- else
- {
- if(iFirstChildPtr == NULL)
- {
- iFirstChildPtr = aChildToInsert;
- }
-
- if(iLastChildPtr != NULL)
- {
- iLastChildPtr->iNextSiblingPtr = aChildToInsert;
- }
-
- aChildToInsert->iPrevSiblingPtr = iLastChildPtr;
- iLastChildPtr = aChildToInsert;
- aChildToInsert->iParentPtr = this;
- }
- return retVal;
- }
-
-EXPORT_C TInt CMDXMLNode::ReplaceChild(CMDXMLNode* aChildToInsert, CMDXMLNode* aChildToReplace)
-//
-// Inserts a new child node while removing an existing one. The old child is not deleted.
-// @param aChildToInsert Pointer to the new child node to insert.
-// @param aChildToReplace Pointer to the child node to be replaced.
-// @return Returns KErrNone if successful, KErrXMLInvalidChild if the node cannot have children or KErrNotFound if it cannot fnd the child to replace.
-//
- {
- TInt retVal = KErrNone;
-
- if(aChildToInsert == NULL)
- {
- retVal = KErrNotSupported;
- }
- else if(aChildToReplace == NULL)
- {
- retVal = KErrNotFound;
- }
- else if( !iCanHaveChildren )
- {
- retVal = KErrXMLInvalidChild ;
- }
- else
- {
- if((aChildToReplace == iFirstChildPtr) && (aChildToReplace == iLastChildPtr))
- { // Replace only child
- iFirstChildPtr = aChildToInsert;
- iLastChildPtr = aChildToInsert;
- }
- else if(aChildToReplace == iFirstChildPtr)
- { // Replace first but not only
- aChildToInsert->iNextSiblingPtr = iFirstChildPtr->iNextSiblingPtr;
- aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
- iFirstChildPtr = aChildToInsert;
- }
- else if(aChildToReplace == iLastChildPtr)
- { // Replace Last but not only
- aChildToInsert->iPrevSiblingPtr = iLastChildPtr->iPrevSiblingPtr;
- aChildToInsert->iPrevSiblingPtr->iNextSiblingPtr = aChildToInsert;
- iLastChildPtr = aChildToInsert;
- }
- else if(iFirstChildPtr != NULL)
- { // Replace in the middle of the list
- CMDXMLNode* nodeBefore = iFirstChildPtr;
- while((nodeBefore->iNextSiblingPtr != NULL) &&
- (nodeBefore->iNextSiblingPtr != aChildToReplace))
- {
- nodeBefore = nodeBefore->iNextSiblingPtr;
- }
- if( nodeBefore->iNextSiblingPtr != aChildToReplace )
- {
- retVal = KErrNotFound;
- }
- else
- { // found so just cross link
- aChildToInsert->iNextSiblingPtr = aChildToReplace->iNextSiblingPtr;
- aChildToInsert->iPrevSiblingPtr = aChildToReplace->iPrevSiblingPtr;
- aChildToInsert->iPrevSiblingPtr->iNextSiblingPtr = aChildToInsert;
- aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
- }
- }
- else
- {
- retVal = KErrNotFound;
- }
- }
-
- if( retVal == KErrNone )
- { // Clear out the replaced node
- aChildToReplace->iPrevSiblingPtr = NULL;
- aChildToReplace->iNextSiblingPtr = NULL;
- aChildToReplace->iParentPtr = NULL;
- // Point the new child at its parent
- aChildToInsert->iParentPtr = this;
- }
- return retVal;
- }
-
-// End Of File
-
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLProcessingInstruction.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLProcessingInstruction.cpp
-// @file
-// This class represents a CDATA section of an XML file -
-// basically it is a chunk of text which has a place in the
-// object tree but has no children.
-//
-//
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlcharacterdata.h>
-#include <gmxmlprocessinginstruction.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-EXPORT_C CMDXMLProcessingInstruction* CMDXMLProcessingInstruction::NewLC( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMProcessingInstruction
-// @leave can Leave due to OOM
-//
- {
- CMDXMLProcessingInstruction* secPtr = new(ELeave) CMDXMLProcessingInstruction( aOwnerDocument );
- CleanupStack::PushL( secPtr );
- const TDesC& nodeName = KXMLProcessingInstructionNodeName;
- secPtr->SetNodeNameL( nodeName );
- return secPtr;
- }
-
-EXPORT_C CMDXMLProcessingInstruction* CMDXMLProcessingInstruction::NewL( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLElement
-// @leave can Leave due to OOM
-//
- {
- CMDXMLProcessingInstruction* secPtr = CMDXMLProcessingInstruction::NewLC( aOwnerDocument );
- CleanupStack::Pop(1); // secPtr
- return secPtr;
- }
-
-CMDXMLProcessingInstruction::CMDXMLProcessingInstruction( CMDXMLDocument* aOwnerDocument ):
-CMDXMLCharacterData( EProcessingInstructionNode, aOwnerDocument)
-//
-// Constructor
-// @param aOwnerDocument The document at the root of the DOM tree
-//
- {
- }
-
-EXPORT_C CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction()
- {
- }
-
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/SRC/GMXMLText.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLText.cpp
-// @file
-// This class represents a text section of an XML file -
-// basically it is a chunk of text which has a place in the
-// object tree but has no children.
-//
-//
-
-#include <f32file.h>
-
-#include <gmxmldomconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmlcharacterdata.h>
-#include <gmxmltext.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-EXPORT_C CMDXMLText* CMDXMLText::NewLC( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLText
-// @leave can Leave due to OOM
-//
- {
- CMDXMLText* secPtr = new(ELeave) CMDXMLText( aOwnerDocument );
- CleanupStack::PushL( secPtr );
- const TDesC& nodeName = KXMLTextNodeName;
- secPtr->SetNodeNameL( nodeName );
- return secPtr;
- }
-
-EXPORT_C CMDXMLText* CMDXMLText::NewL( CMDXMLDocument* aOwnerDocument )
-//
-// Two phase constructor
-// @param aOwnerDocument Pointer to the document at the root of the DOM tree
-// @return Created CMDXMLText
-// @leave can Leave due to OOM
-//
- {
- CMDXMLText* secPtr = CMDXMLText::NewLC( aOwnerDocument );
- CleanupStack::Pop(1); // secPtr
- return secPtr;
- }
-
-CMDXMLText::CMDXMLText( CMDXMLDocument* aOwnerDocument ):
-CMDXMLCharacterData( ETextNode, aOwnerDocument)
-//
-// Constructor
-// @param aOwnerDocument The document at the root of the DOM tree
-//
- {
- }
-
-EXPORT_C CMDXMLText::~CMDXMLText()
- {
- }
-
-
-
-// End Of File
--- a/xml/legacyminidomparser/XMLDom/bmarm/V2_XMLDOMU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-EXPORTS
- PlaceholderForRemovedExport1__14CMDXMLDocumentR7MXMLDtd @ 1 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd &)
- AppendL__19CMDXMLCharacterDataR7TDesC16 @ 2 NONAME R3UNUSED ; CMDXMLCharacterData::AppendL(TDesC16 &)
- AttributeDetails__13CMDXMLElementiR7TPtrC16T2 @ 3 NONAME ; CMDXMLElement::AttributeDetails(int, TPtrC16 &, TPtrC16 &)
- CanElementHaveChildren__C14CMDXMLDocumentRC7TDesC16 @ 4 NONAME R3UNUSED ; CMDXMLDocument::CanElementHaveChildren(TDesC16 const &) const
- CheckChildren__13CMDXMLElement @ 5 NONAME R3UNUSED ; CMDXMLElement::CheckChildren(void)
- CheckChildren__19CMDXMLCharacterData @ 6 NONAME R3UNUSED ; CMDXMLCharacterData::CheckChildren(void)
- CheckImmediateChildren__13CMDXMLElement @ 7 NONAME R3UNUSED ; CMDXMLElement::CheckImmediateChildren(void)
- Data__19CMDXMLCharacterData @ 8 NONAME R3UNUSED ; CMDXMLCharacterData::Data(void)
- E32Dll__F10TDllReason @ 9 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
- FindIndex__13CMDXMLElementRC7TDesC16 @ 10 NONAME R3UNUSED ; CMDXMLElement::FindIndex(TDesC16 const &)
- GetAttribute__C13CMDXMLElementRC7TDesC16R7TPtrC16 @ 11 NONAME R3UNUSED ; CMDXMLElement::GetAttribute(TDesC16 const &, TPtrC16 &) const
- InsertBefore__10CMDXMLNodeP10CMDXMLNodeT1 @ 12 NONAME R3UNUSED ; CMDXMLNode::InsertBefore(CMDXMLNode *, CMDXMLNode *)
- InsertL__19CMDXMLCharacterDataiR7TDesC16 @ 13 NONAME R3UNUSED ; CMDXMLCharacterData::InsertL(int, TDesC16 &)
- IsAttributeSpecified__C13CMDXMLElementRC7TDesC16 @ 14 NONAME R3UNUSED ; CMDXMLElement::IsAttributeSpecified(TDesC16 const &) const
- Length__19CMDXMLCharacterData @ 15 NONAME R3UNUSED ; CMDXMLCharacterData::Length(void)
- NewLC__10CMDXMLTextP14CMDXMLDocument @ 16 NONAME R3UNUSED ; CMDXMLText::NewLC(CMDXMLDocument *)
- NewLC__13CMDXMLCommentP14CMDXMLDocument @ 17 NONAME R3UNUSED ; CMDXMLComment::NewLC(CMDXMLDocument *)
- NewLC__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 18 NONAME ; CMDXMLElement::NewLC(int, CMDXMLDocument *, TPtrC16)
- NewLC__14CMDXMLDocumentR7MXMLDtd @ 19 NONAME R3UNUSED ; CMDXMLDocument::NewLC(MXMLDtd &)
- NewLC__18CMDXMLCDATASectionP14CMDXMLDocument @ 20 NONAME R3UNUSED ; CMDXMLCDATASection::NewLC(CMDXMLDocument *)
- NewLC__21CMDXMLDocumentElementP14CMDXMLDocument @ 21 NONAME R3UNUSED ; CMDXMLDocumentElement::NewLC(CMDXMLDocument *)
- NewLC__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 22 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewLC(CMDXMLDocument *)
- NewL__10CMDXMLTextP14CMDXMLDocument @ 23 NONAME R3UNUSED ; CMDXMLText::NewL(CMDXMLDocument *)
- NewL__13CMDXMLCommentP14CMDXMLDocument @ 24 NONAME R3UNUSED ; CMDXMLComment::NewL(CMDXMLDocument *)
- NewL__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 25 NONAME ; CMDXMLElement::NewL(int, CMDXMLDocument *, TPtrC16)
- NewL__14CMDXMLDocumentR7MXMLDtd @ 26 NONAME R3UNUSED ; CMDXMLDocument::NewL(MXMLDtd &)
- NewL__18CMDXMLCDATASectionP14CMDXMLDocument @ 27 NONAME R3UNUSED ; CMDXMLCDATASection::NewL(CMDXMLDocument *)
- NewL__21CMDXMLDocumentElementP14CMDXMLDocument @ 28 NONAME R3UNUSED ; CMDXMLDocumentElement::NewL(CMDXMLDocument *)
- NewL__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 29 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewL(CMDXMLDocument *)
- NextSameTypeSibling__10CMDXMLNode @ 30 NONAME R3UNUSED ; CMDXMLNode::NextSameTypeSibling(void)
- NodeName__10CMDXMLNode @ 31 NONAME R3UNUSED ; CMDXMLNode::NodeName(void)
- NumAttributes__13CMDXMLElement @ 32 NONAME R3UNUSED ; CMDXMLElement::NumAttributes(void)
- PreviousSameTypeSibling__10CMDXMLNode @ 33 NONAME R3UNUSED ; CMDXMLNode::PreviousSameTypeSibling(void)
- RemoveAttribute__13CMDXMLElementRC7TDesC16 @ 34 NONAME R3UNUSED ; CMDXMLElement::RemoveAttribute(TDesC16 const &)
- RemoveChild__10CMDXMLNodeP10CMDXMLNode @ 35 NONAME R3UNUSED ; CMDXMLNode::RemoveChild(CMDXMLNode *)
- ReplaceChild__10CMDXMLNodeP10CMDXMLNodeT1 @ 36 NONAME R3UNUSED ; CMDXMLNode::ReplaceChild(CMDXMLNode *, CMDXMLNode *)
- ReplaceL__19CMDXMLCharacterDataiiR7TDesC16 @ 37 NONAME ; CMDXMLCharacterData::ReplaceL(int, int, TDesC16 &)
- SetAttributeL__13CMDXMLElementRC7TDesC16T1 @ 38 NONAME R3UNUSED ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &)
- SetDataL__19CMDXMLCharacterDataR7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLCharacterData::SetDataL(TDesC16 &)
- SetDocTypeTagL__14CMDXMLDocumentRC7TDesC16 @ 40 NONAME R3UNUSED ; CMDXMLDocument::SetDocTypeTagL(TDesC16 const &)
- SetNodeNameL__10CMDXMLNodeRC7TDesC16 @ 41 NONAME R3UNUSED ; CMDXMLNode::SetNodeNameL(TDesC16 const &)
- SetVersionTagL__14CMDXMLDocumentRC7TDesC16 @ 42 NONAME R3UNUSED ; CMDXMLDocument::SetVersionTagL(TDesC16 const &)
- ValidElementNameL__C14CMDXMLDocumentRC7TDesC16 @ 43 NONAME R3UNUSED ; CMDXMLDocument::ValidElementNameL(TDesC16 const &) const
- "_._10CMDXMLNode" @ 44 NONAME R3UNUSED ; CMDXMLNode::~CMDXMLNode(void)
- "_._10CMDXMLText" @ 45 NONAME R3UNUSED ; CMDXMLText::~CMDXMLText(void)
- "_._13CMDXMLComment" @ 46 NONAME R3UNUSED ; CMDXMLComment::~CMDXMLComment(void)
- "_._13CMDXMLElement" @ 47 NONAME R3UNUSED ; CMDXMLElement::~CMDXMLElement(void)
- "_._14CMDXMLDocument" @ 48 NONAME R3UNUSED ; CMDXMLDocument::~CMDXMLDocument(void)
- "_._18CMDXMLCDATASection" @ 49 NONAME R3UNUSED ; CMDXMLCDATASection::~CMDXMLCDATASection(void)
- "_._19CMDXMLCharacterData" @ 50 NONAME R3UNUSED ; CMDXMLCharacterData::~CMDXMLCharacterData(void)
- "_._21CMDXMLDocumentElement" @ 51 NONAME R3UNUSED ; CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
- "_._27CMDXMLProcessingInstruction" @ 52 NONAME R3UNUSED ; CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
- __13CMDXMLElementiP14CMDXMLDocument @ 53 NONAME R3UNUSED ; CMDXMLElement::CMDXMLElement(int, CMDXMLDocument *)
- AppendChild__10CMDXMLNodeP10CMDXMLNode @ 54 NONAME R3UNUSED ; CMDXMLNode::AppendChild(CMDXMLNode *)
- FirstChildOfType__13CMDXMLElementRC7TDesC16 @ 55 NONAME R3UNUSED ; CMDXMLElement::FirstChildOfType(TDesC16 const &)
- LastChildOfType__13CMDXMLElementRC7TDesC16 @ 56 NONAME R3UNUSED ; CMDXMLElement::LastChildOfType(TDesC16 const &)
- NewLC__14CMDXMLDocument @ 57 NONAME R3UNUSED ; CMDXMLDocument::NewLC(void)
- NewL__14CMDXMLDocument @ 58 NONAME R3UNUSED ; CMDXMLDocument::NewL(void)
- PlaceholderForRemovedExport2__14CMDXMLDocument @ 59 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport2(void)
- SetAttributeL__13CMDXMLElementRC7TDesC16T1i @ 60 NONAME ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &, int)
-
--- a/xml/legacyminidomparser/XMLDom/bmarm/XMLDOMu.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-EXPORTS
- PlaceholderForRemovedExport1__14CMDXMLDocumentR7MXMLDtd @ 1 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd &)
- AppendL__19CMDXMLCharacterDataR7TDesC16 @ 2 NONAME R3UNUSED ; CMDXMLCharacterData::AppendL(TDesC16 &)
- AttributeDetails__13CMDXMLElementiR7TPtrC16T2 @ 3 NONAME ; CMDXMLElement::AttributeDetails(int, TPtrC16 &, TPtrC16 &)
- CanElementHaveChildren__C14CMDXMLDocumentRC7TDesC16 @ 4 NONAME R3UNUSED ; CMDXMLDocument::CanElementHaveChildren(TDesC16 const &) const
- CheckChildren__13CMDXMLElement @ 5 NONAME R3UNUSED ; CMDXMLElement::CheckChildren(void)
- CheckChildren__19CMDXMLCharacterData @ 6 NONAME R3UNUSED ; CMDXMLCharacterData::CheckChildren(void)
- CheckImmediateChildren__13CMDXMLElement @ 7 NONAME R3UNUSED ; CMDXMLElement::CheckImmediateChildren(void)
- Data__19CMDXMLCharacterData @ 8 NONAME R3UNUSED ; CMDXMLCharacterData::Data(void)
- E32Dll__F10TDllReason @ 9 NONAME R3UNUSED ; E32Dll(TDllReason)
- FindIndex__13CMDXMLElementRC7TDesC16 @ 10 NONAME R3UNUSED ; CMDXMLElement::FindIndex(TDesC16 const &)
- GetAttribute__C13CMDXMLElementRC7TDesC16R7TPtrC16 @ 11 NONAME R3UNUSED ; CMDXMLElement::GetAttribute(TDesC16 const &, TPtrC16 &) const
- InsertBefore__10CMDXMLNodeP10CMDXMLNodeT1 @ 12 NONAME R3UNUSED ; CMDXMLNode::InsertBefore(CMDXMLNode *, CMDXMLNode *)
- InsertL__19CMDXMLCharacterDataiR7TDesC16 @ 13 NONAME R3UNUSED ; CMDXMLCharacterData::InsertL(int, TDesC16 &)
- IsAttributeSpecified__C13CMDXMLElementRC7TDesC16 @ 14 NONAME R3UNUSED ; CMDXMLElement::IsAttributeSpecified(TDesC16 const &) const
- Length__19CMDXMLCharacterData @ 15 NONAME R3UNUSED ; CMDXMLCharacterData::Length(void)
- NewLC__10CMDXMLTextP14CMDXMLDocument @ 16 NONAME R3UNUSED ; CMDXMLText::NewLC(CMDXMLDocument *)
- NewLC__13CMDXMLCommentP14CMDXMLDocument @ 17 NONAME R3UNUSED ; CMDXMLComment::NewLC(CMDXMLDocument *)
- NewLC__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 18 NONAME ; CMDXMLElement::NewLC(int, CMDXMLDocument *, TPtrC16)
- NewLC__14CMDXMLDocumentR7MXMLDtd @ 19 NONAME R3UNUSED ; CMDXMLDocument::NewLC(MXMLDtd &)
- NewLC__18CMDXMLCDATASectionP14CMDXMLDocument @ 20 NONAME R3UNUSED ; CMDXMLCDATASection::NewLC(CMDXMLDocument *)
- NewLC__21CMDXMLDocumentElementP14CMDXMLDocument @ 21 NONAME R3UNUSED ; CMDXMLDocumentElement::NewLC(CMDXMLDocument *)
- NewLC__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 22 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewLC(CMDXMLDocument *)
- NewL__10CMDXMLTextP14CMDXMLDocument @ 23 NONAME R3UNUSED ; CMDXMLText::NewL(CMDXMLDocument *)
- NewL__13CMDXMLCommentP14CMDXMLDocument @ 24 NONAME R3UNUSED ; CMDXMLComment::NewL(CMDXMLDocument *)
- NewL__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 25 NONAME ; CMDXMLElement::NewL(int, CMDXMLDocument *, TPtrC16)
- NewL__14CMDXMLDocumentR7MXMLDtd @ 26 NONAME R3UNUSED ; CMDXMLDocument::NewL(MXMLDtd &)
- NewL__18CMDXMLCDATASectionP14CMDXMLDocument @ 27 NONAME R3UNUSED ; CMDXMLCDATASection::NewL(CMDXMLDocument *)
- NewL__21CMDXMLDocumentElementP14CMDXMLDocument @ 28 NONAME R3UNUSED ; CMDXMLDocumentElement::NewL(CMDXMLDocument *)
- NewL__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 29 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewL(CMDXMLDocument *)
- NextSameTypeSibling__10CMDXMLNode @ 30 NONAME R3UNUSED ; CMDXMLNode::NextSameTypeSibling(void)
- NodeName__10CMDXMLNode @ 31 NONAME R3UNUSED ; CMDXMLNode::NodeName(void)
- NumAttributes__13CMDXMLElement @ 32 NONAME R3UNUSED ; CMDXMLElement::NumAttributes(void)
- PreviousSameTypeSibling__10CMDXMLNode @ 33 NONAME R3UNUSED ; CMDXMLNode::PreviousSameTypeSibling(void)
- RemoveAttribute__13CMDXMLElementRC7TDesC16 @ 34 NONAME R3UNUSED ; CMDXMLElement::RemoveAttribute(TDesC16 const &)
- RemoveChild__10CMDXMLNodeP10CMDXMLNode @ 35 NONAME R3UNUSED ; CMDXMLNode::RemoveChild(CMDXMLNode *)
- ReplaceChild__10CMDXMLNodeP10CMDXMLNodeT1 @ 36 NONAME R3UNUSED ; CMDXMLNode::ReplaceChild(CMDXMLNode *, CMDXMLNode *)
- ReplaceL__19CMDXMLCharacterDataiiR7TDesC16 @ 37 NONAME ; CMDXMLCharacterData::ReplaceL(int, int, TDesC16 &)
- SetAttributeL__13CMDXMLElementRC7TDesC16T1 @ 38 NONAME R3UNUSED ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &)
- SetDataL__19CMDXMLCharacterDataR7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLCharacterData::SetDataL(TDesC16 &)
- SetDocTypeTagL__14CMDXMLDocumentRC7TDesC16 @ 40 NONAME R3UNUSED ; CMDXMLDocument::SetDocTypeTagL(TDesC16 const &)
- SetNodeNameL__10CMDXMLNodeRC7TDesC16 @ 41 NONAME R3UNUSED ; CMDXMLNode::SetNodeNameL(TDesC16 const &)
- SetVersionTagL__14CMDXMLDocumentRC7TDesC16 @ 42 NONAME R3UNUSED ; CMDXMLDocument::SetVersionTagL(TDesC16 const &)
- ValidElementNameL__C14CMDXMLDocumentRC7TDesC16 @ 43 NONAME R3UNUSED ; CMDXMLDocument::ValidElementNameL(TDesC16 const &) const
- "_._10CMDXMLNode" @ 44 NONAME R3UNUSED ; CMDXMLNode::~CMDXMLNode(void)
- "_._10CMDXMLText" @ 45 NONAME R3UNUSED ; CMDXMLText::~CMDXMLText(void)
- "_._13CMDXMLComment" @ 46 NONAME R3UNUSED ; CMDXMLComment::~CMDXMLComment(void)
- "_._13CMDXMLElement" @ 47 NONAME R3UNUSED ; CMDXMLElement::~CMDXMLElement(void)
- "_._14CMDXMLDocument" @ 48 NONAME R3UNUSED ; CMDXMLDocument::~CMDXMLDocument(void)
- "_._18CMDXMLCDATASection" @ 49 NONAME R3UNUSED ; CMDXMLCDATASection::~CMDXMLCDATASection(void)
- "_._19CMDXMLCharacterData" @ 50 NONAME R3UNUSED ; CMDXMLCharacterData::~CMDXMLCharacterData(void)
- "_._21CMDXMLDocumentElement" @ 51 NONAME R3UNUSED ; CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
- "_._27CMDXMLProcessingInstruction" @ 52 NONAME R3UNUSED ; CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
- __13CMDXMLElementiP14CMDXMLDocument @ 53 NONAME R3UNUSED ; CMDXMLElement::CMDXMLElement(int, CMDXMLDocument *)
- AppendChild__10CMDXMLNodeP10CMDXMLNode @ 54 NONAME R3UNUSED ; CMDXMLNode::AppendChild(CMDXMLNode *)
- FirstChildOfType__13CMDXMLElementRC7TDesC16 @ 55 NONAME R3UNUSED ; CMDXMLElement::FirstChildOfType(TDesC16 const &)
- LastChildOfType__13CMDXMLElementRC7TDesC16 @ 56 NONAME R3UNUSED ; CMDXMLElement::LastChildOfType(TDesC16 const &)
- NewLC__14CMDXMLDocument @ 57 NONAME R3UNUSED ; CMDXMLDocument::NewLC(void)
- NewL__14CMDXMLDocument @ 58 NONAME R3UNUSED ; CMDXMLDocument::NewL(void)
- PlaceholderForRemovedExport2__14CMDXMLDocument @ 59 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport2(void)
- SetAttributeL__13CMDXMLElementRC7TDesC16T1i @ 60 NONAME ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &, int)
-
--- a/xml/legacyminidomparser/XMLDom/bwins/V2_XMLDOMU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-EXPORTS
- ?PlaceholderForRemovedExport1@CMDXMLDocument@@AAEXAAVMXMLDtd@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport1(class MXMLDtd &)
- ??0CMDXMLElement@@IAE@HPAVCMDXMLDocument@@@Z @ 2 NONAME ; protected: __thiscall CMDXMLElement::CMDXMLElement(int,class CMDXMLDocument *)
- ??1CMDXMLCDATASection@@UAE@XZ @ 3 NONAME ; public: virtual __thiscall CMDXMLCDATASection::~CMDXMLCDATASection(void)
- ??1CMDXMLCharacterData@@UAE@XZ @ 4 NONAME ; public: virtual __thiscall CMDXMLCharacterData::~CMDXMLCharacterData(void)
- ??1CMDXMLComment@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComment::~CMDXMLComment(void)
- ??1CMDXMLDocument@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLDocument::~CMDXMLDocument(void)
- ??1CMDXMLDocumentElement@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
- ??1CMDXMLElement@@UAE@XZ @ 8 NONAME ; public: virtual __thiscall CMDXMLElement::~CMDXMLElement(void)
- ??1CMDXMLNode@@UAE@XZ @ 9 NONAME ; public: virtual __thiscall CMDXMLNode::~CMDXMLNode(void)
- ??1CMDXMLProcessingInstruction@@UAE@XZ @ 10 NONAME ; public: virtual __thiscall CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
- ??1CMDXMLText@@UAE@XZ @ 11 NONAME ; public: virtual __thiscall CMDXMLText::~CMDXMLText(void)
- ?AppendChild@CMDXMLNode@@QAEHPAV1@@Z @ 12 NONAME ; public: int __thiscall CMDXMLNode::AppendChild(class CMDXMLNode *)
- ?AppendL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 13 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::AppendL(class TDesC16 &)
- ?AttributeDetails@CMDXMLElement@@QAEHHAAVTPtrC16@@0@Z @ 14 NONAME ; public: int __thiscall CMDXMLElement::AttributeDetails(int,class TPtrC16 &,class TPtrC16 &)
- ?CanElementHaveChildren@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 15 NONAME ; public: int __thiscall CMDXMLDocument::CanElementHaveChildren(class TDesC16 const &)const
- ?CheckChildren@CMDXMLCharacterData@@UAEHXZ @ 16 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::CheckChildren(void)
- ?CheckChildren@CMDXMLElement@@UAEHXZ @ 17 NONAME ; public: virtual int __thiscall CMDXMLElement::CheckChildren(void)
- ?CheckImmediateChildren@CMDXMLElement@@MAEHXZ @ 18 NONAME ; protected: virtual int __thiscall CMDXMLElement::CheckImmediateChildren(void)
- ?Data@CMDXMLCharacterData@@UAEAAVTDesC16@@XZ @ 19 NONAME ; public: virtual class TDesC16 & __thiscall CMDXMLCharacterData::Data(void)
- ?E32Dll@@YAHW4TDllReason@@@Z @ 20 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
- ?FindIndex@CMDXMLElement@@QAEHABVTDesC16@@@Z @ 21 NONAME ; public: int __thiscall CMDXMLElement::FindIndex(class TDesC16 const &)
- ?FirstChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 22 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::FirstChildOfType(class TDesC16 const &)
- ?GetAttribute@CMDXMLElement@@UBEHABVTDesC16@@AAVTPtrC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLElement::GetAttribute(class TDesC16 const &,class TPtrC16 &)const
- ?InsertBefore@CMDXMLNode@@QAEHPAV1@0@Z @ 24 NONAME ; public: int __thiscall CMDXMLNode::InsertBefore(class CMDXMLNode *,class CMDXMLNode *)
- ?InsertL@CMDXMLCharacterData@@UAEHHAAVTDesC16@@@Z @ 25 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::InsertL(int,class TDesC16 &)
- ?IsAttributeSpecified@CMDXMLElement@@UBEHABVTDesC16@@@Z @ 26 NONAME ; public: virtual int __thiscall CMDXMLElement::IsAttributeSpecified(class TDesC16 const &)const
- ?LastChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 27 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::LastChildOfType(class TDesC16 const &)
- ?Length@CMDXMLCharacterData@@UAEHXZ @ 28 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::Length(void)
- ?NewL@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 29 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 30 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 31 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(class MXMLDtd &)
- ?NewL@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 32 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 33 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewL(int,class CMDXMLDocument *,class TPtrC16)
- ?NewL@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 34 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 35 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewL(class CMDXMLDocument *)
- ?NewLC@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 36 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 37 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 38 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(class MXMLDtd &)
- ?NewLC@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 39 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 40 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewLC(int,class CMDXMLDocument *,class TPtrC16)
- ?NewLC@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 41 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 42 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewLC(class CMDXMLDocument *)
- ?NextSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 43 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::NextSameTypeSibling(void)
- ?NodeName@CMDXMLNode@@QAE?AVTPtrC16@@XZ @ 44 NONAME ; public: class TPtrC16 __thiscall CMDXMLNode::NodeName(void)
- ?NumAttributes@CMDXMLElement@@QAEHXZ @ 45 NONAME ; public: int __thiscall CMDXMLElement::NumAttributes(void)
- ?PreviousSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 46 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::PreviousSameTypeSibling(void)
- ?RemoveAttribute@CMDXMLElement@@UAEHABVTDesC16@@@Z @ 47 NONAME ; public: virtual int __thiscall CMDXMLElement::RemoveAttribute(class TDesC16 const &)
- ?RemoveChild@CMDXMLNode@@QAEHPAV1@@Z @ 48 NONAME ; public: int __thiscall CMDXMLNode::RemoveChild(class CMDXMLNode *)
- ?ReplaceChild@CMDXMLNode@@QAEHPAV1@0@Z @ 49 NONAME ; public: int __thiscall CMDXMLNode::ReplaceChild(class CMDXMLNode *,class CMDXMLNode *)
- ?ReplaceL@CMDXMLCharacterData@@UAEHHHAAVTDesC16@@@Z @ 50 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::ReplaceL(int,int,class TDesC16 &)
- ?SetAttributeL@CMDXMLElement@@UAEHABVTDesC16@@0@Z @ 51 NONAME ; public: virtual int __thiscall CMDXMLElement::SetAttributeL(class TDesC16 const &,class TDesC16 const &)
- ?SetDataL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 52 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::SetDataL(class TDesC16 &)
- ?SetDocTypeTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 53 NONAME ; public: int __thiscall CMDXMLDocument::SetDocTypeTagL(class TDesC16 const &)
- ?SetNodeNameL@CMDXMLNode@@IAEXABVTDesC16@@@Z @ 54 NONAME ; protected: void __thiscall CMDXMLNode::SetNodeNameL(class TDesC16 const &)
- ?SetVersionTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 55 NONAME ; public: int __thiscall CMDXMLDocument::SetVersionTagL(class TDesC16 const &)
- ?ValidElementNameL@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 56 NONAME ; public: int __thiscall CMDXMLDocument::ValidElementNameL(class TDesC16 const &)const
- ?PlaceholderForRemovedExport2@CMDXMLDocument@@AAEXXZ @ 57 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport2(void)
- ?NewL@CMDXMLDocument@@SAPAV1@XZ @ 58 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(void)
- ?NewLC@CMDXMLDocument@@SAPAV1@XZ @ 59 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(void)
- ?SetAttributeL@CMDXMLElement@@QAEHABVTDesC16@@0H@Z @ 60 NONAME ; int CMDXMLElement::SetAttributeL(class TDesC16 const &, class TDesC16 const &, int)
-
--- a/xml/legacyminidomparser/XMLDom/bwins/XMLDOMU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,62 +0,0 @@
-EXPORTS
- ?PlaceholderForRemovedExport1@CMDXMLDocument@@AAEXAAVMXMLDtd@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport1(class MXMLDtd &)
- ??0CMDXMLElement@@IAE@HPAVCMDXMLDocument@@@Z @ 2 NONAME ; protected: __thiscall CMDXMLElement::CMDXMLElement(int,class CMDXMLDocument *)
- ??1CMDXMLCDATASection@@UAE@XZ @ 3 NONAME ; public: virtual __thiscall CMDXMLCDATASection::~CMDXMLCDATASection(void)
- ??1CMDXMLCharacterData@@UAE@XZ @ 4 NONAME ; public: virtual __thiscall CMDXMLCharacterData::~CMDXMLCharacterData(void)
- ??1CMDXMLComment@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComment::~CMDXMLComment(void)
- ??1CMDXMLDocument@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLDocument::~CMDXMLDocument(void)
- ??1CMDXMLDocumentElement@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
- ??1CMDXMLElement@@UAE@XZ @ 8 NONAME ; public: virtual __thiscall CMDXMLElement::~CMDXMLElement(void)
- ??1CMDXMLNode@@UAE@XZ @ 9 NONAME ; public: virtual __thiscall CMDXMLNode::~CMDXMLNode(void)
- ??1CMDXMLProcessingInstruction@@UAE@XZ @ 10 NONAME ; public: virtual __thiscall CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
- ??1CMDXMLText@@UAE@XZ @ 11 NONAME ; public: virtual __thiscall CMDXMLText::~CMDXMLText(void)
- ?AppendChild@CMDXMLNode@@QAEHPAV1@@Z @ 12 NONAME ; public: int __thiscall CMDXMLNode::AppendChild(class CMDXMLNode *)
- ?AppendL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 13 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::AppendL(class TDesC16 &)
- ?AttributeDetails@CMDXMLElement@@QAEHHAAVTPtrC16@@0@Z @ 14 NONAME ; public: int __thiscall CMDXMLElement::AttributeDetails(int,class TPtrC16 &,class TPtrC16 &)
- ?CanElementHaveChildren@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 15 NONAME ; public: int __thiscall CMDXMLDocument::CanElementHaveChildren(class TDesC16 const &)const
- ?CheckChildren@CMDXMLCharacterData@@UAEHXZ @ 16 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::CheckChildren(void)
- ?CheckChildren@CMDXMLElement@@UAEHXZ @ 17 NONAME ; public: virtual int __thiscall CMDXMLElement::CheckChildren(void)
- ?CheckImmediateChildren@CMDXMLElement@@MAEHXZ @ 18 NONAME ; protected: virtual int __thiscall CMDXMLElement::CheckImmediateChildren(void)
- ?Data@CMDXMLCharacterData@@UAEAAVTDesC16@@XZ @ 19 NONAME ; public: virtual class TDesC16 & __thiscall CMDXMLCharacterData::Data(void)
- ?E32Dll@@YAHW4TDllReason@@@Z @ 20 NONAME ; int __cdecl E32Dll(enum TDllReason)
- ?FindIndex@CMDXMLElement@@QAEHABVTDesC16@@@Z @ 21 NONAME ; public: int __thiscall CMDXMLElement::FindIndex(class TDesC16 const &)
- ?FirstChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 22 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::FirstChildOfType(class TDesC16 const &)
- ?GetAttribute@CMDXMLElement@@UBEHABVTDesC16@@AAVTPtrC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLElement::GetAttribute(class TDesC16 const &,class TPtrC16 &)const
- ?InsertBefore@CMDXMLNode@@QAEHPAV1@0@Z @ 24 NONAME ; public: int __thiscall CMDXMLNode::InsertBefore(class CMDXMLNode *,class CMDXMLNode *)
- ?InsertL@CMDXMLCharacterData@@UAEHHAAVTDesC16@@@Z @ 25 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::InsertL(int,class TDesC16 &)
- ?IsAttributeSpecified@CMDXMLElement@@UBEHABVTDesC16@@@Z @ 26 NONAME ; public: virtual int __thiscall CMDXMLElement::IsAttributeSpecified(class TDesC16 const &)const
- ?LastChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 27 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::LastChildOfType(class TDesC16 const &)
- ?Length@CMDXMLCharacterData@@UAEHXZ @ 28 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::Length(void)
- ?NewL@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 29 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 30 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 31 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(class MXMLDtd &)
- ?NewL@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 32 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 33 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewL(int,class CMDXMLDocument *,class TPtrC16)
- ?NewL@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 34 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewL(class CMDXMLDocument *)
- ?NewL@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 35 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewL(class CMDXMLDocument *)
- ?NewLC@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 36 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 37 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 38 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(class MXMLDtd &)
- ?NewLC@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 39 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 40 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewLC(int,class CMDXMLDocument *,class TPtrC16)
- ?NewLC@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 41 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewLC(class CMDXMLDocument *)
- ?NewLC@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 42 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewLC(class CMDXMLDocument *)
- ?NextSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 43 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::NextSameTypeSibling(void)
- ?NodeName@CMDXMLNode@@QAE?AVTPtrC16@@XZ @ 44 NONAME ; public: class TPtrC16 __thiscall CMDXMLNode::NodeName(void)
- ?NumAttributes@CMDXMLElement@@QAEHXZ @ 45 NONAME ; public: int __thiscall CMDXMLElement::NumAttributes(void)
- ?PreviousSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 46 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::PreviousSameTypeSibling(void)
- ?RemoveAttribute@CMDXMLElement@@UAEHABVTDesC16@@@Z @ 47 NONAME ; public: virtual int __thiscall CMDXMLElement::RemoveAttribute(class TDesC16 const &)
- ?RemoveChild@CMDXMLNode@@QAEHPAV1@@Z @ 48 NONAME ; public: int __thiscall CMDXMLNode::RemoveChild(class CMDXMLNode *)
- ?ReplaceChild@CMDXMLNode@@QAEHPAV1@0@Z @ 49 NONAME ; public: int __thiscall CMDXMLNode::ReplaceChild(class CMDXMLNode *,class CMDXMLNode *)
- ?ReplaceL@CMDXMLCharacterData@@UAEHHHAAVTDesC16@@@Z @ 50 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::ReplaceL(int,int,class TDesC16 &)
- ?SetAttributeL@CMDXMLElement@@UAEHABVTDesC16@@0@Z @ 51 NONAME ; public: virtual int __thiscall CMDXMLElement::SetAttributeL(class TDesC16 const &,class TDesC16 const &)
- ?SetDataL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 52 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::SetDataL(class TDesC16 &)
- ?SetDocTypeTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 53 NONAME ; public: int __thiscall CMDXMLDocument::SetDocTypeTagL(class TDesC16 const &)
- ?SetNodeNameL@CMDXMLNode@@IAEXABVTDesC16@@@Z @ 54 NONAME ; protected: void __thiscall CMDXMLNode::SetNodeNameL(class TDesC16 const &)
- ?SetVersionTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 55 NONAME ; public: int __thiscall CMDXMLDocument::SetVersionTagL(class TDesC16 const &)
- ?ValidElementNameL@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 56 NONAME ; public: int __thiscall CMDXMLDocument::ValidElementNameL(class TDesC16 const &)const
- ?PlaceholderForRemovedExport2@CMDXMLDocument@@AAEXXZ @ 57 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport2(void)
- ?NewL@CMDXMLDocument@@SAPAV1@XZ @ 58 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(void)
- ?NewLC@CMDXMLDocument@@SAPAV1@XZ @ 59 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(void)
- ?SetAttributeL@CMDXMLElement@@QAEHABVTDesC16@@0H@Z @ 60 NONAME ; int CMDXMLElement::SetAttributeL(class TDesC16 const &, class TDesC16 const &, int)
-
--- a/xml/legacyminidomparser/XMLDom/eabi/V2_XMLDOMu.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-EXPORTS
- _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
- _ZN10CMDXMLNode11AppendChildEPS_ @ 2 NONAME
- _ZN10CMDXMLNode11RemoveChildEPS_ @ 3 NONAME
- _ZN10CMDXMLNode12InsertBeforeEPS_S0_ @ 4 NONAME
- _ZN10CMDXMLNode12ReplaceChildEPS_S0_ @ 5 NONAME
- _ZN10CMDXMLNode12SetNodeNameLERK7TDesC16 @ 6 NONAME
- _ZN10CMDXMLNode19NextSameTypeSiblingEv @ 7 NONAME
- _ZN10CMDXMLNode23PreviousSameTypeSiblingEv @ 8 NONAME
- _ZN10CMDXMLNode8NodeNameEv @ 9 NONAME
- _ZN10CMDXMLNodeD0Ev @ 10 NONAME
- _ZN10CMDXMLNodeD1Ev @ 11 NONAME
- _ZN10CMDXMLNodeD2Ev @ 12 NONAME
- _ZN10CMDXMLText4NewLEP14CMDXMLDocument @ 13 NONAME
- _ZN10CMDXMLText5NewLCEP14CMDXMLDocument @ 14 NONAME
- _ZN10CMDXMLTextD0Ev @ 15 NONAME
- _ZN10CMDXMLTextD1Ev @ 16 NONAME
- _ZN10CMDXMLTextD2Ev @ 17 NONAME
- _ZN13CMDXMLComment4NewLEP14CMDXMLDocument @ 18 NONAME
- _ZN13CMDXMLComment5NewLCEP14CMDXMLDocument @ 19 NONAME
- _ZN13CMDXMLCommentD0Ev @ 20 NONAME
- _ZN13CMDXMLCommentD1Ev @ 21 NONAME
- _ZN13CMDXMLCommentD2Ev @ 22 NONAME
- _ZN13CMDXMLElement13CheckChildrenEv @ 23 NONAME
- _ZN13CMDXMLElement13NumAttributesEv @ 24 NONAME
- _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_ @ 25 NONAME
- _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_i @ 26 NONAME
- _ZN13CMDXMLElement15LastChildOfTypeERK7TDesC16 @ 27 NONAME
- _ZN13CMDXMLElement15RemoveAttributeERK7TDesC16 @ 28 NONAME
- _ZN13CMDXMLElement16AttributeDetailsEiR7TPtrC16S1_ @ 29 NONAME
- _ZN13CMDXMLElement16FirstChildOfTypeERK7TDesC16 @ 30 NONAME
- _ZN13CMDXMLElement22CheckImmediateChildrenEv @ 31 NONAME
- _ZN13CMDXMLElement4NewLEiP14CMDXMLDocument7TPtrC16 @ 32 NONAME
- _ZN13CMDXMLElement5NewLCEiP14CMDXMLDocument7TPtrC16 @ 33 NONAME
- _ZN13CMDXMLElement9FindIndexERK7TDesC16 @ 34 NONAME
- _ZN13CMDXMLElementC1EiP14CMDXMLDocument @ 35 NONAME
- _ZN13CMDXMLElementC2EiP14CMDXMLDocument @ 36 NONAME
- _ZN13CMDXMLElementD0Ev @ 37 NONAME
- _ZN13CMDXMLElementD1Ev @ 38 NONAME
- _ZN13CMDXMLElementD2Ev @ 39 NONAME
- _ZN14CMDXMLDocument14SetDocTypeTagLERK7TDesC16 @ 40 NONAME
- _ZN14CMDXMLDocument14SetVersionTagLERK7TDesC16 @ 41 NONAME
- _ZN14CMDXMLDocument28PlaceholderForRemovedExport1ER7MXMLDtd @ 42 NONAME
- _ZN14CMDXMLDocument28PlaceholderForRemovedExport2Ev @ 43 NONAME
- _ZN14CMDXMLDocument4NewLER7MXMLDtd @ 44 NONAME
- _ZN14CMDXMLDocument4NewLEv @ 45 NONAME
- _ZN14CMDXMLDocument5NewLCER7MXMLDtd @ 46 NONAME
- _ZN14CMDXMLDocument5NewLCEv @ 47 NONAME
- _ZN14CMDXMLDocumentD0Ev @ 48 NONAME
- _ZN14CMDXMLDocumentD1Ev @ 49 NONAME
- _ZN14CMDXMLDocumentD2Ev @ 50 NONAME
- _ZN18CMDXMLCDATASection4NewLEP14CMDXMLDocument @ 51 NONAME
- _ZN18CMDXMLCDATASection5NewLCEP14CMDXMLDocument @ 52 NONAME
- _ZN18CMDXMLCDATASectionD0Ev @ 53 NONAME
- _ZN18CMDXMLCDATASectionD1Ev @ 54 NONAME
- _ZN18CMDXMLCDATASectionD2Ev @ 55 NONAME
- _ZN19CMDXMLCharacterData13CheckChildrenEv @ 56 NONAME
- _ZN19CMDXMLCharacterData4DataEv @ 57 NONAME
- _ZN19CMDXMLCharacterData6LengthEv @ 58 NONAME
- _ZN19CMDXMLCharacterData7AppendLER7TDesC16 @ 59 NONAME
- _ZN19CMDXMLCharacterData7InsertLEiR7TDesC16 @ 60 NONAME
- _ZN19CMDXMLCharacterData8ReplaceLEiiR7TDesC16 @ 61 NONAME
- _ZN19CMDXMLCharacterData8SetDataLER7TDesC16 @ 62 NONAME
- _ZN19CMDXMLCharacterDataD0Ev @ 63 NONAME
- _ZN19CMDXMLCharacterDataD1Ev @ 64 NONAME
- _ZN19CMDXMLCharacterDataD2Ev @ 65 NONAME
- _ZN21CMDXMLDocumentElement4NewLEP14CMDXMLDocument @ 66 NONAME
- _ZN21CMDXMLDocumentElement5NewLCEP14CMDXMLDocument @ 67 NONAME
- _ZN21CMDXMLDocumentElementD0Ev @ 68 NONAME
- _ZN21CMDXMLDocumentElementD1Ev @ 69 NONAME
- _ZN21CMDXMLDocumentElementD2Ev @ 70 NONAME
- _ZN27CMDXMLProcessingInstruction4NewLEP14CMDXMLDocument @ 71 NONAME
- _ZN27CMDXMLProcessingInstruction5NewLCEP14CMDXMLDocument @ 72 NONAME
- _ZN27CMDXMLProcessingInstructionD0Ev @ 73 NONAME
- _ZN27CMDXMLProcessingInstructionD1Ev @ 74 NONAME
- _ZN27CMDXMLProcessingInstructionD2Ev @ 75 NONAME
- _ZNK13CMDXMLElement12GetAttributeERK7TDesC16R7TPtrC16 @ 76 NONAME
- _ZNK13CMDXMLElement20IsAttributeSpecifiedERK7TDesC16 @ 77 NONAME
- _ZNK14CMDXMLDocument17ValidElementNameLERK7TDesC16 @ 78 NONAME
- _ZNK14CMDXMLDocument22CanElementHaveChildrenERK7TDesC16 @ 79 NONAME
- _ZTI10CMDXMLNode @ 80 NONAME ; #<TI>#
- _ZTI10CMDXMLText @ 81 NONAME ; #<TI>#
- _ZTI13CMDXMLComment @ 82 NONAME ; #<TI>#
- _ZTI13CMDXMLElement @ 83 NONAME ; #<TI>#
- _ZTI14CMDXMLDocument @ 84 NONAME ; #<TI>#
- _ZTI18CMDXMLCDATASection @ 85 NONAME ; #<TI>#
- _ZTI19CMDXMLCharacterData @ 86 NONAME ; #<TI>#
- _ZTI21CMDXMLDocumentElement @ 87 NONAME ; #<TI>#
- _ZTI27CMDXMLProcessingInstruction @ 88 NONAME ; #<TI>#
- _ZTV10CMDXMLNode @ 89 NONAME ; #<VT>#
- _ZTV10CMDXMLText @ 90 NONAME ; #<VT>#
- _ZTV13CMDXMLComment @ 91 NONAME ; #<VT>#
- _ZTV13CMDXMLElement @ 92 NONAME ; #<VT>#
- _ZTV14CMDXMLDocument @ 93 NONAME ; #<VT>#
- _ZTV18CMDXMLCDATASection @ 94 NONAME ; #<VT>#
- _ZTV19CMDXMLCharacterData @ 95 NONAME ; #<VT>#
- _ZTV21CMDXMLDocumentElement @ 96 NONAME ; #<VT>#
- _ZTV27CMDXMLProcessingInstruction @ 97 NONAME ; #<VT>#
- _ZTI14CMDXMLDummyDtd @ 98 NONAME ; #<TI>#
- _ZTV14CMDXMLDummyDtd @ 99 NONAME ; #<VT>#
-
--- a/xml/legacyminidomparser/XMLDom/eabi/XMLDOMu.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,101 +0,0 @@
-EXPORTS
- _Z6E32Dll10TDllReason @ 1 NONAME
- _ZN10CMDXMLNode11AppendChildEPS_ @ 2 NONAME
- _ZN10CMDXMLNode11RemoveChildEPS_ @ 3 NONAME
- _ZN10CMDXMLNode12InsertBeforeEPS_S0_ @ 4 NONAME
- _ZN10CMDXMLNode12ReplaceChildEPS_S0_ @ 5 NONAME
- _ZN10CMDXMLNode12SetNodeNameLERK7TDesC16 @ 6 NONAME
- _ZN10CMDXMLNode19NextSameTypeSiblingEv @ 7 NONAME
- _ZN10CMDXMLNode23PreviousSameTypeSiblingEv @ 8 NONAME
- _ZN10CMDXMLNode8NodeNameEv @ 9 NONAME
- _ZN10CMDXMLNodeD0Ev @ 10 NONAME
- _ZN10CMDXMLNodeD1Ev @ 11 NONAME
- _ZN10CMDXMLNodeD2Ev @ 12 NONAME
- _ZN10CMDXMLText4NewLEP14CMDXMLDocument @ 13 NONAME
- _ZN10CMDXMLText5NewLCEP14CMDXMLDocument @ 14 NONAME
- _ZN10CMDXMLTextD0Ev @ 15 NONAME
- _ZN10CMDXMLTextD1Ev @ 16 NONAME
- _ZN10CMDXMLTextD2Ev @ 17 NONAME
- _ZN13CMDXMLComment4NewLEP14CMDXMLDocument @ 18 NONAME
- _ZN13CMDXMLComment5NewLCEP14CMDXMLDocument @ 19 NONAME
- _ZN13CMDXMLCommentD0Ev @ 20 NONAME
- _ZN13CMDXMLCommentD1Ev @ 21 NONAME
- _ZN13CMDXMLCommentD2Ev @ 22 NONAME
- _ZN13CMDXMLElement13CheckChildrenEv @ 23 NONAME
- _ZN13CMDXMLElement13NumAttributesEv @ 24 NONAME
- _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_ @ 25 NONAME
- _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_i @ 26 NONAME
- _ZN13CMDXMLElement15LastChildOfTypeERK7TDesC16 @ 27 NONAME
- _ZN13CMDXMLElement15RemoveAttributeERK7TDesC16 @ 28 NONAME
- _ZN13CMDXMLElement16AttributeDetailsEiR7TPtrC16S1_ @ 29 NONAME
- _ZN13CMDXMLElement16FirstChildOfTypeERK7TDesC16 @ 30 NONAME
- _ZN13CMDXMLElement22CheckImmediateChildrenEv @ 31 NONAME
- _ZN13CMDXMLElement4NewLEiP14CMDXMLDocument7TPtrC16 @ 32 NONAME
- _ZN13CMDXMLElement5NewLCEiP14CMDXMLDocument7TPtrC16 @ 33 NONAME
- _ZN13CMDXMLElement9FindIndexERK7TDesC16 @ 34 NONAME
- _ZN13CMDXMLElementC1EiP14CMDXMLDocument @ 35 NONAME
- _ZN13CMDXMLElementC2EiP14CMDXMLDocument @ 36 NONAME
- _ZN13CMDXMLElementD0Ev @ 37 NONAME
- _ZN13CMDXMLElementD1Ev @ 38 NONAME
- _ZN13CMDXMLElementD2Ev @ 39 NONAME
- _ZN14CMDXMLDocument14SetDocTypeTagLERK7TDesC16 @ 40 NONAME
- _ZN14CMDXMLDocument14SetVersionTagLERK7TDesC16 @ 41 NONAME
- _ZN14CMDXMLDocument28PlaceholderForRemovedExport1ER7MXMLDtd @ 42 NONAME
- _ZN14CMDXMLDocument28PlaceholderForRemovedExport2Ev @ 43 NONAME
- _ZN14CMDXMLDocument4NewLER7MXMLDtd @ 44 NONAME
- _ZN14CMDXMLDocument4NewLEv @ 45 NONAME
- _ZN14CMDXMLDocument5NewLCER7MXMLDtd @ 46 NONAME
- _ZN14CMDXMLDocument5NewLCEv @ 47 NONAME
- _ZN14CMDXMLDocumentD0Ev @ 48 NONAME
- _ZN14CMDXMLDocumentD1Ev @ 49 NONAME
- _ZN14CMDXMLDocumentD2Ev @ 50 NONAME
- _ZN18CMDXMLCDATASection4NewLEP14CMDXMLDocument @ 51 NONAME
- _ZN18CMDXMLCDATASection5NewLCEP14CMDXMLDocument @ 52 NONAME
- _ZN18CMDXMLCDATASectionD0Ev @ 53 NONAME
- _ZN18CMDXMLCDATASectionD1Ev @ 54 NONAME
- _ZN18CMDXMLCDATASectionD2Ev @ 55 NONAME
- _ZN19CMDXMLCharacterData13CheckChildrenEv @ 56 NONAME
- _ZN19CMDXMLCharacterData4DataEv @ 57 NONAME
- _ZN19CMDXMLCharacterData6LengthEv @ 58 NONAME
- _ZN19CMDXMLCharacterData7AppendLER7TDesC16 @ 59 NONAME
- _ZN19CMDXMLCharacterData7InsertLEiR7TDesC16 @ 60 NONAME
- _ZN19CMDXMLCharacterData8ReplaceLEiiR7TDesC16 @ 61 NONAME
- _ZN19CMDXMLCharacterData8SetDataLER7TDesC16 @ 62 NONAME
- _ZN19CMDXMLCharacterDataD0Ev @ 63 NONAME
- _ZN19CMDXMLCharacterDataD1Ev @ 64 NONAME
- _ZN19CMDXMLCharacterDataD2Ev @ 65 NONAME
- _ZN21CMDXMLDocumentElement4NewLEP14CMDXMLDocument @ 66 NONAME
- _ZN21CMDXMLDocumentElement5NewLCEP14CMDXMLDocument @ 67 NONAME
- _ZN21CMDXMLDocumentElementD0Ev @ 68 NONAME
- _ZN21CMDXMLDocumentElementD1Ev @ 69 NONAME
- _ZN21CMDXMLDocumentElementD2Ev @ 70 NONAME
- _ZN27CMDXMLProcessingInstruction4NewLEP14CMDXMLDocument @ 71 NONAME
- _ZN27CMDXMLProcessingInstruction5NewLCEP14CMDXMLDocument @ 72 NONAME
- _ZN27CMDXMLProcessingInstructionD0Ev @ 73 NONAME
- _ZN27CMDXMLProcessingInstructionD1Ev @ 74 NONAME
- _ZN27CMDXMLProcessingInstructionD2Ev @ 75 NONAME
- _ZNK13CMDXMLElement12GetAttributeERK7TDesC16R7TPtrC16 @ 76 NONAME
- _ZNK13CMDXMLElement20IsAttributeSpecifiedERK7TDesC16 @ 77 NONAME
- _ZNK14CMDXMLDocument17ValidElementNameLERK7TDesC16 @ 78 NONAME
- _ZNK14CMDXMLDocument22CanElementHaveChildrenERK7TDesC16 @ 79 NONAME
- _ZTI10CMDXMLNode @ 80 NONAME ; #<TI>#
- _ZTI10CMDXMLText @ 81 NONAME ; #<TI>#
- _ZTI13CMDXMLComment @ 82 NONAME ; #<TI>#
- _ZTI13CMDXMLElement @ 83 NONAME ; #<TI>#
- _ZTI14CMDXMLDocument @ 84 NONAME ; #<TI>#
- _ZTI18CMDXMLCDATASection @ 85 NONAME ; #<TI>#
- _ZTI19CMDXMLCharacterData @ 86 NONAME ; #<TI>#
- _ZTI21CMDXMLDocumentElement @ 87 NONAME ; #<TI>#
- _ZTI27CMDXMLProcessingInstruction @ 88 NONAME ; #<TI>#
- _ZTV10CMDXMLNode @ 89 NONAME ; #<VT>#
- _ZTV10CMDXMLText @ 90 NONAME ; #<VT>#
- _ZTV13CMDXMLComment @ 91 NONAME ; #<VT>#
- _ZTV13CMDXMLElement @ 92 NONAME ; #<VT>#
- _ZTV14CMDXMLDocument @ 93 NONAME ; #<VT>#
- _ZTV18CMDXMLCDATASection @ 94 NONAME ; #<VT>#
- _ZTV19CMDXMLCharacterData @ 95 NONAME ; #<VT>#
- _ZTV21CMDXMLDocumentElement @ 96 NONAME ; #<VT>#
- _ZTV27CMDXMLProcessingInstruction @ 97 NONAME ; #<VT>#
- _ZTI14CMDXMLDummyDtd @ 98 NONAME ; #<TI>#
- _ZTV14CMDXMLDummyDtd @ 99 NONAME ; #<VT>#
-
--- a/xml/legacyminidomparser/XMLParser/GROUP/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_PLATFORMS
- DEFAULT
-
-PRJ_EXPORTS
- ../INC/GMXMLComposer.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcomposer.h)
- ../INC/GMXMLParser.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmlparser.h)
- ../INC/GMXMLConstants.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmlconstants.h)
- ../INC/GMXMLEntityConverter.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlentityconverter.h)
-
-PRJ_MMPFILES
- xmlparser.mmp
-
-#include "../test/group/bld.inf"
\ No newline at end of file
--- a/xml/legacyminidomparser/XMLParser/GROUP/xmlparser.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// xmlparser.dll XML parser
-//
-//
-/**
- @file
-*/
-
-TARGET xmlparser.dll
-TARGETTYPE dll
-
-CAPABILITY All -TCB
-UID 0x1000008d 0x101F9118
-VENDORID 0x70000001
-
-SOURCEPATH ../SRC
-SOURCE GMXMLComposer.cpp
-SOURCE GMXMLEntityConverter.cpp
-SOURCE GMXMLParser.cpp
-SOURCE GMXMLFileDataSource.cpp
-
-USERINCLUDE ../INC ../../XMLDom/INC
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-
-
-LIBRARY euser.lib
-LIBRARY efsrv.lib
-LIBRARY charconv.lib
-LIBRARY bafl.lib
-LIBRARY xmldom.lib
-
-#ifdef WINSCW
-DEFFILE V2_XMLPARSER.DEF
-#else
-DEFFILE v2_xmlparser.DEF
-#endif
-
-SOURCEPATH ../STRINGS
-START STRINGTABLE XMLEntityReferences.st
- EXPORTPATH /epoc32/include
-END
-SMPSAFE
--- a/xml/legacyminidomparser/XMLParser/INC/GMXMLComposer.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,317 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the generic CMDXMLComposer class
-// which is responsible for creating an XML file
-// from a given DOM structure.
-//
-//
-
-/**
- @file
-*/
-
-
-#ifndef __GMXMLCOMPOSER_H__
-#define __GMXMLCOMPOSER_H__
-
-#include <e32base.h>
-#include <f32file.h>
-#include <gmxmlconstants.h>
-#include <charconv.h>
-
-//forward reference
-class CMDXMLDocument;
-class CMDXMLEntityConverter;
-class CMDXMLNode;
-
-class MMDXMLComposerObserver
-/** Abstract observer interface for notification when XML composition is complete.
-
-It should be implemented by users of CMDXMLComposer.
-
-@publishedPartner
-@released
-*/
- {
-public:
- /**
- Call back function used to inform a client of the composer that the composer has completed.
- */
- virtual void ComposeFileCompleteL() = 0;
- };
-
-
-class CMDXMLComposer: public CActive
-/** Creates an XML file from a given DOM structure.
- @publishedPartner
- @released
- */
- {
-public:
- /** Destructor. */
- IMPORT_C ~CMDXMLComposer();
-
- /** Allocates and constructs a new XML composer.
-
- @param aComposerObserver Composer observer
- @leave KErrNoMemory Out of memory
- @return New XML composer */
- IMPORT_C static CMDXMLComposer* NewL(MMDXMLComposerObserver* aComposerObserver);
-
- /** Allocates and constructs a new XML composer.
-
- @param aComposerObserver Composer observer
- @param aOutputProlog Whether to output Version and Doctype tags.
- @leave KErrNoMemory Out of memory
- @return New XML composer */
- IMPORT_C static CMDXMLComposer* NewL(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
-
-
- /** Allocates and constructs a new XML composer, leaving the object on the cleanup
- stack.
-
- @leave KErrNoMemory Out of memory
- @param aComposerObserver Composer observer
- @return New XML composer */
- IMPORT_C static CMDXMLComposer* NewLC(MMDXMLComposerObserver* aComposerObserver);
-
- /** Allocates and constructs a new XML composer, leaving the object on the cleanup
- stack.
-
- @leave KErrNoMemory Out of memory
- @param aComposerObserver Composer observer
- @param aOutputProlog Whether to output Version and Doctype tags.
- @return New XML composer */
- IMPORT_C static CMDXMLComposer* NewLC(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
-
- /** Starts file composition.
-
- This function must not be called when file sizing is in progress. If it is necessary to calulate
- the size and generate the XML simultaneously then two instances of the composer should be used,
- one for sizing and one for composition.
-
- @param aRFs A file server session
- @param aFileToCompose Name of the file to create
- @param aDocument The document object to compose to the file
- @param aFileType Type of the output file
- @return KErrNone if successful */
- IMPORT_C TInt ComposeFile(RFs aRFs, const TDesC& aFileToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType);
-
- IMPORT_C TInt ComposeFile(RFile& aFileHandleToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType);
-
- /** Starts calculating the size of the XML output without actually writing it to the file.
-
- File size calculation is asyncronous, the size value is only updated when ComposeFileComplete
- is called on the MMDXMLComposerObserver passed in in the NewL.
-
- This function must not be called when file composition or another sizing operation is
- in progress. If it is necessary to calulate the size and generate the XML simultaneously
- then two instances of the composer should be used, one for sizing and one for composition.
-
- @param aSize Will be set to the size of the XML document when composition has completed.
- @param aDocument The document object to size
- @param aFileType Type of the output file, required because it will affect the size of the XML
- @return KErrNone if successful */
-
- IMPORT_C TInt CalculateFileSize(TInt& aSize, CMDXMLDocument* aDocument, TXMLFileType aFileType);
-
- /** Gets the composer's last error.
-
- @return Error code */
- IMPORT_C TInt Error() const;
-
- /**
- Get the severity of the most severe error found.
- @return the maximum error severity
- */
- IMPORT_C TXMLErrorCodeSeverity ErrorSeverity() const;
-
- //Defect fix for INC036136 - Enable the use of custom entity converters in GMXML
- /** Outputs raw data.
- it's only intended to be used from within a custom entity converter as
- it relies on a Composer sesssion already being in progress
-
- @param aData Data to output
- @return KErrNone if successful, otherwise a file writing error.
- */
- IMPORT_C TInt OutputDataL(const TDesC& aData);
-
- /**
- * Sets the entity converter to be used
- * and take ownership of the passed entity converter
- * @param aEntityConverter The entity converter to be used
- */
- IMPORT_C void SetEntityConverter(CMDXMLEntityConverter* aEntityConverter);
- //End Defect fix for INC036136
-
-public: // public functions used by other classes within the .dll, not for Export.
- /** Gets the entity converter used by the composer.
-
- @return The entity converter used by the composer. */
- IMPORT_C CMDXMLEntityConverter* EntityConverter() const;
-
- /** Outputs a comment.
-
- @param aComment Comment to output
- @return KErrNone if successful, otherwise a file writing error. */
- TInt OutputCommentL(const TDesC& aComment);
-
- /** Outputs a processing instruction.
-
- @param aInstruction Processing instruction text to output
- @return KErrNone if successful, otherwise a file writing error. */
- TInt OutputProcessingInstructionL(const TDesC& aInstruction);
-
- /** Outputs a CDATA section.
-
- @param aCDataSection CDATA section to output
- @return KErrNone if successful, otherwise a file writing error. */
- TInt OutputCDataSectionL(const TDesC& aCDataSection);
-
-
- /** Outputs a start of element tag.
-
- @param aElementName The name of the tag to output
- @return KErrNone if successful, otherwise a file writing error. */
- IMPORT_C TInt OutputStartOfElementTagL(const TDesC& aElementName);
-
- /** Outputs an end of element start tag (</).
-
- @param aHasChildren True if the element has children
- @return KErrNone if successful, otherwise a file writing error. */
- IMPORT_C TInt OutputEndOfElementTagL(const TBool aHasChildren);
-
- /** Output an end of element tag.
-
- @param aElementName The name of the tag to output
- @return KErrNone if successful, otherwise a file writing error. */
- TInt OutputEndTagL(const TDesC& aElementName);
-
- /** Outputs an attribute name and value.
-
- @param aAttributeName Attribute name
- @param aAttributeValue Attribute value
- @return KErrNone if successful, otherwise a file writing error. */
- IMPORT_C TInt OutputAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue);
-
-private:
- /*
- * BaseConstructL function to be called by dervived classes during their construction
- */
- void BaseConstructL();
-
- /*
- * RunError function inherited from CActive base class - intercepts any Leave from
- * the RunL() function, sets an appropriate errorcode and calls ComposeFileCompleteL
- */
- IMPORT_C TInt RunError(TInt aError);
-
- /*
- * DoCancel function inherited from CActive base class
- */
- IMPORT_C virtual void DoCancel();
-
- /*
- * RunL function inherited from CActive base class - does the actual composition
- * @leave can Leave due to OOM
- */
- virtual void RunL();
-
- /*
- * Function to write string to required file format - handles format conversion
- * @param aStringToWrite the string to output
- * @return returns KERRNone if successful or a file write error.
- */
- virtual TInt WriteFileL(const TDesC& aStringToWrite);
-
- /*
- * Function to flush output string to required file format - handles format conversion
- * @return returns KERRNone if successful or a file write error.
- */
- virtual TInt FlushOutputBufferL();
-
- /*
- * Constructor
- */
- CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver);
-
- /*
- * Constructor
- */
- CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
-
-
- /*
- * Sets iError to new errorcode if more serious than any error so far encountered
- */
- IMPORT_C void SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity);
-
-
- /*
- * Outputs a start tag for the node which includes the
- * tag name and all attribute name value pairs currently
- * specified. If the node is an empty node then it
- * makes the tag an empty node tag, otherwise it creates
- * a start tag.
- * @param aNode The Node for which the start tag is being written
- * @return Returns KerrNone if successful or a file write error
- */
- IMPORT_C TInt ComposeStartTagL(CMDXMLNode& aNode);
-
- /*
- * Outputs an end tag for the node.
- * @param aNode the node for which the tag is being written.
- * @return Returns KerrNone if successful or a file write error
- */
-
-
- IMPORT_C TInt ComposeEndTagL(CMDXMLNode& aNode);
-
- /*
- * Second stage constructor
- * @param aEntityStrings the string table which lists the entity references and conversion
- */
- void ConstructL();
- TInt ComposeL();
-
- void InitialiseCompose(CMDXMLDocument* aDocument, TXMLFileType aFileType);
-
- IMPORT_C void PlaceholderForRemovedExport1(MMDXMLComposerObserver* aComposerObserver);
- IMPORT_C void PlaceholderForRemovedExport2();
- IMPORT_C void PlaceholderForRemovedExport3();
- TInt ReplaceXmlCharactersL(const TDesC16& aXmlData, const TDesC& aString);
-
-private:
- MMDXMLComposerObserver* iComposerObserver;
- CMDXMLEntityConverter* iEntityConverter; // Entity converter to use
- CMDXMLDocument* iXMLDoc; // XML document being composed
- RFile iXMLFile; // File being composed
- TXMLFileType iFileType; // Type of file being composed
- TInt iError; // Current error
- TXMLErrorCodeSeverity iSeverity; // ErrorCode severity
- CCnvCharacterSetConverter* iCharconv;
- TBuf<KWriteBufferLen> iOutputBuffer;
- RFs iRFs; // File system to use
- TBool iOutputProlog; // Whether to output Version and Doctype tags
-
- TInt iSizeTally;
- TInt* iSize;
- TBool iOnlyCalculatingSize;
-
-#ifdef _DEBUG
- TInt iIndentationLevel;
-#endif
- };
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/INC/GMXMLConstants.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,141 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains generic XML constants
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLCONSTANTS_H__
-#define __GMXMLCONSTANTS_H__
-
-#include <e32base.h>
-#include <gmxmldomconstants.h>
-
-/** XML file type options.
-@publishedPartner
-@released
-*/
-enum TXMLFileType
- {
- /** ASCII file. */
- EAscii = 1,
- /** Unicode file. */
- EUnicode = 2,
- /** UTF8 file. */
- EUtf8 = 3
- };
-
-const TInt KReadBufferLen = 1024;
-const TInt KWriteBufferLen = 1024;
-
-// Error codes
-/** XML element nesting error code. */
-const TInt KErrXMLBadNesting = KErrXMLBase - 4;
-/** XML element incomplete error code. */
-const TInt KErrXMLIncomplete = KErrXMLBase - 5;
-/** XML element name error code. */
-const TInt KErrXMLBadElementName = KErrXMLBase - 6;
-/** Error code that indicates that more than one DOCTYPE tag has been encountered:
-the first one encountered will be used. */
-const TInt KErrXMLDuplicateDocTypeTags = KErrXMLBase - 7;
-/** Error code that indicates that more than one XML version tag has been encountered:
-the first one encountered will be used. */
-const TInt KErrXMLDuplicateVersionTags = KErrXMLBase - 8;
-/** Error code that indicates that more than one element has been encountered at
-the root of the document (there should be a single <smil> element). The resulting
-tree may be confused, but is provided rather than being discarded. */
-const TInt KErrXMLDuplicateRootElements = KErrXMLBase - 9;
-/** Error code that indicates that no DOCTYPE tag was encountered. */
-const TInt KErrXMLMissingDocTypeTag = KErrXMLBase - 10;
-/** Error code that indicates that no XML version tag was encountered. */
-const TInt KErrXMLMissingVersionTag = KErrXMLBase - 11;
-/** Error code that indicates that an element has two or more entries for the same
-attribute. */
-const TInt KErrXMLDuplicateAttributeName = KErrXMLBase - 12;
-/** Error code that indicates there is no single root element.
-
-This may be the result of two of more root elements being added incorrectly,
-or a missing root element leading to the child elements being assumed to be
-root nodes. */
-const TInt KErrXMLMultipleRootElements = KErrXMLBase - 13;
-/** Error code that indicates spurious characters have been found.
-
-This may occur as the result of a missing or an extra attribute or element
-delimiter. */
-const TInt KErrXMLCorruptFile = KErrXMLBase - 14;
-/** Error code that indicates a built-in entity or element / attribute delimiter
-is at an inappropriate place. */
-const TInt KErrXMLIllegalCharacter = KErrXMLBase - 15;
-const TInt KErrXMLBadEntity = KErrXMLBase - 16;
-/** Error code that indicates an element was found to be invalid by the DTD */
-const TInt KErrXMLInvalidElement = KErrXMLBase - 17;
-/** Error code that indicates an attribute was found to be invalid by the DTD */
-const TInt KErrXMLInvalidAttribute = KErrXMLBase - 18;
-
-/** Severity levels for XML composer and parser errors.
-@publishedPartner
-@released
-*/
-enum TXMLErrorCodeSeverity
- {
- /** Fatal error. */
- EXMLFatal,
- /** Severity level cannot be determined. */
- EXMLIndeterminate,
- /** Recoverable error. */
- EXMLWorkable,
- /** No error. */
- EXMLNone
- };
-
-
-_LIT(KNewLine, "\r\n");
-
-#ifdef _DEBUG
- _LIT(KTab, " ");
-#endif
-
-_LIT(KXMLSemiColon, ";");
-_LIT(KXMLDecimalId, "&#");
-_LIT(KXMLHexidecimalId, "&#x");
-_LIT(KXMLStartComment, "<!--");
-_LIT(KXMLEndComment, "-->");
-_LIT(KXMLStartEndTag, "</");
-_LIT(KXMLStartTag, "<");
-_LIT(KXMLEndStartTag, "/>");
-_LIT(KXMLStartProcessingInstruction, "<?");
-_LIT(KXMLEndProcessingInstruction, "?>");
-_LIT(KXMLStartCDataSection, "<![CDATA[");
-_LIT(KXMLEndCDataSection, "]]>");
-
-_LIT(KBackSlash, "\\");
-_LIT(KDash, "-");
-_LIT(KExclamation, "!");
-_LIT(KForwardSlash, "/");
-_LIT(KEqualSign, "=");
-_LIT(KLeftArrow, "<");
-_LIT(KRightArrow, ">");
-_LIT(KAmpersand, "&");
-_LIT(KApostrophe, "\'");
-_LIT(KQuotation, "\"");
-_LIT(KSingleSpace, " ");
-
-
-const TInt KNominalTagLength = 256;
-const TInt KStartPosition = -1;
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/INC/GMXMLEntityConverter.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,91 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLENTITYCONVERTER_H__
-#define __GMXMLENTITYCONVERTER_H__
-
-#include <e32std.h>
-#include <txtetext.h>
-
-
-class CMDXMLEntityConverter: public CBase
-/**
- * This class represents a generic entity converter for an XML parser or composer.
- * It is responsible for converting entity references to text and vice-versa.
- * @publishedPartner
- * @released
- */
- {
-public:
- /**
- * Constructor
- */
- IMPORT_C CMDXMLEntityConverter();
-
- /** Destructor. */
- IMPORT_C virtual ~CMDXMLEntityConverter();
-
- /**
- * Takes a block of text and converts any entity references found to the
- * appropriate text. Because built-in and character entity references are
- * longer than the replacement text, this takes place in-situ.
- * @param aTextToConvert Text to be converted - replacement text goes
- * out in the same
- * @return Returns KErrNone if successful or no entity found
- * @return Returns KErrXMLBadEntity if malformed entity found
- */
- TInt EntityToTextL(TDes& aTextToConvert);
-
- /**
- * Outputs a block of text to a composer with offending characters replaced by
- * entity references.
- * @param aComposer the composer to be used for output
- * @param aTextToConvert The text to be converted.
- * @return Returns KErrNone if succcessful or a file write error
- * @leave can Leave due to OOM
- */
- IMPORT_C virtual TInt OutputComposedTextL( CMDXMLComposer* aComposer, const TDesC& aTextToConvert );
-
-protected:
- /**
- * DTD Specific entity to text converter
- * Takes a block of text and converts any entity references found to the
- * appropriate text. We hope that this can happen in-situ.
- * @param aTextToConvert Text to be converted - replacement text goes
- * out in the same
- * @return Returns KErrNone if successful or no entity found
- * @return Returns KErrXMLBadEntity if malformed entity found
- */
- virtual TInt DTDEntityToText(TDes& aTextToConvert);
-
-private:
- /**
- * Replaces the built in entity reference with its replacement text.
- * @param aTextToConvert An entity reference to convert. This should begin with &
- * and end with ;.
- * @return Returns KErrNone if successful
- * @return Returns KErrUnsupported if aTextToConvert contains no recognised entity references
- * @return Returns KErrOverflow or KErrGeneral if the character reference couldn't be parsed
- */
- TInt ConvertEntityRefL(TDes& aTextToConvert);
-
- };
-
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/INC/GMXMLFileDataSource.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// GMXMLFILEDDATASOURCE.H
-// This file contains the declaration of the specific CMDXMLParserFileDataSource class
-// which is used by the XML Parser when the file based API is used.
-//
-//
-
-/**
- @file
-*/
-
-
-#ifndef __GMXMLFILEDATASOURCE_H__
-#define __GMXMLFILEDATASOURCE_H__
-
-class CMDXMLParserFileDataSource : public CBase, public MMDXMLParserDataProvider
- {
-public:
- virtual void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus);
- virtual void Disconnect();
-
- /** Creates and Initialises the data provider with a specified XML file.
-
- @param aRFs File server session
- @param aFileToParse The file name to parse
- */
- static CMDXMLParserFileDataSource *NewL(RFs aRFs, const TDesC& aFileToParse);
- static CMDXMLParserFileDataSource *NewLC(RFs aRFs, const TDesC& aFileToParse);
-
- static CMDXMLParserFileDataSource* NewL(RFile& aFileHandleToParse);
-
- ~CMDXMLParserFileDataSource();
-
-private:
- CMDXMLParserFileDataSource();
-
- /** Second phase constructor.
- */
- void ConstructL(RFs aRFs, const TDesC& aFileToParse);
-
- void ConstructL(RFile& aFileHandleToParse);
-
-private:
-
- enum EInternalState
- {
- KInit = 0,
- KDataSent,
- KDone,
- KError
- };
-
- TInt iState;
- RFile iXMLFile;
- HBufC8* iXMLFileBuffer;
- };
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/INC/GMXMLParser.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,510 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the declaration of the generic CMDXMLParser class
-// which is responsible for creating a DOM structure
-// from a given XML file.
-//
-//
-
-/**
- @file
-*/
-
-#ifndef __GMXMLPARSER_H__
-#define __GMXMLPARSER_H__
-
-#include <e32std.h>
-#include <txtetext.h>
-#include <gmxmlconstants.h>
-#include <f32file.h>
-
-//forward reference
-class CMDXMLDocument;
-class CMDXMLEntityConverter;
-class CMDXMLElement;
-class MXMLDtd;
-
-
-
-class MMDXMLParserObserver
-/** Abstract observer interface for notification when XML parsing is complete.
-
-It should be implemented by users of CMDXMLParser
-@publishedAll
-@released*/
- {
-public:
- /**
- Call back function used to inform a client of the Parser when a parsing operation completes.
- */
- virtual void ParseFileCompleteL() = 0;
- };
-
-class MMDXMLParserDataProvider
-/** Abstract data source interface for XML data source.
-
-The user of CMDXMLParser must build one of these to encapsulate the data source
-that they wish to parse. CMDXMLParser implements a file-based data source to
-implement the functionality of the ParseFile function.
-
-@publishedAll
-@released*/
- {
-public:
- /** Status codes returned by GetData() implementations. */
- enum TDataProviderResults
- {
- KMoreData, //< Returned by the interface implementation when it is returning more data.
- KDataStreamError, //< Returned by the interface when an unrecoverable error prevents obtaining more data. A recoverable error should be represented by KDataNotReady.
- KDataStreamEnd //< Returned by the interface when there is no more data to come.
- };
-
-public:
- /**
- The XML Parser calls this on a specific data provider to get more data
- when required.
-
- Note that the TPtrC supplied may be used by the parser at any time
- between the return of this call and the next call that the parser
- makes out.
-
- Your data provider must not move the data pointed to until the
- parser has indicated that it's done with that block by asking for
- another.
-
- Ownership of the data pointed to remains with the data provider.
-
-
- General comments on efficiency
- ------------------------------
-
- The parser is designed such that it processes the whole data block
- provided in one go. It will automatically become asynchronous when
- another block is required - the data provider only needs to supply
- data.
-
- Because of this design, it allows the data provider to indirectly
- control the amount of processing time that will be needed
- in a single block.
-
- It is a good idea to balance the need for the fastest possible
- processing with the need for client application responsiveness by
- ensuring that the amount of data passed in a single block is not
- too large. However, it is worth bearing in mind that the parser
- will convert UTF8 data streams in blocks of 32 characters, and
- supplying blocks of smaller length than this will result in a
- slight loss of efficiency.
-
- @param aPtr On return, the data provided
- @param aStatus Asynchronous status to be completed by the function with a
- TDataProviderResults value
- */
- virtual void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus) = 0;
- /**
- Called to indicate that use of the data source is complete.
- */
- virtual void Disconnect() = 0;
- };
-
-class CMDXMLParserFileDataSource;
-
-class CMDXMLParser: public CActive
-/** Creates a DOM structure from a given XML file.
-
-The parsing operation is asynchronous and is initiated by a call to ParseFile().
-On completion, the created DOM document can be retrieved through DetachXMLDoc().
-
-Note the following ownership rules for the DOM document:
-
-1. calling DetachXMLDoc() transfers ownership of the document to the client
-
-2. if the parser is asked to parse a new file while it still owns an existing
-DOM document, it will delete the old document.
-
-@publishedAll
-@released
-*/
- {
-public:
- /** Allocates and constructs a new XML parser, specifying a DTD.
-
- @param aParserObserver XML parser observer
- @leave KErrNoMemory Out of memory
- @return New XML parser */
- IMPORT_C static CMDXMLParser* NewL(MMDXMLParserObserver* aParserObserver);
-
- /** Allocates and constructs a new XML parser, specifying a DTD.
-
- @param aParserObserver XML parser observer
- @param aDtdRepresentation DTD validator
- @leave KErrNoMemory Out of memory
- @return New XML parser */
- IMPORT_C static CMDXMLParser* NewL(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
-
- /** Allocates and constructs a new XML parser, leaving the object on the cleanup
- stack.
-
- @param aParserObserver XML parser observer
- @leave KErrNoMemory Out of memory
- @return New XML parser */
- IMPORT_C static CMDXMLParser* NewLC(MMDXMLParserObserver* aParserObserver);
-
- /** Allocates and constructs a new XML parser, leaving the object on the cleanup
- stack.
-
- @param aParserObserver XML parser observer
- @param aDtdRepresentation DTD validator
- @leave KErrNoMemory Out of memory
- @return New XML parser */
- IMPORT_C static CMDXMLParser* NewLC(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
-
-
- /** Destructor. */
- IMPORT_C ~CMDXMLParser();
-
- /** Gets the last error found by the parser.
-
- @return Error code
- */
- IMPORT_C TInt Error() const;
-
- /**
- Get the severity of the most severe error found.
- @return the maximum error severity
- */
- IMPORT_C TXMLErrorCodeSeverity ErrorSeverity() const;
-
- /** Gets the created DOM.
-
- This should be called after the conclusion of the parser process.
-
- Note that the function sets the internal variable pointing to the document
- to NULL, so this function can only be called once per file parse. The caller
- takes ownership of the document, and must delete it when its use is complete.
-
- @return The created DOM */
- IMPORT_C CMDXMLDocument* DetachXMLDoc();
-
- /** Parses a specified XML file into a DOM object tree.
-
- @param aRFs File server session
- @param aFileToParse The file name to parse
- @return KErrNone if success or a file read error code */
- IMPORT_C TInt ParseFile(RFs aRFs, const TDesC& aFileToParse);
-
- IMPORT_C TInt ParseFile(RFile& aFileHandleToParse);
-
- /** Parses a specified XML Data Source into a DOM object tree.
- Use ParseSourceL() function in preference to ParseSource()
- @param aSource MMDXMLParserDataProvider pointer
- */
- inline void ParseSource(MMDXMLParserDataProvider *aSource)
- {
- TRAP_IGNORE(ParseSourceL(aSource));
- }
-
- /** Parses a specified XML Data Source into a DOM object tree.
- @param aSource MMDXMLParserDataProvider pointer
- */
- IMPORT_C void ParseSourceL(MMDXMLParserDataProvider *aSource);
-
- /** Defines input stream character widths. */
- enum TMDXMLParserInputCharWidth
- {
- EAscii = 0x01, //< ASCII
- EUnicode = 0x02 //<Unicode
- };
-
- /** Sets the input stream character width.
- *
- * @param aWidth Character width for incoming stream. Possible values are EAscii and EUnicode (representing Ascii/UTF8 and Unicode respectively).
- *
- */
- IMPORT_C void SetSourceCharacterWidth(TMDXMLParserInputCharWidth aWidth);
-
- //Defect fix for INC036136- Enable the use of custom entity converters in GMXML
- /**
- * Sets the entity converter to be used for parsing.
- * and take ownership of the passed entity converter
- * @param aEntityConverter the entity converter to be used.
- */
- IMPORT_C void SetEntityConverter(CMDXMLEntityConverter* aEntityConverter);
- //End Defect fix for INC036136
-
- /**
- Controls whether invalid elements and attributes are added to the DOM.
- @param aStoreInvalid ETrue if invalid content should be stored, EFalse otherwise.
- */
- IMPORT_C void SetStoreInvalid(TBool aStoreInvalid);
-
- /**
- Controls whether whitespaces are handled by XML parser or by client.
- @param aPreserve ETrue if all whitespaces should be preserved (handled by client), EFalse otherwise.
- */
- IMPORT_C void SetWhiteSpaceHandlingMode(TBool aPreserve);
-
-public: // public functions used by other classes within the .dll, not for Export.
- /** Gets the entity converter.
-
- @return The entity converter */
- CMDXMLEntityConverter* EntityConverter();
-
-private:
- IMPORT_C virtual void DoCancel();
-
- /*
- * RunL function inherited from CActive base class - carries out the actual parsing.
- * @leave can Leave due to OOM
- */
- virtual void RunL();
-
- /*
- * Helper function that does the parsing - called from inside RunL
- */
- TBool DoParseLoopL();
-
- /*
- * RunError function inherited from CActive base class - intercepts any Leave from
- * the RunL() function, sets an appropriate errorcode and calls ParseFileCompleteL
- */
- IMPORT_C TInt RunError(TInt aError);
-
- /*
- * Constructors
- */
- CMDXMLParser(MMDXMLParserObserver* aParserObserver);
-
- CMDXMLParser(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
-
- /*
- * Called when a character is read in and found to bo outside of an element tag
- */
- virtual void HandleTextL(TDes& aChar);
-
- enum TGetCharReturn
- {
- KError = 0x00, // GetChar detected an error
- KCharReturned, // GetChar returned a character
- KWaitForChar // GetChar couldn't return a character this time, but might next time.
- };
-
- /*
- * Fetch one character from the input file
- * @param aChar the returned character.
- * @return returns one of the values of TCharReturn
- */
- TGetCharReturn GetChar(TDes& aChar);
-
- /* utility functions, called from GetChar to deal with the
- * 2 types of input stream
- */
- TGetCharReturn GetDoubleByteChar(TDes& aChar);
- TGetCharReturn GetSingleByteChar(TDes& aChar);
-
- /*
- * Fetch some more data from the data provider
- * @return returns one of the values of TCharReturn
- */
- void GetMoreData();
-
- /*
- * @return Returns true if the current tag is a doctype tag and sets the
- * Document DocType member accordingly on the first pass of this function.
- */
- TBool DocTypeL();
-
- /*
- * creates a new processing instruction if necessary and adds to document
- * @return Returns true if the current tag is a processing instruction
- */
- TBool ProcessingInstructionL(CMDXMLElement* aParentElement);
-
- /*
- * creates a new CDataSection if necessary and adds to document
- * @return Returns true if the current tag is a processing instruction
- */
- TBool CDataSectionL(CMDXMLElement* aParentElement);
- TBool EndOfCDataSection();
-
- /*
- * @return returns true if the current tag is a version id tag and sets the
- * Document Version member accordingly on the first pass of this function.
- */
- TBool VersionIDL();
-
- /*
- * creates a new comment if necessary and adds to document
- * @return returns true if the current tag is a comment tag
- */
- TBool CommentL(CMDXMLElement* aParentElement);
-
- /*
- * Parse a start of element tag and create an element with attributes set.
- * @return Returns a pointer to the created element
- * @leave can Leave due to OOM
- */
- virtual CMDXMLElement* ParseStartTagL();
-
- /*
- * Detects the type of a file - can be Unicode or UTF-8
- */
- TBool DetectFileType();
-
- /*
- * Creates a generic or DTD-specific document object
- * @leave can Leave due to OOM
- */
- virtual void CreateDocumentL();
-
- /*
- * Sets iError to new errorcode if more serious than any error so far encountered
- */
- IMPORT_C void SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity);
-
- /*
- * This function is used to parse the attributes.
- * @param aElement The element to which the attributes belong
- * @param aTagToParse The tag to be parsed
- * @return Returns KErrNone if both attribute name & value are valid
- * KErrXMLBadAttributeName if attribute name is invalid or KErrXMLBadAttributeValue is invalid
- * @leave can Leave due to OOM
- */
- TInt ParseElementAttributesL(CMDXMLElement& aElement, TDes& aTagToParse);
-
- /**
- This function locates the next attribute in the tag.
- @param aTagToParse the tag to find the attribute in
- @return the offset of the next attribute
- */
- TInt LocateNextAttribute(const TDesC& aTagToParse);
-
- /*
- * Parses an end tag. In fact, at this point the end tag must match
- * the tag name of the start tag.
- * @param aTagToParse Text of the end tag.
- * @return Returns KErrNone if the end tag matches the start tag or KErrNotFound if there is a mismatch.
- */
- TInt ParseElementEndTag(CMDXMLElement& aElement, const TDesC& aTagToParse);
-
- TInt CheckForStartCData(const TDesC& aTextToCheck);
- TInt FindDelimiter(TDesC& aDataToSearch, TDesC& aDelimiterToFind);
-
- /*
- * Second stage constructor
- */
- void ConstructL(MXMLDtd* aDtdRepresentation);
- void AddTextL(CMDXMLElement* aParentElement);
-
- /*
- * Checks whether the end of this tag is in a CDataSection.
- * @param aDataToSearch The data to check
- * @return Returns ETrue if the tag contains an unclosed CDataSection
- */
- TBool InCDataSection(TDesC& aDataToSearch);
-
- /*
- * Entity converts the sections of one attribute value that are not within a CDataSection.
- * @param aAttributeValue one attribute value
- * @return Returns an error if entity conversion did not successfully complete, otherwise KErrNone
- */
- TInt ParseSingleAttributeL(TDes& aAttributeValue);
-
- /*
- * Prepares this class for use on another file.
- *
- */
- void PrepareForReuseL();
-
- /**
- This should be called when parsing has been completed, before calling ParseFileCompleteL().
- It checks for errors that can only be determined at the end of parsing, eg missing doctype or
- incomplete content.
- */
- void CheckForErrors();
-
- IMPORT_C void PlaceholderForRemovedExport1(MMDXMLParserObserver* aParserObserver);
- IMPORT_C void PlaceholderForRemovedExport2(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
- IMPORT_C void PlaceholderForRemovedExport3();
-
-
-private:
- enum TPanicCode { ENullMemVarDataSource,
- ENullMemVarParserObserver,
- ENullMemVarXMLDoc,
- ENullMemVarElementTag,
- ENullParameterParentElement };
- void Panic(TPanicCode aReason) const;
-
-private:
- MMDXMLParserObserver* iParserObserver;
- MXMLDtd* iDtdRepresentation;
- TInt iError; // Current error
- TXMLErrorCodeSeverity iSeverity; // ErrorCode severity
- CMDXMLDocument* iXMLDoc; // Document created by the parser
- CMDXMLEntityConverter* iEntityConverter; // Entity converter used by the parser
- HBufC* iElementTag; // Currently processed element tag
- TBool iDocTypeSet;
- TBool iVersionSet;
- TInt iBytesPerChar;
-
- /* member variables dealing with access to source data */
- TPtrC8 iInputBufferPtr; // set during a call to get more data
- TInt iCurrentInputBufferLen; // current length of the data block available
- TInt iNextChar; // read position in the data block
- TInt iInputBytesRemaining; // number of bytes remaining to read.
- HBufC8 *iUTF8EdgeBuffer; // buffer to hold up to 6 bytes so that UTF8 parsing can span edges of data blocks
- HBufC8 *iBomBuffer; // buffer to hold data at the start of the stream so we may determine charset
- TInt iRequiredUTF8Bytes; // number of bytes required to complete the character held in the edge buffer
- TBool iUnicodeInputMisaligned; // Set to ETrue if the unicode input stream is not aligned to 16-bit boundaries
- MMDXMLParserDataProvider* iDataSource; // XML Data Source being parsed.
- CMDXMLParserFileDataSource* iFileSource; // We own this, and need to free it when we are done. Only used when we're providing the data source object to wrap a local file.
-
- /* member variables dealing with chunked conversion into unicode output */
- TBuf<32> iUnicodeConversion; // buffer to temporarily hold the results of conversion from UTF8 to Unicode
- TInt iUnicodeConversionLen; // number of characters stored in our intermediate buffer
- TInt iUnicodeReadPos; // next character to send from our intermediate buffer
- TBuf<1> iSpareChar;
-
- /* member variables used when parsing a local file */
- TDesC *iFileToParse;
- RFs iRFs;
- RFile iFileHandleToParse;
-
- TBool iEndOfTag;
-
- /* member variables used in DoParseLoopL() */
- TBool iOpened;
- TBool iClosed;
- CMDXMLElement* iNewElement;
- CMDXMLElement* iParentElement;
- HBufC* iText;
- enum EParserStates
- {
- KInitFromFile,
- KDetermineCharset,
- KWaitingForData,
- KParseData,
- KSpanDataGap,
- KFinished
- };
-
- EParserStates iState;
- EParserStates iPreviousState;
- TInt iSuspiciousCharacter;
- TBool iStoreInvalid; // controls whether invalid elements and attributes are stored in the DOM.
- TBool iPreserve;
-
- };
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/SRC/GMXMLComposer.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1201 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// GMXMLCOMPOSE.CPP
-// @file
-// This file contains the declaration of the generic CMDXMLComposer class
-// which is responsible for creating an XML file
-// from a given DOM structure.
-//
-//
-
-#include <f32file.h>
-#include <utf.h>
-
-#include <gmxmlconstants.h>
-#include <gmxmlnode.h>
-#include <gmxmldocument.h>
-#include <gmxmlelement.h>
-#include <gmxmlcomposer.h>
-#include <gmxmlentityconverter.h>
-#include <gmxmltext.h>
-#include <gmxmlprocessinginstruction.h>
-#include <gmxmlcomment.h>
-#include <gmxmlcdatasection.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-_LIT(KXmlQuotation, """);
-
-//
-// CMDXMLComposer //
-//
-
-CMDXMLComposer::CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver) : CActive(EPriorityNormal)
-//
-// Constructor
-//
- {
- iComposerObserver = aComposerObserver;
- iOutputProlog = ETrue;
- CActiveScheduler::Add(this);
- }
-
-CMDXMLComposer::CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog) : CActive(EPriorityNormal),
- iOutputProlog(aOutputProlog)
-//
-// Constructor
-//
- {
- iComposerObserver = aComposerObserver;
- CActiveScheduler::Add(this);
- }
-//==================================================================================
-
-EXPORT_C CMDXMLComposer::~CMDXMLComposer()
- {
- Cancel();
- delete iEntityConverter;
- delete iCharconv;
-
- iXMLFile.Close();
- }
-
-//==================================================================================
-
-void CMDXMLComposer::BaseConstructL()
- {
- iCharconv = CCnvCharacterSetConverter::NewL();
- iCharconv->SetDowngradeForExoticLineTerminatingCharacters(
- CCnvCharacterSetConverter::EDowngradeExoticLineTerminatingCharactersToJustLineFeed);
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLComposer* CMDXMLComposer::NewL(MMDXMLComposerObserver* aComposerObserver)
-//
-// Two phase static factory function constructor
-// @param aEntityStrings the string table which lists the entity references and conversion
-// @return Created CMDXMLComposer
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComposer* self = NewLC(aComposerObserver);
- CleanupStack::Pop(self);
- return self;
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLComposer* CMDXMLComposer::NewL(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog)
-//
-// Two phase static factory function constructor
-// @param aEntityStrings the string table which lists the entity references and conversion
-// @param aOutputProlog Whether the Doctype and Version tags should be output. This is
-// provided for MMS conformance.
-// @return Created CMDXMLComposer
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComposer* self = NewLC(aComposerObserver, aOutputProlog);
- CleanupStack::Pop(self);
- return self;
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLComposer* CMDXMLComposer::NewLC(MMDXMLComposerObserver* aComposerObserver)
-//
-// Two phase static factory function constructor
-// @param aEntityStrings the string table which lists the entity references and conversion
-// @return Created CMDXMLComposer
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComposer* self = new (ELeave) CMDXMLComposer(aComposerObserver);
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLComposer* CMDXMLComposer::NewLC(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog)
-//
-// Two phase static factory function constructor
-// @param aEntityStrings the string table which lists the entity references and conversion
-// @param aOutputProlog Whether the Doctype and Version tags should be output. This is
-// provided for MMS conformance.
-// @return Created CMDXMLComposer
-// @leave can Leave due to OOM
-//
- {
- CMDXMLComposer* self = new (ELeave) CMDXMLComposer(aComposerObserver, aOutputProlog);
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-//==================================================================================
-
-void CMDXMLComposer::ConstructL()
-//
-// Second stage constructor
-// @param aEntityStrings the string table which lists the entity references and conversion
-//
- {
- BaseConstructL();
- CMDXMLEntityConverter* entityConverter = new(ELeave) CMDXMLEntityConverter();
- SetEntityConverter(entityConverter);
- }
-
-
-//==================================================================================
-
-void CMDXMLComposer::InitialiseCompose(CMDXMLDocument* aDocument, TXMLFileType aFileType)
- {
- Cancel();
-
- iError = KErrNone;
- iSeverity = EXMLNone;
- iOutputBuffer.Zero();
-
- iXMLDoc = aDocument;
- iFileType = aFileType;
-
- iOnlyCalculatingSize = EFalse;
- iSizeTally = 0;
- }
-
-EXPORT_C TInt CMDXMLComposer::ComposeFile(RFs aRFs, const TDesC& aFileToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType)
-/** Starts file composition.
-
-This function can not be called if there is an outstanding size calculation or compose
-operation in progress. If it is necessary to run two asynchronous operations in parallel
-then two instances of the CMDXMLComposer are needed.
-
-@param aRFS File system to use
-@param aFileToCompose Name of file to create
-@param aDocument The document object to compose to the file
-@return KERRNone if successful
-**/
- {
- InitialiseCompose(aDocument, aFileType);
- iRFs = aRFs;
- TInt error = KErrNone;
-
- if(iXMLDoc == NULL)
- {
- error = KErrNotSupported;
- }
- else
- {
- switch(iFileType)
- {
- case EAscii:
- {
- error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
- break;
- }
- case EUnicode:
- error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
- if(error == KErrNone)
- {
- // append Unicode File identifier to start of output text
- iOutputBuffer.Append(CEditableText::EByteOrderMark);
- }
- break;
- case EUtf8:
- {
- error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
- break;
- }
- default:
- error = KErrNotSupported;
- break;
- }
- }
-
- if(error == KErrNone)
- {
- SetActive();
- TRequestStatus* s=&iStatus;
- User::RequestComplete(s, KErrNone);
- }
- else
- {
- SetError(error, EXMLFatal);
- }
-
- return error;
- }
-
-/** Starts file composition to an open file handle.
-
-This function must not be called when file sizing is in progress. If it is necessary to calulate
-the size and generate the XML simultaneously then two instances of the composer should be used,
-one for sizing and one for composition.
-
-@param aFileHandleToCompose An open file handle to write to. Ownership of the file handle is passed even if an error occurs.
-@param aDocument The document object to compose to the file.
-@param aFileType Type of the output file.
-@return KErrNone if successful.
-*/
-EXPORT_C TInt CMDXMLComposer::ComposeFile(RFile& aFileHandleToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType)
- {
- InitialiseCompose(aDocument, aFileType);
- iXMLFile = aFileHandleToCompose;
- TInt error = KErrNone;
-
- if(iXMLDoc == NULL)
- {
- error = KErrNotSupported;
- }
- else
- {
- switch(iFileType)
- {
- case EUnicode:
- {
- // append Unicode File identifier to start of output text
- iOutputBuffer.Append(CEditableText::EByteOrderMark);
- }
- case EAscii:
- case EUtf8:
- break;
-
- default:
- error = KErrNotSupported;
- break;
- }
- }
-
- if(error == KErrNone)
- {
- iStatus = KRequestPending;
- SetActive();
- TRequestStatus* s=&iStatus;
- User::RequestComplete(s, KErrNone);
- }
- else
- {
- iXMLFile.Close();
- SetError(error, EXMLFatal);
- }
-
- return error;
- }
-
-//==================================================================================
-
-/** Starts calculating the size of the XML output without actually writing it to the file.
-
-This process is asyncronous, the size value is only updated when ComposeFileComplete
-is called on the MMDXMLComposerObserver passed in in the NewL.
-
-This function can not be called if there is an outstanding size calculation or compose
-operation in progress. If it is necessary to run two asynchronous operations in parallel
-then two instances of CMDXMLComposer are needed.
-
-@param aSize Will be set to the size of the XML document when composition has completed.
-@param aDocument The document object to size
-@param aFileType Type of the output file, required because it will affect the size of the XML
-@return KErrNone if successful */
-
-EXPORT_C TInt CMDXMLComposer::CalculateFileSize(TInt& aSize, CMDXMLDocument* aDocument, TXMLFileType aFileType)
- {
- Cancel();
-
- iError = KErrNone;
- iSeverity = EXMLNone;
- iOutputBuffer.Zero();
-
- iXMLDoc = aDocument;
- iFileType = aFileType;
- TInt error = KErrNone;
-
- if (iFileType == EUnicode)
- {
- // The size tally must be incremented by two characters because the unicode byte marker
- // gets added in the ComposeFile function that does not get called when we are calculating
- // the size.
- iSizeTally = 2;
- }
- else
- {
- iSizeTally = 0;
- }
-
- iSize = &aSize;
- iOnlyCalculatingSize = ETrue;
-
- if(iXMLDoc == NULL)
- {
- error = KErrNotSupported;
- }
-
- if(error == KErrNone)
- {
- SetActive();
- TRequestStatus* s=&iStatus;
- User::RequestComplete(s, KErrNone);
- }
- else
- {
- SetError(error, EXMLFatal);
- }
-
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLComposer::Error() const
- {
- return iError;
- }
-
-//==================================================================================
-
-EXPORT_C TXMLErrorCodeSeverity CMDXMLComposer::ErrorSeverity() const
- {
- return iSeverity;
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLEntityConverter* CMDXMLComposer::EntityConverter() const
- {
- return iEntityConverter;
- }
-
-//==================================================================================
-
-TInt CMDXMLComposer::OutputCommentL(const TDesC& aComment)
-//
-// Output a comment
-// @param aComment the comment text to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KNewLine);
- }
-
-#ifdef _DEBUG
- for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
- {
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KTab);
- }
- }
-#endif
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLStartComment);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aComment);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLEndComment);
- }
-
- return error;
- }
-
-//==================================================================================
-
-TInt CMDXMLComposer::OutputProcessingInstructionL(const TDesC& aInstruction)
-//
-// Output a Processing Instruction
-// @param aInstruction the Processing Instruction text to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KNewLine);
- }
-
-#ifdef _DEBUG
- for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
- {
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KTab);
- }
- }
-#endif
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLStartProcessingInstruction);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aInstruction);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLEndProcessingInstruction);
- }
-
- return error;
- }
-
-
-//==================================================================================
-
-TInt CMDXMLComposer::OutputCDataSectionL(const TDesC& aCDataSection)
-//
-// Output a CDataSection
-// @param aCDataSection the data section text to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
-#ifdef _DEBUG
- for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
- {
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KTab);
- }
- }
-#endif
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLStartCDataSection);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aCDataSection);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLEndCDataSection);
- }
-
- return error;
- }
-
-//==================================================================================
-//Defect fix for INC036136- Enable the use of custom entity converters in GMXML
-
-EXPORT_C TInt CMDXMLComposer::OutputDataL(const TDesC& aData)
-//
-// Output raw data
-// it's only intended to be used from within a custom entity converter as
-// it relies on a Composer sesssion already being in progress
-// @param the data to be output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
- if(iSeverity != EXMLFatal)
- {
- if(aData.Find(KQuotation) != KErrNotFound)
- {
- error = ReplaceXmlCharactersL(aData, KQuotation);
- }
- else
- {
- error = WriteFileL(aData);
- }
- }
-
- return error;
- }
-
-//==================================================================================
-/* Before writing to xml file, search for special character like quotation (").
- if it exist then replace it with " and then write it to xml file.
- Refer section 5 of below URL for more information.
- http://www.xmlnews.org/docs/xml-basics.html
- @param aXmlData the data to be output
- @param aString the special character to search in aXmlData
- @return KERRNone if successful, otherwise a file writing error. */
-
-TInt CMDXMLComposer::ReplaceXmlCharactersL(const TDesC16& aXmlData, const TDesC& aString)
- {
- TInt xmlDataIndex;
- const TDesC& quot = KXmlQuotation;
- HBufC16* xmlData = aXmlData.AllocL();
-
- while((xmlDataIndex = (xmlData->Des()).Find(aString)) != KErrNotFound)
- {
- HBufC16* temp = HBufC::NewLC(((xmlData->Des()).Length() - 1) + quot.Length());
- TPtr16 tempPtr = temp->Des();
- tempPtr.Append((xmlData->Des()).Left(xmlDataIndex));
- tempPtr.Append(quot);
- tempPtr.Append((xmlData->Des()).Right((xmlData->Des()).Length() - (xmlDataIndex + 1)));
- delete xmlData;
- xmlData = NULL;
- xmlData = tempPtr.AllocL();
- CleanupStack::PopAndDestroy(); // temp
- }
- TInt error = WriteFileL((xmlData->Des()));
- delete xmlData;
- xmlData = NULL;
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C void CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter* aEntityConverter)
-/*
- * Sets the entity converter to be used
- * and take ownership of the passed entity converter
- * @param aEntityConverter The entity converter to be used
- */
- {
- delete iEntityConverter;
- iEntityConverter = aEntityConverter;
- }
-
-//End Defect fix for INC036136
-//==================================================================================
-
-EXPORT_C TInt CMDXMLComposer::OutputStartOfElementTagL(const TDesC& aElementName)
-//
-// Output a start of element tag
-// @param aElementName the name of the tag to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
-#ifdef _DEBUG
- for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
- {
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KTab);
- }
- }
- iIndentationLevel++;
-#endif
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLStartTag);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aElementName);
- }
-
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLComposer::OutputEndOfElementTagL(const TBool aHasChildren)
-//
-// Output an end of element start tag
-// @param aHasChildren true if the element has children
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
- if(iSeverity != EXMLFatal)
- {
- if(aHasChildren)
- {
- error = WriteFileL(KXMLEndTag);
- }
- else
- {
- error = WriteFileL(KXMLEndStartTag);
-
- #ifdef _DEBUG
- iIndentationLevel--;
- #endif
- }
- }
-
- return error;
- }
-
-//==================================================================================
-
-TInt CMDXMLComposer::OutputEndTagL(const TDesC& aElementName)
-//
-// Output an end of element tag
-// @param aElementName the name of the tag to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
-#ifdef _DEBUG
- iIndentationLevel--;
- for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
- {
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KTab);
- }
- }
-#endif
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLStartEndTag);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aElementName);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KXMLEndTag);
- }
-
- return error;
- }
-
-
-
-
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLComposer::OutputAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue)
-//
-// Output an attribute - name and value.
-// @param aAttributeName the name of the attribute to output
-// @param aAttributeValue the text of the attribute value to output
-// @return KERRNone if successful, otherwise a file writing error.
-//
- {
- TInt error = KErrNone;
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KSingleSpace);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(aAttributeName);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KEqualSign);
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KQuotation);
- }
-
- if(iSeverity != EXMLFatal)
- {
- // Work along the attribute value in sections. We have two markers in the attribute,
- // one at the beginning of the section we're working on and one at the end. Initially
- // beginSection is the start of the string, 0, the end of the section is the first
- // CDataSection we find.
- // beginSection is an offset within the string, endSection is an offset from that
- TInt beginSection = 0;
- TInt endSection = aAttributeValue.Find(KXMLStartCDataSection);
-
- // We've found at least one CDataSection
- while(endSection != KErrNotFound)
- {
- // Entity convert this plain text section
- TPtrC plainText = aAttributeValue.Mid(beginSection, endSection);
- error = iEntityConverter->OutputComposedTextL(this, plainText);
-
- // Move on our markers. We start the new section at the end of the old one.
- beginSection += endSection;
- // The end of this section is the end of the CDataSection
- endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLEndCDataSection);
- if(endSection != KErrNotFound)
- {
- // The CDataSection ends at the beginning of the end tag, so we need to add
- // on the length of the end tag before outputting it without conversion
- endSection += TPtrC(KXMLEndCDataSection).Length();
- OutputDataL(aAttributeValue.Mid(beginSection, endSection));
-
- // Now move on our markers again. Start at the end of the CDataSection, and
- // continue to the beginning of the next one.
- beginSection += endSection;
- endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLStartCDataSection);
- }
- else
- {
- // There's an unterminated CDataSection in our attribute
- error = KErrXMLBadAttributeValue;
- }
- }
-
- // There are no more CDataSections, entity convert the rest of the string
- if(!error)
- {
- error = iEntityConverter->OutputComposedTextL(this, aAttributeValue.Mid(beginSection));
- }
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = WriteFileL(KQuotation);
- }
-
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLComposer::RunError(TInt aError)
-//
-// RunError function inherited from CActive base class - intercepts any Leave from
-// the RunL() function, sets an appropriate errorcode and calls ComposeFileCompleteL
-//
- {
- iSeverity = EXMLFatal;
- iError = aError;
- iXMLFile.Close();
- TRAPD(err, iComposerObserver->ComposeFileCompleteL());
- return err;
- }
-
-//==================================================================================
-
-EXPORT_C void CMDXMLComposer::DoCancel()
-//
-// DoCancel function inherited from CActive base class
-//
- {
- iXMLFile.Close();
- }
-
-//==================================================================================
-
-void CMDXMLComposer::RunL()
-//
-// RunL function inherited from CActive base class - does the actual composition
-// @leave can Leave due to OOM
-//
- {
- // If this is an ASCII file then check that we can load the character set converter
- if(iSeverity != EXMLFatal)
- {
- if(iFileType == EAscii)
- {
- if (iCharconv->PrepareToConvertToOrFromL(KCharacterSetIdentifierAscii, iRFs)!=
- CCnvCharacterSetConverter::EAvailable)
- {
- SetError( KErrNotSupported, EXMLFatal);
- }
- }
- }
-
- if(iSeverity != EXMLFatal)
- {
- #ifdef _DEBUG
- iIndentationLevel = 0;
- #endif
-
- CMDXMLElement* parentElement = iXMLDoc->DocumentElement();
-
- TInt error = KErrNone;
-
- if(!parentElement->CheckChildren())
- {
- error = KErrNotSupported;
- SetError(KErrXMLInvalidChild, EXMLWorkable);
- }
-
- if(iOutputProlog)
- {
- // Output document level information if required. MMS conformance requires no Version
- // or DocType tag, so we may not want to output them.
- if(iSeverity != EXMLFatal)
- {
- WriteFileL(iXMLDoc->VersionTag());
- }
- if(iSeverity != EXMLFatal)
- {
- WriteFileL(KNewLine);
- }
- if(iSeverity != EXMLFatal)
- {
- WriteFileL(iXMLDoc->DocTypeTag());
- }
- if(iSeverity != EXMLFatal)
- {
- WriteFileL(KNewLine);
- }
- }
-
- // Output the contents of the DOM tree
- if(iSeverity != EXMLFatal)
- {
- error = ComposeL();
- if(iSeverity != EXMLFatal)
- {
- if(error != KErrNone)
- {
- SetError(error, EXMLIndeterminate);
- }
-
- WriteFileL(KNewLine);
- }
- }
-
- if(iSeverity != EXMLFatal)
- {
- error = FlushOutputBufferL();
-
- if(error != KErrNone)
- {
- SetError(error, EXMLIndeterminate);
- }
- }
- }
-
- iXMLFile.Close();
-
- if (iOnlyCalculatingSize)
- {
- *iSize = iSizeTally;
- }
-
- iComposerObserver->ComposeFileCompleteL();
- }
-
-
-TInt CMDXMLComposer::ComposeL()
-//
-// Function to output the contents of the node as XML to some output stream.
-// @param aComposer The composer to use - provides access to output and entity conversion
-// @return Returns KerrNone if successful or a file write error
-// @leave Can Leave due to OOM.
-//
- {
- CMDXMLNode* nextPtr;
- TInt error = KErrNone;
- nextPtr = iXMLDoc->DocumentElement()->FirstChild();
-
-
- while(error == KErrNone && nextPtr != NULL)
- {
- // compose the start tag of the current element
- error = ComposeStartTagL(*nextPtr);
-
- if(error == KErrNone)
- {
- // move to the first child is there is one
- if(nextPtr->FirstChild() != NULL)
- {
- nextPtr = nextPtr->FirstChild();
- }
- else
- {
- // EndTag is only output if HasChildNodes() == TRUE
- error = ComposeEndTagL(*nextPtr);
-
- // move to the next sibling if exists
- if(nextPtr->NextSibling() != NULL)
- {
- nextPtr = nextPtr->NextSibling();
- }
-
- // no siblings, move back to parent and close parent tag
- else
- {
- // might need to go up several layers so WHILE rather than IF
- while(nextPtr != NULL && nextPtr->NextSibling() == NULL && error == KErrNone)
- {
- nextPtr = nextPtr->ParentNode();
- if(nextPtr != NULL)
- {
- error = ComposeEndTagL(*nextPtr);
- }
- }
-
- // if we've stopped at an element with further siblings
- if(nextPtr != NULL && nextPtr->NextSibling() != NULL)
- {
- nextPtr = nextPtr->NextSibling();
- }
- }
- }
- }
- }
-
- return error;
- }
-
-
-EXPORT_C TInt CMDXMLComposer::ComposeStartTagL(CMDXMLNode& aNode)
- //
- // Outputs a start tag for the node which includes the
- // tag name and all attribute name value pairs currently
- // specified. If the node is an empty node then it
- // makes the tag an empty node tag, otherwise it creates
- // a start tag.
- // @param aNode The Node for which the start tag is being written
- // @return Returns KerrNone if successful or a file write error
- //
- {
- TInt error = KErrNone;
-
- switch (aNode.NodeType())
- {
- case CMDXMLNode::ETextNode:
- error = iEntityConverter->OutputComposedTextL(this, ((CMDXMLText&)aNode).Data());
- break;
- case CMDXMLNode::ECDATASectionNode:
- error = OutputCDataSectionL(((CMDXMLCDATASection&)aNode).Data());
- // does nothing
- break;
- case CMDXMLNode::EProcessingInstructionNode:
- error = OutputProcessingInstructionL(((CMDXMLProcessingInstruction&)aNode).Data());
- break;
- case CMDXMLNode::ECommentNode:
- error = OutputCommentL(((CMDXMLComment&)aNode).Data());
- break;
- case CMDXMLNode::EDocumentNode:
- // does nothing
- break;
- case CMDXMLNode::EElementNode:
- error = OutputStartOfElementTagL(aNode.NodeName());
- TInt attIndex;
- // Output all attributes in a loop
- for(attIndex = 0 ; (error == KErrNone && attIndex < ((CMDXMLElement&)aNode).NumAttributes()); attIndex ++ )
- {
- TPtrC attributeValue;
- TPtrC attributeName;
- error = ((CMDXMLElement&)aNode).AttributeDetails(attIndex, attributeName, attributeValue);
- if(error == KErrNone)
- error = OutputAttributeL(attributeName, attributeValue);
- }
-
-
- if( error == KErrNone )
- {
- error = OutputEndOfElementTagL(aNode.HasChildNodes());
- }
- break;
- default:
- // does nothing
- break;
-
-
- }
-
- return error;
- }
-
-EXPORT_C TInt CMDXMLComposer::ComposeEndTagL(CMDXMLNode& aNode)
-//
-// Outputs an end tag for the node.
-// @param aNode the node for which the tag is being written.
-// @return Returns KerrNone if successful or a file write error
-//
- {
- TInt error = KErrNone;
-
- if (aNode.NodeType() == CMDXMLNode::EElementNode && aNode.NodeName() != KXMLDocumentElementNodeName)
- {
- if(aNode.HasChildNodes())
- {
- error = OutputEndTagL(aNode.NodeName());
- }
- }
-
-
- return error;
- }
-
-//==================================================================================
-
-TInt CMDXMLComposer::WriteFileL(const TDesC& aStringToWrite)
-//
-// Function to write string to required file format - handles format conversion
-// @param aStringToWrite the string to output
-// @return returns KERRNone if successful or a file write error.
-//
- {
- TInt error = KErrNone;
- TInt outputBufferLength = iOutputBuffer.Length();
- TInt additionalLength = aStringToWrite.Length();
-
- if(outputBufferLength + additionalLength <= KWriteBufferLen)
- {
- iOutputBuffer.Append(aStringToWrite);
- }
- else
- {
- iOutputBuffer.Append(aStringToWrite.Left(KWriteBufferLen - outputBufferLength));
- error = FlushOutputBufferL();
- iOutputBuffer.Zero();
- WriteFileL(aStringToWrite.Right(additionalLength - (KWriteBufferLen - outputBufferLength)));
- }
-
- return error;
- }
-
-//==================================================================================
-#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
-
-TInt CMDXMLComposer::FlushOutputBufferL()
-//
-// Function to write string to required file format - handles format conversion
-// @param aStringToWrite the string to output
-// @return returns KERRNone if successful or a file write or conversion error.
-//
- {
- TInt error = KErrNone;
-
- if (!iOnlyCalculatingSize)
- {
- if(iXMLFile.SubSessionHandle() == KNullHandle)
- {
- return KErrBadHandle;
- }
- }
-
- // All text is processed internally as unicode. If we've been asked to output
- // another format (Ascii or Utf-8) we need to translate it to that format using
- // charconv before writing the file.
- switch(iFileType)
- {
- case EAscii:
- case EUtf8:
- {
- // We need to convert in a loop as charconv only allows 25 untranslatable
- // characters per block of text. convResult tells us how many characters
- // were left untranslated at the end of iOutputBuffer so we only look at
- // that many characters on the right hand of iOutputBuffer. Initially we
- // don't have any characters translated so convResult is the length of
- // iOutputBuffer. Each time through the loop write out the chunk we've
- // converted. If there's an error writing the file or doing the character
- // conversion we give up.
- TInt convResult = iOutputBuffer.Length();
- while((convResult > 0) && (error == KErrNone))
- {
- HBufC8* narrow = HBufC8::NewLC(convResult);
- TPtr8 narrowPtr = narrow->Des();
- if(iFileType == EAscii)
- {
- convResult = iCharconv->ConvertFromUnicode(narrowPtr, iOutputBuffer.Right(convResult));
- }
- else // iFileType == EUtf8
- {
- convResult = CnvUtfConverter::ConvertFromUnicodeToUtf8(narrowPtr, iOutputBuffer.Right(convResult));
- }
-
- if(convResult >= 0)
- {
- iSizeTally += narrow->Size();
-
- if (!iOnlyCalculatingSize)
- {
- error = iXMLFile.Write(narrow->Des());
- }
- }
- else
- {
- error = convResult;
- }
- CleanupStack::PopAndDestroy(narrow);
- }
- break;
- }
-
- case EUnicode:
- {
- TPtrC output16 = iOutputBuffer;
- TPtrC8 output = DES_AS_8_BIT(output16);
-
- iSizeTally += output.Size();
-
- if (!iOnlyCalculatingSize)
- {
- error = iXMLFile.Write(output);
- }
-
- break;
- }
-
- default:
- error = KErrNotSupported;
- break;
- }
-
- if(error != KErrNone)
- {
- SetError(error, EXMLFatal);
- }
-
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C void CMDXMLComposer::SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity)
-//
-// Sets iError to new errorcode if more serious than any error so far encountered
-//
- {
- if(iSeverity > aSeverity)
- {
- iSeverity = aSeverity;
- iError = aErrorCode;
- }
- }
-
-EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver* /*aComposerObserver*/)
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport2()
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport3()
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-// End of File
--- a/xml/legacyminidomparser/XMLParser/SRC/GMXMLEntityConverter.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,293 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// MDXMLEntityConverter.cpp
-// @file
-// This class represents a generic entity converter for an XML parser or composer.
-//
-//
-
-#include <f32file.h>
-#include <stringpool.h>
-
-#include <gmxmlconstants.h>
-#include <gmxmlcomposer.h>
-#include <gmxmlentityconverter.h>
-#include "xmlentityreferences.h"
-
-const TInt KMaxBuiltinEntityLength = 20;
-
-//
-// CMDXMLEntityConverter //
-//
-
-EXPORT_C CMDXMLEntityConverter::CMDXMLEntityConverter()
-//
-// Constructor
-//
- {
- }
-
-EXPORT_C CMDXMLEntityConverter::~CMDXMLEntityConverter()
- {
- }
-
-//==================================================================================
-
-TInt CMDXMLEntityConverter::EntityToTextL(TDes& aTextToConvert)
-//
-// Takes a block of text and converts any entity references found to the
-// appropriate text. Because built-in and character entity references are
-// longer than the replacement text, this takes place in-situ.
-// @param aTextToConvert Text to be converted - replacement text goes
-// out in the same
-//
- {
- TInt error = KErrNone;
- TInt beginEntityOffset = 0;
- TInt beginSearchOffset = 0;
- TPtrC searchPtr = TPtrC(aTextToConvert);
-
- // Need to convert all entity refs in this bit of data. Don't want to convert
- // things more than once so we keep a marker and move it on so each time round
- // the loop we start looking for entity references after the end of the previous
- // one.
- while((beginEntityOffset = searchPtr.Locate('&')) != KErrNotFound)
- {
- searchPtr.Set(aTextToConvert.Mid(beginSearchOffset + beginEntityOffset));
- TInt endEntityOffset = searchPtr.Locate(';');
- if(endEntityOffset == KErrNotFound)
- {
- // No point continuing past here - even if we find more & they can't be
- // terminated either.
- error = KErrXMLBadEntity;
- break;
- }
- endEntityOffset += beginEntityOffset;
- // Can't construct a modifiable descriptor that's just part of another one. Looks
- // like we need to copy the section containing the reference and twiddle that, then
- // copy the result back if it's valid.
- HBufC* entityRef = searchPtr.Mid(0, (endEntityOffset - beginEntityOffset)+1).AllocLC();
- TInt convertErr = KErrNone;
- TPtr entityRefDes = entityRef->Des();
- if((convertErr = ConvertEntityRefL(entityRefDes)) == KErrNotSupported)
- {
- convertErr = DTDEntityToText(entityRefDes);
- }
-
- if(!convertErr)
- {
- // We need to replace this section of aTextToConvert with entityRefDes
- // we don't know whether DTDEntityToText has actually changed anything -
- // because of constraints on the published behaviour of DTDEntityToText we
- // can't compel DTDEntityToText to return KErrUnsupported - it thinks it
- // could be dealing with multiple entity refs and just cos it doesn't support
- // one of them doesn't mean it doesn't support the rest. Probably true that
- // the entity ref will be a builtin, so won't need to call DTDEntityToText
- // anyway. ConvertEntityRefL will return KErrNone only if it converted so
- // we probably won't be copying things gratuitously in the common case.
- aTextToConvert.Replace(beginEntityOffset + beginSearchOffset, (endEntityOffset - beginEntityOffset)+1, entityRefDes);
- }
- else
- {
- error = KErrXMLBadEntity;
- }
-
- beginSearchOffset += beginEntityOffset + entityRefDes.Length();
- searchPtr.Set(aTextToConvert.Mid(beginSearchOffset));
- CleanupStack::PopAndDestroy(entityRef);
- }
-
- return error;
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLEntityConverter::OutputComposedTextL( CMDXMLComposer* aComposer, const TDesC& aTextToConvert)
-//
-// Outputs a block of text to a composer with offending characters replaced by
-// entity references.
-// @param aComposer the composer to be used for output
-// @param aTextToConvert The text to be converted.
-// @return Returns KErrNone if successful or a file write error
-// @leave can Leave due to OOM
-//
- {
- TBuf<1> oneChar;
- TInt offset = 0;
- TInt error = KErrNone;
- TInt textLen = aTextToConvert.Length();
-
- while(error == KErrNone && (offset < textLen))
- {
- oneChar = aTextToConvert.Mid(offset, 1);
- offset++;
-
- // Built in entities
- RStringPool pool;
- CleanupClosePushL(pool);
- pool.OpenL(XMLEntityReferences::Table);
-
-
- TBool found = EFalse;
- for (TUint i=0; i<XMLEntityReferences::Table.iCount; i++)
- {
- RStringF entity = pool.StringF(i, XMLEntityReferences::Table);
- TBuf<KMaxBuiltinEntityLength> buf;
- buf.Copy(entity.DesC());
- TLex string(buf);
-
- TPtrC entityRef = string.NextToken();
- if(oneChar.Compare(string.NextToken()) == 0)
- {
- error = aComposer->OutputDataL(entityRef);
- found = ETrue;
- break;
- }
-
- }
-
- CleanupStack::PopAndDestroy(); // close pool
-
- if(!found)
- error = aComposer->OutputDataL(oneChar);
- else
- found = EFalse;
-
- }
-
- return error;
- }
-
-//==================================================================================
-
-TInt CMDXMLEntityConverter::DTDEntityToText(TDes& /*aTextToConvert*/)
-//
-// DTD Specific entity to text converter
-// Takes a block of text and converts any entity references found to the
-// appropriate text. We hope that this can happen in-situ.
-// @param aTextToConvert Text to be converted - replacement text goes
-// out in the same
-//
- { // Nothing in the generic case.
- return KErrNone;
- }
-
-//==================================================================================
-
-TInt CMDXMLEntityConverter::ConvertEntityRefL(TDes& aTextToConvert)
- {
-#ifdef _DEBUG
- _LIT(KEntityConverter, "GMXML Entity Converter");
- __ASSERT_ALWAYS(aTextToConvert.Length() > 1, User::Panic(KEntityConverter, KErrArgument));
-#endif
-
- TInt err = KErrNotSupported;
- TBool charRef = EFalse;
- TInt idLen = 0;
- TRadix elementRadix = EDecimal;
-
- if(aTextToConvert.Find(KXMLHexidecimalId) != KErrNotFound)
- {
- charRef = ETrue;
- idLen = TPtrC(KXMLHexidecimalId).Length();
- elementRadix = EHex;
- }
- else if(aTextToConvert.Find(KXMLDecimalId) != KErrNotFound)
- {
- charRef = ETrue;
- idLen = TPtrC(KXMLDecimalId).Length();
- elementRadix = EDecimal;
- }
-
- if(charRef)
- {
- // Character entities
- /*
- algorithm explanation:
- The entity reference in the descriptor holding the string is known by it's positions.
- offset = offset to beginning of '&#x' from start of supplied descriptor. (0 indicates start of descriptor)
- entitylen = offset to ';' character from the start of the entity reference.
-
- the length of the entity preamble (&#x in this case) is known.
-
- The algorithm assigns the required portion of the descriptor to a TLex16 object so that the
- value of the code can be read out.
-
- The math for the assign is as follows:
- start of number = offset + length of preamble
- num of characters to take = entityLen - length of preamble
-
- The entity is then deleted from the string, and the new code is inserted in the
- correct location.
- The deleted characters are 'entityLen' charcters from 'offset'.
-
-
- e.g. for the string <a href="http://www.symbian.com">
-
- offset = 16
- entitylen = 5
- string assigned to lexer = '77'
- code = 0x77 (extracted from lexer)
-
- descriptor after delete operation:
-
- <a href="http://&ww.symbian.com">
-
- array dereference fills in the descriptor such that the ampersand is replaced.
- <a href="http://www.symbian.com">
- */
- TInt entityLen = aTextToConvert.Length();
-
- TLex16 element;
- element.Assign(aTextToConvert.Mid(idLen, (entityLen - idLen)));
-
- TUint16 code;
- err = element.Val(code, elementRadix);
-
- if(!err)
- {
- aTextToConvert.Delete(1, entityLen);
- aTextToConvert[0] = code;
- }
- }
- else
- {
- // Built in entities
- RStringPool pool;
- CleanupClosePushL(pool);
- pool.OpenL(XMLEntityReferences::Table);
-
-
- for (TUint i=0; (i<XMLEntityReferences::Table.iCount) && (err != KErrNone); i++)
- {
- RStringF entity = pool.StringF(i, XMLEntityReferences::Table);
- TBuf<KMaxBuiltinEntityLength> buf;
- buf.Copy(entity.DesC());
- TLex string(buf);
-
- TPtrC token = string.NextToken();
- TInt offset;
- if((offset = aTextToConvert.Find(token)) != KErrNotFound)
- {
- aTextToConvert.Replace(offset, token.Length(), string.NextToken());
- err = KErrNone;
- }
- }
- CleanupStack::PopAndDestroy(); //close pool
- }
-
- return err;
- }
-
-// End Of File
--- a/xml/legacyminidomparser/XMLParser/SRC/GMXMLFileDataSource.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,138 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file
-// This file contains the definition of the CMDXMLParserFileDataSource class
-// which is responsible for feeding the data source interface from a given XML file.
-// The headers for this class exist in the XMLParser.h header file so that the old
-// file-based interface can be implemented using the data source API without removing
-// source compatibility for older code.
-//
-//
-
-
-#include <f32file.h>
-#include <gmxmlparser.h>
-#include "GMXMLFileDataSource.h"
-
-CMDXMLParserFileDataSource *CMDXMLParserFileDataSource::NewLC(RFs aRFs, const TDesC& aFileToParse)
- {
- CMDXMLParserFileDataSource* self = new (ELeave) CMDXMLParserFileDataSource();
- CleanupStack::PushL(self);
- self->ConstructL(aRFs, aFileToParse);
- return self;
- }
-
-CMDXMLParserFileDataSource *CMDXMLParserFileDataSource::NewL(RFs aRFs, const TDesC& aFileToParse)
- {
- CMDXMLParserFileDataSource *self = NewLC(aRFs, aFileToParse);
- CleanupStack::Pop();
- return self;
- }
-
-CMDXMLParserFileDataSource* CMDXMLParserFileDataSource::NewL(RFile& aFileHandleToParse)
- {
- CMDXMLParserFileDataSource* me = new(ELeave) CMDXMLParserFileDataSource();
- CleanupStack::PushL(me);
- me->ConstructL(aFileHandleToParse);
- CleanupStack::Pop(me);
- return me;
- }
-
-void CMDXMLParserFileDataSource::ConstructL(RFile& aFileHandleToParse)
- {
- // take ownership of file handle
- iXMLFile = aFileHandleToParse;
-
- // Calculate size of file
- TInt fileSize;
- User::LeaveIfError(iXMLFile.Size(fileSize));
-
- // make buffer
- iXMLFileBuffer = HBufC8::NewL(fileSize);
- TPtr8 tmpbuffer(iXMLFileBuffer->Des());
-
- // read file into buffer
- User::LeaveIfError(iXMLFile.Read(tmpbuffer, fileSize));
- iState = KInit;
-
- iXMLFile.Close();
- }
-
-
-CMDXMLParserFileDataSource::~CMDXMLParserFileDataSource()
- {
- iXMLFile.Close();
- delete iXMLFileBuffer;
- }
-
-CMDXMLParserFileDataSource::CMDXMLParserFileDataSource() : iState(KError), iXMLFileBuffer(0)
- {
- }
-
-void CMDXMLParserFileDataSource::ConstructL(RFs aRFs, const TDesC& aFileToParse)
- {
- User::LeaveIfError(iXMLFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly));
-
- // Calculate size of file
- TInt fileSize;
- User::LeaveIfError(iXMLFile.Size(fileSize));
-
- // make buffer
- iXMLFileBuffer = HBufC8::NewL(fileSize);
- TPtr8 tmpbuffer(iXMLFileBuffer->Des());
-
- // read file into buffer
- User::LeaveIfError(iXMLFile.Read(tmpbuffer, fileSize));
- iState = KInit;
-
- iXMLFile.Close();
-
- }
-
-void CMDXMLParserFileDataSource::GetData(TPtrC8 &aPtr, TRequestStatus &aStatus)
- {
- TRequestStatus *s = &aStatus;
- switch(iState)
- {
- case KInit:
- aPtr.Set(iXMLFileBuffer->Des());
- iState = KDataSent;
- User::RequestComplete(s, KMoreData);
- break;
-
- case KDataSent:
- delete iXMLFileBuffer;
- iXMLFileBuffer = 0;
- iState = KDone;
- User::RequestComplete(s, KDataStreamEnd);
- break;
-
- case KDone:
- User::RequestComplete(s, KDataStreamEnd);
- break;
-
- default:
- User::RequestComplete(s, KDataStreamError);
- break;
- };
- }
-
-void CMDXMLParserFileDataSource::Disconnect()
- {
- delete iXMLFileBuffer;
- iXMLFileBuffer = 0;
- iState = KDone;
- }
-
-// End of File
--- a/xml/legacyminidomparser/XMLParser/SRC/GMXMLParser.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1962 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// @file
-// This file contains the definition of the generic CMDXMLParser class
-// which is responsible for creating a DOM structure
-// from a given XML file.
-//
-//
-
-#include <f32file.h>
-#include <utf.h>
-#include <bautils.h>
-
-#include <gmxmlconstants.h>
-#include <gmxmlcomposer.h>
-#include <gmxmlentityconverter.h>
-#include <gmxmlnode.h>
-#include <gmxmldocument.h>
-#include <gmxmlelement.h>
-#include <gmxmlparser.h>
-#include <gmxmlprocessinginstruction.h>
-#include <gmxmlcomment.h>
-#include <gmxmlcdatasection.h>
-#include <gmxmltext.h>
-
-#include "GMXMLFileDataSource.h"
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "gmxmldummydtd.h"
-#endif
-
-const TInt KGMXMLDefaultTextBufferSize = 1024;
-const TInt KUTF8EdgeBufferLen = 6;
-
-//
-// Global functions //
-//
-
-
-//==================================================================================
-
-//
-//CMDXParser //
-//
-//==================================================================================
-
-void CMDXMLParser::Panic(TPanicCode aReason) const
- {
- _LIT(KClassName, "CMDXMLParser");
- User::Panic(KClassName, aReason);
- }
-
-EXPORT_C CMDXMLParser* CMDXMLParser::NewL(MMDXMLParserObserver* aParserObserver)
-//
-// Two phase static factory function constructor
-// @return Created CMDXMLParser
-// @leave can Leave due to OOM
-//
- {
- CMDXMLParser* self = NewLC(aParserObserver);
- CleanupStack::Pop();
- return self;
- }
-
-EXPORT_C CMDXMLParser* CMDXMLParser::NewL(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation)
-//
-// Two phase static factory function constructor
-// @return Created CMDXMLParser
-// @param aDtdRepresentation specid DTD represention class to be used for validation
-// @leave can Leave due to OOM
-//
- {
- CMDXMLParser* self = NewLC(aParserObserver, aDtdRepresentation);
- CleanupStack::Pop();
- return self;
- }
-
-
-//==================================================================================
-
-EXPORT_C CMDXMLParser* CMDXMLParser::NewLC(MMDXMLParserObserver* aParserObserver)
-//
-// Two phase static factory function constructor
-// @return Created CMDXMLParser
-// @leave can Leave due to OOM
-//
- {
- CMDXMLParser* self = new (ELeave) CMDXMLParser(aParserObserver);
- CleanupStack::PushL(self);
- // This overload of NewLC doesn't take a MXMLDtd*, but we need to provide one to
- // ConstructL where ownership is taken if we do have one. Just pass NULL.
- self->ConstructL(NULL);
- return self;
- }
-
-EXPORT_C CMDXMLParser* CMDXMLParser::NewLC(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation)
-//
-// Two phase static factory function constructor
-// @return Created CMDXMLParser
-// @param aDtdRepresentation specid DTD represention class to be used for validation
-// @leave can Leave due to OOM
-//
- {
- CMDXMLParser* self = new (ELeave) CMDXMLParser(aParserObserver);
- CleanupStack::PushL(self);
- self->ConstructL(aDtdRepresentation);
- return self;
- }
-
-
-//==================================================================================
-
-void CMDXMLParser::ConstructL(MXMLDtd* aDtdRepresentation)
-//
-// Second stage constructor
-// @param aDtdRepresentation The DTD to be used for validation
-// @leave can Leave due to OOM
-//
- {
- CMDXMLEntityConverter* entityConverter = new(ELeave) CMDXMLEntityConverter();
- SetEntityConverter(entityConverter);
-
- // This doesn't leave, but if CMDXMLParser::NewLC() Leaves after taking ownership
- // of this we'll get a double deletion as the caller will have pushed
- // aDtdRepresentation onto the CleanupStack. As such we can only take ownership
- // once we are sure we aren't going to leave.
- iDtdRepresentation = aDtdRepresentation;
- }
-
-CMDXMLParser::CMDXMLParser(MMDXMLParserObserver* aParserObserver)
- : CActive(EPriorityNormal)
-//
-// Constructor
-//
- {
- iParserObserver = aParserObserver;
- iStoreInvalid = ETrue;
- CActiveScheduler::Add(this);
- }
-
-//==================================================================================
-
-EXPORT_C CMDXMLParser::~CMDXMLParser()
- {
- Cancel();
- delete iBomBuffer;
- if( iFileSource == NULL )
- {
- // iFileSource has not been allocated yet, so the file path or file
- // handle are still owned
- if( iFileToParse!=NULL )
- delete iFileToParse;
- else
- iFileHandleToParse.Close();
- }
- else
- {
- delete iFileSource;
- }
- delete iUTF8EdgeBuffer;
- delete iXMLDoc;
- delete iEntityConverter;
- delete iElementTag;
- delete iDtdRepresentation;
- delete iText;
- }
-
-//==================================================================================
-//Defect fix for INC036136- Enable the use of custom entity converters in GMXML
-EXPORT_C void CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter* aEntityConverter)
-/*
- * Sets the entity converter to be used
- * and take ownership of the passed entity converter
- * @param aEntityConverter The entity converter to be used
- */
- {
- delete iEntityConverter;
- iEntityConverter = aEntityConverter;
- }
-//End Defect fix for INC036136
-//==================================================================================
-
-EXPORT_C void CMDXMLParser::SetStoreInvalid(TBool aStoreInvalid)
- {
- iStoreInvalid = aStoreInvalid;
- }
-
-//==================================================================================
-// Defect fix for INC105134 - GmXML consumes whitespace characters
-//==================================================================================
-EXPORT_C void CMDXMLParser::SetWhiteSpaceHandlingMode(TBool aPreserve)
- {
- iPreserve = aPreserve;
- }
-
-// End Defect fix for INC105134
-//==================================================================================
-EXPORT_C CMDXMLDocument* CMDXMLParser::DetachXMLDoc()
-//
-// @return CMDXMLDocument* to the created DOM, should be called after the
-// conclusion of the parser process. Note that internal variable pointing to
-// the document is set to NULL so this function can only be called once per file
-// parse. Client application must take ownership of document for cleanup purposes.
-//
- {
- CMDXMLDocument* returnDoc = iXMLDoc;
- iXMLDoc = NULL;
- return returnDoc;
- }
-
-//==================================================================================
-
-CMDXMLEntityConverter* CMDXMLParser::EntityConverter()
-//
-// @return the CMDXMLEntityConverter for use in converting built in entity
-// and character entities back to their original format
-//
- {
- return iEntityConverter;
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLParser::ParseFile(RFs aRFs, const TDesC& aFileToParse)
-//
-// ParseFile opens a file ready for parsing
-// @param aRFs a resource file session used for file I/O
-// @param aFileToParse the file name to parse
-// @return KErrNone if all OK or file read error code
-//
- {
- //Find out whether the file exists. If not dont start the active object
- if(!BaflUtils::FileExists(aRFs,aFileToParse))
- {
- return KErrNotFound;
- }
- else
- {
- //Check whether the file is locked by any other process
- RFile tempFile;
- TInt err=tempFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly);
- if(err!=KErrNone)
- {
- return err;
- }
- tempFile.Close();
- }
- Cancel();
- iSuspiciousCharacter = KErrNotFound;
- iError = KErrNone;
- iSeverity = EXMLNone;
- iDocTypeSet = EFalse;
- iVersionSet = EFalse;
-
- /* We need to open our file in a leave-safe place as it involves
- a heap alloc, and so we'll set up the AO to do that when it runs next.
- */
- delete iFileToParse;
- iFileToParse = aFileToParse.Alloc();
- if(iFileToParse == NULL)
- {
- return KErrNoMemory;
- }
-
- iRFs = aRFs;
- iState = KInitFromFile;
-
- SetActive();
- TRequestStatus* s=&iStatus;
- User::RequestComplete(s, KErrNone);
-
- return KErrNone;
- }
-
-/**
-Parses a specified XML file into a DOM object tree.
-
-Parses a specified XML file into a DOM object tree using an open file handle. The
-parser takes ownership of the open file handle and will close handle when completed.
-
-@param aFileHandleToParse An open file handle for the file to parse. Ownership of the
- file handle is passed.
-@return KErrNone if successful.
-*/
-EXPORT_C TInt CMDXMLParser::ParseFile(RFile& aFileHandleToParse)
- {
- iFileHandleToParse = aFileHandleToParse;
-
- Cancel();
- iSuspiciousCharacter = KErrNotFound;
- iError = KErrNone;
- iSeverity = EXMLNone;
- iDocTypeSet = EFalse;
- iVersionSet = EFalse;
-
- iState = KInitFromFile;
-
- iStatus = KRequestPending;
- SetActive();
- TRequestStatus* s=&iStatus;
- User::RequestComplete(s, KErrNone);
-
- return KErrNone;
- }
-//==================================================================================
-
-EXPORT_C void CMDXMLParser::ParseSourceL(MMDXMLParserDataProvider *aSource)
- {
- iSuspiciousCharacter = KErrNotFound;
- iError = KErrNone;
- iSeverity = EXMLNone;
- iDocTypeSet = EFalse;
- iVersionSet = EFalse;
-
- iDataSource = aSource;
- PrepareForReuseL();
- GetMoreData();
- }
-
-//==================================================================================
-
-void CMDXMLParser::PrepareForReuseL()
- {
- Cancel();
-
- iError = KErrNone;
- iSeverity = EXMLNone;
- iDocTypeSet = EFalse;
- iVersionSet = EFalse;
- iBytesPerChar = 0;
- iNextChar = 0;
- iInputBytesRemaining = 0;
- iOpened = EFalse;
- iClosed = EFalse;
- iNewElement = NULL;
- iParentElement = NULL;
- delete iUTF8EdgeBuffer;
- iUTF8EdgeBuffer = NULL;
- delete iBomBuffer;
- iBomBuffer = NULL;
-
- CreateDocumentL();
- iState = KDetermineCharset;
- }
-
-//==================================================================================
-TBool CMDXMLParser::DetectFileType()
-//
-// Detects the type of a data source - can be Unicode, UTF-8 or ASCII (because ASCII is
-// a subset of UTF-8).
-// If the file is empty it is assumed to be Utf-8.
- {
- TBuf8<3> bom;
-
- // Read the first 3 bytes of the file. These contain any BOM present. If it turns out
- // there's not a bom we leave the pointer untouched so we can parse these bytes
- // as usual.
- if(iInputBufferPtr.Length() < 3)
- return EFalse;
- else
- bom.Copy(iInputBufferPtr.Left(3));
-
- TInt hichar = (CEditableText::EByteOrderMark & 0xFF00)>>8;
- TInt lochar = CEditableText::EByteOrderMark & 0xFF;
-
- if((bom[0] == 0xEF) && (bom[1] == 0xBB) && (bom[2] == 0xBF))
- {
- // Utf-8 with a bom. We don't want to parse the bom, so add 3 bytes offset to the read pos.
- iBytesPerChar = 1;
- iNextChar = 3;
- }
- else
- {
- if((bom[0] == lochar) && (bom[1] == hichar))
- {
- // Little Endian Unicode. Move the read position on 2 bytes to ignore the bom.
- iBytesPerChar = 2;
- // would normally skip first 2 characters
- iNextChar = 2;
- }
- else if((bom[0] == hichar) && (bom[1] == lochar))
- {
- // We have a bom, but it indicates endianess opposite to that of the platform. We
- // don't currently support this so set an error.
- SetError(KErrNotSupported, EXMLFatal);
- }
- else
- {
- // Default to Utf-8
- iBytesPerChar = 1;
- }
- }
- return ETrue;
- }
-
-//==================================================================================
-
-EXPORT_C void CMDXMLParser::DoCancel()
-//
-// DoCancel function inherited from CActive base class
-//
- {
- if (iDataSource)
- {
- iDataSource->Disconnect();
- iDataSource = NULL;
- }
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLParser::RunError(TInt aError)
-//
-// RunError function inherited from CActive base class - intercepts any Leave from
-// the RunL() function, sets an appropriate errorcode and calls ParseFileCompleteL
-//
- {
- if(iDataSource)
- {
- iDataSource->Disconnect();
- iDataSource = NULL;
- }
-
- iSeverity = EXMLFatal;
- iError = aError;
- if (iFileToParse)
- {
- delete iFileToParse;
- iFileToParse = NULL;
- }
- else if( iFileSource==NULL )
- {
- // iFileSource is not set so the ownership of the file handle has not been passed
- iFileHandleToParse.Close();
- }
-
- __ASSERT_DEBUG(iParserObserver != NULL, Panic(ENullMemVarParserObserver));
- TRAPD(err, iParserObserver->ParseFileCompleteL());
- return err;
- }
-
-//==================================================================================
-
-TBool CMDXMLParser::DoParseLoopL()
-//
-// RunL function inherited from CActive base class - carries out the actual parsing.
-// @leave can Leave due to OOM
-//
- {
- TBuf<1> singleChar;
- TGetCharReturn getCharReturn = KError;
- TInt error;
-
- while(iSeverity != EXMLFatal && (getCharReturn = GetChar(singleChar), getCharReturn == KCharReturned) )
- {
-
-#if 0 // THIS NEEDS TO BE REMOVED - IT'S A VERY HANDY DEBUGGING TOOL WHEN YOU'RE MANUALLY DOING
- // BYTE ORDERING ON MISALIGNED STREAMS THOUGH...
- {
-#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
-
- RFs aRFs;
- RFile aFile;
- _LIT(KFileName, "c:\\documents\\SMIL_Test_Files\\echoOutput.txt");
- TPtrC file;
- TInt err;
-
- file.Set(KFileName);
-
- aRFs.Connect();
-
- err = aFile.Open(aRFs, file, EFileWrite);
- if(err != KErrNone)
- err = aFile.Create(aRFs, file, EFileWrite);
-
- err = 0;
- aFile.Seek(ESeekEnd, err);
- aFile.Write(DES_AS_8_BIT(singleChar));
- aFile.Close();
- aRFs.Close();
- }
-#endif
- if((!iOpened) && singleChar != KXMLStartTag)
- {
- HandleTextL(singleChar);
- }
-
- if((iOpened) || (singleChar == KXMLStartTag))
- {
- if(singleChar == KXMLStartTag)
- {
- if(iOpened)
- {
- if((iSuspiciousCharacter == KErrNotFound))
- {
- iSuspiciousCharacter = iElementTag->Length();
- }
- }
- else
- {
- AddTextL(iParentElement);
- iOpened = ETrue;
- }
- }
- else if(singleChar == KXMLEndTag)
- {
- if(iSuspiciousCharacter != KErrNotFound)
- {
- TPtrC suspiciousSection = iElementTag->Mid(iSuspiciousCharacter);
- if( CheckForStartCData(suspiciousSection) == 0 )
- {
- TInt endCDataLen = TPtrC(KXMLEndCDataSection).Length();
- // The suspicious character begins a CDataSection. Check if
- // this End Tag is closing it.
- if( suspiciousSection.Right(endCDataLen - 1)
- == TPtrC(KXMLEndCDataSection).Left(endCDataLen - 1) )
- {
- // Any dodgy characters began the CDataSection or were in it
- iSuspiciousCharacter = KErrNotFound;
- }
- }
- else if( suspiciousSection.Find(KXMLStartComment) == 0 )
- {
- // The suspicious character begins a comment. Check if
- // this End Tag is closing it.
- TInt endCommentLen = TPtrC(KXMLEndComment).Length();
- if( suspiciousSection.Right(endCommentLen - 1)
- == TPtrC(KXMLEndComment).Left(endCommentLen - 1) )
- {
- // Any dodgy characters began the comment or were in it
- iSuspiciousCharacter = KErrNotFound;
- }
- }
- else if((CheckForStartCData(*iElementTag) == 0) || (iElementTag->Find(KXMLStartComment) == 0))
- {
- // this tag is a CDataSection or comment, we're allowed <
- iSuspiciousCharacter = KErrNotFound;
- iClosed = ETrue;
- }
- else
- {
- // The < was spurious, set an error and close the tag as normal
- SetError(KErrXMLIllegalCharacter, EXMLWorkable);
- iClosed = ETrue;
- iSuspiciousCharacter = KErrNotFound;
- }
- }
- else
- {
- iClosed = ETrue;
- }
- }
-
- // ensure descriptor doesn't overflow end and panics
- if(iElementTag->Length() == iElementTag->Des().MaxLength())
- {
- iElementTag = iElementTag->ReAllocL(iElementTag->Length() + KNominalTagLength);
- }
-
- iElementTag->Des().Append(singleChar);
-
- // if tag is complete and needs adding to the DOM?
- if(iClosed)
- {
- if( !CommentL(iParentElement)
- && !CDataSectionL(iParentElement)
- && !VersionIDL()
- && !DocTypeL()
- && !ProcessingInstructionL(iParentElement) )
- {
- // is this a regular closing tag
- if
- (iElementTag->Left(2) == KXMLStartEndTag)
- {
- error = ParseElementEndTag(*iParentElement, iElementTag->Des());
- if(error == KErrNone)
- {
- if(iParentElement->ParentNode() == NULL)
- {
- SetError(KErrXMLBadNesting, EXMLIndeterminate);
- }
- else
- {
- iParentElement = (CMDXMLElement*) iParentElement->ParentNode();
- }
- }
- else if(error == KErrNotFound)
- {
- CMDXMLElement* tempElement = (CMDXMLElement*) iParentElement->ParentNode();
- TInt searchResult = KErrNotFound;
-
- while(tempElement != NULL &&
- searchResult == KErrNotFound &&
- tempElement->NodeName() != KXMLDocumentElementNodeName)
- {
- searchResult = ParseElementEndTag(*tempElement,iElementTag->Des());
- if(searchResult == KErrNone)
- {
- iParentElement = tempElement;
- SetError(KErrXMLBadNesting, EXMLIndeterminate);
- }
- else
- {
- tempElement = (CMDXMLElement*) tempElement->ParentNode();
- }
- }
- if(searchResult != KErrNone)
- {
- SetError(KErrXMLBadNesting, EXMLIndeterminate);
- }
- }
- else
- {
- SetError(error, EXMLIndeterminate);
- }
- }
- // if a new element start tag or start/end tag
- else
- {
- // NOTE ParseStartTagL destroys iElementTag
- // so following check must be done first
-
- // if not single tag with close
- if(!(iElementTag->Right(2) == KXMLEndStartTag))
- {
- iNewElement = ParseStartTagL();
- CleanupStack::PushL(iNewElement);
- error = iParentElement->AppendChild(iNewElement);
-
- if(error == KErrNone)
- {
- CleanupStack::Pop(); // iNewElement
- iParentElement = (CMDXMLElement*) iParentElement->LastChild();
- }
- else
- {
- SetError(error, EXMLWorkable);
- CleanupStack::PopAndDestroy(iNewElement); // iNewElement
- }
- }
- else
- {
- iNewElement = ParseStartTagL();
- CleanupStack::PushL(iNewElement);
- error = iParentElement->AppendChild(iNewElement);
-
- if(error == KErrNone)
- {
- CleanupStack::Pop(iNewElement); // iNewElement
- }
- else
- {
- SetError(error, EXMLWorkable);
- CleanupStack::PopAndDestroy(iNewElement); // iNewElement
- }
- }
- }
- iEndOfTag = ETrue;
- }
-
- if(iEndOfTag)
- {
- iEndOfTag = EFalse;
- iOpened = iClosed = EFalse;
- iElementTag->Des().Zero();
-
- // reduce size of ElementTag if increased beyond normal limits on last pass
- if(iElementTag->Des().MaxLength() > KNominalTagLength)
- {
- iElementTag = iElementTag->ReAllocL(KNominalTagLength);
- }
- }
- }
- }
- } // END OF WHILE LOOP
-
- if(getCharReturn == KError)
- {
- return EFalse;
- }
- else
- {
- // GetChar returned KWEaitForChar
- // GetChar handles pushing the state and requesting more data for us, so we just go active.
- return ETrue;
- }
- }
-
-
-
-
-//==================================================================================
-
-void CMDXMLParser::RunL()
- {
- TRequestStatus* s=&iStatus;
- TInt err = s->Int();
-
- switch(iState)
- {
- case KInitFromFile:
- delete iFileSource;
- iFileSource = NULL;
- if( iFileToParse == NULL )
- {
- // iFileToParse is not set, file was passed by open file handle.
- iFileSource = CMDXMLParserFileDataSource::NewL(iFileHandleToParse);
- }
- else
- {
- iFileSource = CMDXMLParserFileDataSource::NewL(iRFs, *iFileToParse);
-
- delete iFileToParse;
- iFileToParse = NULL;
- }
-
- ParseSource(iFileSource); // will go active itself
- break;
-
- case KDetermineCharset:
- if(!iBytesPerChar)
- {
- if(DetectFileType())
- {
- iState = KParseData;
- SetActive();
- User::RequestComplete(s, KErrNone);
- }
- else
- {
- if(!iBomBuffer)
- {
- iBomBuffer = HBufC8::NewL(KUTF8EdgeBufferLen);
- }
-
- TPtr8 bomDes(iBomBuffer->Des());
- TInt newLength = bomDes.Length() + iCurrentInputBufferLen;
- iBomBuffer->ReAlloc(newLength);
-
- bomDes.Append(iInputBufferPtr);
- if(iBomBuffer->Length() >=3)
- {
- iInputBufferPtr.Set(bomDes);
- iCurrentInputBufferLen = newLength;
-
- SetActive();
- User::RequestComplete(s, KErrNone);
- }
- else
- {
- GetMoreData();
- }
- }
- }
- else
- {
- iState = KParseData;
- SetActive();
- User::RequestComplete(s, KErrNone);
- }
- break;
-
- case KWaitingForData:
- switch(err)
- {
- case MMDXMLParserDataProvider::KMoreData:
- // We got more data this time, make sure all the parameters are correct.
- iCurrentInputBufferLen = iInputBufferPtr.Length();
-
- iState = iPreviousState;
- SetActive();
- User::RequestComplete(s, KErrNone);
- break;
-
- case MMDXMLParserDataProvider::KDataStreamEnd:
- iState = KFinished;
- SetActive();
- User::RequestComplete(s, KErrNone);
- break;
-
- default:
- case MMDXMLParserDataProvider::KDataStreamError:
- User::Leave(KErrCorrupt);
- break;
- }
-
- break;
-
- case KParseData:
- if(!iParentElement) // initialise the parsing
- {
- iOpened = EFalse;
- iClosed = EFalse;
- // If we're going through the tag and find a < we don't know whether
- // it will be valid (eg it starts a CDataSection) or whether it's an
- // illegal character. Store its index so that when we're a bit further
- // along in the string we can check whether it was allowed and if not
- // set an Illegal Character error.
- delete iNewElement;
- iNewElement = NULL;
-
- __ASSERT_DEBUG(iXMLDoc != NULL, Panic(ENullMemVarXMLDoc));
- iParentElement = iXMLDoc->DocumentElement();
-
- delete iElementTag;
- iElementTag = NULL;
- iElementTag = HBufC::NewL(KNominalTagLength);
- }
-
- if(!iBytesPerChar)
- {
- // assume ascii/UTF8
- iBytesPerChar = 1;
- }
-
- if(!DoParseLoopL())
- iState = KFinished;
-
- break;
-
- case KFinished:
- // Check for any errors that we can pick up now, like missing doctype, or incomplete content
- CheckForErrors();
-
- // we want to leave this instance in a safe state where it can be restarted again with a single call to ParseSource.
- // cannot delete this element, as it belongs to the document...
- iParentElement = NULL;
- iState = KDetermineCharset;
-
- iDataSource->Disconnect();
- iDataSource=NULL;
- __ASSERT_DEBUG(iParserObserver != NULL, Panic(ENullMemVarParserObserver));
- iParserObserver->ParseFileCompleteL();
- break;
-
- default:
- User::Leave(KErrUnknown);
- break;
- }
- }
-
-void CMDXMLParser::CheckForErrors()
- {
- if(iError == KErrNone)
- {
- if(iParentElement)
- {
- // if iParentElement is not pointing to dummy root node, there has been a problem
- if( (iParentElement == NULL) || (iParentElement->NodeName() != KXMLDocumentElementNodeName) )
- {
- SetError(KErrXMLIncomplete, EXMLWorkable);
- }
- else if(!iParentElement->CheckChildren())
- {
- SetError(KErrXMLInvalidChild, EXMLWorkable);
- }
- else if(iParentElement->FirstChild() != NULL)
- {
- // multiple real (not dummy) root elements
- TInt count = 0;
- CMDXMLNode* iterator = iParentElement->FirstChild();
- do
- {
- if(iterator->NodeType() == CMDXMLNode::EElementNode)
- {
- count++;
- }
- iterator = iterator->NextSibling();
- }
- while(iterator != NULL);
-
- if(count != 1)
- {
- SetError(KErrXMLMultipleRootElements, EXMLWorkable);
- }
- }
- }
- }
- if(iError == KErrNone && !iDocTypeSet)
- {
- SetError(KErrXMLMissingDocTypeTag, EXMLWorkable);
- }
-
- if(iError == KErrNone && !iVersionSet)
- {
- SetError(KErrXMLMissingVersionTag, EXMLWorkable);
- }
- }
-
-
-void CMDXMLParser::CreateDocumentL()
-//
-// Creates a generic or DTD-specific document object
-// @leave can Leave due to OOM
-//
- {
- delete iXMLDoc;
- iXMLDoc = NULL;
-
- if (iDtdRepresentation != NULL)
- iXMLDoc = CMDXMLDocument::NewL(*iDtdRepresentation);
- else
- iXMLDoc = CMDXMLDocument::NewL();
- }
-
-
-//==================================================================================
-
-TBool CMDXMLParser::DocTypeL()
-//
-// @return Returns true if the current tag is a doctype tag and sets the
-// Document DocType member accordingly on the first pass of this function.
-//
- {
- TBool returnValue = EFalse;
- TInt tagIdLen = TPtrC(KXMLDocumentTypes).Length();
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- if(iElementTag->Length() > tagIdLen
- && iElementTag->Left(tagIdLen) == KXMLDocumentTypes)
- {
- if(iDocTypeSet)
- {
- SetError(KErrXMLDuplicateDocTypeTags, EXMLWorkable);
- }
- else
- {
- iXMLDoc->SetDocTypeTagL(iElementTag->Des());
- iDocTypeSet = ETrue;
- }
- returnValue = ETrue;
- iEndOfTag = ETrue;
- }
-
- return returnValue;
- }
-
-//==================================================================================
-
-TBool CMDXMLParser::ProcessingInstructionL(CMDXMLElement* aParentElement)
-//
-// creates a new processing instruction if necessary and adds to document
-// @return Returns true if the current tag is a processing instruction
-//
- {
- TBool returnValue = EFalse;
- TInt startPILen = TPtrC(KXMLStartProcessingInstruction).Length();
- TInt endPILen = TPtrC(KXMLEndProcessingInstruction).Length();
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- if((iElementTag->Left(startPILen) == KXMLStartProcessingInstruction) &&
- (iElementTag->Right(endPILen) == KXMLEndProcessingInstruction))
- {
- if(aParentElement != NULL)
- {
- CMDXMLProcessingInstruction* inst = CMDXMLProcessingInstruction::NewLC(iXMLDoc);
-
- TPtrC instStr = iElementTag->Des().Mid(startPILen,
- iElementTag->Length() - (startPILen + endPILen));
- inst->SetDataL(instStr);
-
- __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
- TInt error = aParentElement->AppendChild(inst);
- CleanupStack::Pop(inst);
-
- if(error != KErrNone)
- {
- SetError(error, EXMLWorkable);
- }
- }
-
- returnValue = ETrue;
- iEndOfTag = ETrue;
- }
-
- return returnValue;
- }
-
-
-//==================================================================================
-
-TBool CMDXMLParser::CDataSectionL(CMDXMLElement* aParentElement)
-//
-// creates a new CDataSection if necessary and adds to document
-// @return Returns true if the current tag is a CDataSection
-//
- {
- TBool returnValue = EFalse;
- TInt instLen = TPtrC(KXMLStartCDataSection).Length();
- TInt endCDataLen = TPtrC(KXMLEndCDataSection).Length();
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- if (iElementTag->Left(instLen) == KXMLStartCDataSection)
- {
- returnValue = ETrue;
- if ((iElementTag->Right(endCDataLen) == KXMLEndCDataSection) && (aParentElement != NULL))
- {
- CMDXMLCDATASection* inst = CMDXMLCDATASection::NewLC(iXMLDoc);
-
- TPtrC instStr = iElementTag->Des().Mid(instLen,
- iElementTag->Length() - (instLen + endCDataLen));
- inst->SetDataL(instStr);
-
- __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
- TInt error = aParentElement->AppendChild(inst);
- CleanupStack::Pop(); // inst
-
- if(error != KErrNone)
- {
- SetError(error, EXMLWorkable);
- }
- }
- iEndOfTag = ETrue;
- }
-
- return returnValue;
- }
-
-
-//==================================================================================
-
-TBool CMDXMLParser::VersionIDL()
-//
-// @return returns true if the current tag is a version id tag and sets the
-// Document Version member accordingly on the first pass of this function.
-//
- {
- TBool returnValue = EFalse;
- TInt tagIdLen = TPtrC(KXMLVersion).Length();
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- if(iElementTag->Length() > tagIdLen
- && iElementTag->Left(tagIdLen) == KXMLVersion)
- {
- if(iVersionSet)
- {
- SetError(KErrXMLDuplicateVersionTags, EXMLWorkable);
- }
- else
- {
- iXMLDoc->SetVersionTagL(iElementTag->Des());
- iVersionSet = ETrue;
- }
- returnValue = ETrue;
- iEndOfTag = ETrue;
- }
-
- return returnValue;
- }
-
-//==================================================================================
-
-TBool CMDXMLParser::CommentL(CMDXMLElement* aParentElement)
-//
-// creates a new comment if necessary and adds to document
-// @return returns true if the current tag is a comment tag
-//
- {
- TBool returnValue = EFalse;
- TInt commentLen = TPtrC(KXMLStartComment).Length();
- TInt endCommentLen = TPtrC(KXMLEndComment).Length();
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- if (iElementTag->Left(commentLen) == KXMLStartComment)
- {
- returnValue = ETrue;
- if ((aParentElement != NULL) && (iElementTag->Right(endCommentLen) == KXMLEndComment))
- {
- CMDXMLComment* comment = CMDXMLComment::NewLC(iXMLDoc);
-
- TPtrC commentStr = iElementTag->Des().Mid(commentLen,
- iElementTag->Length() - (commentLen + endCommentLen));
- comment->SetDataL(commentStr);
-
- __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
- TInt error = aParentElement->AppendChild(comment);
- CleanupStack::Pop(); // comment
-
- if(error != KErrNone)
- {
- SetError(error, EXMLWorkable);
- }
- iEndOfTag = ETrue;
- }
- }
-
- return returnValue;
- }
-
-//==================================================================================
-
-EXPORT_C void CMDXMLParser::SetSourceCharacterWidth(TMDXMLParserInputCharWidth aWidth)
- {
- iBytesPerChar = aWidth;
- }
-
-//==================================================================================
-
-void CMDXMLParser::GetMoreData()
- {
-
- // Prepare these variables.
- iNextChar = 0; // reading from the start of the buffer
- iCurrentInputBufferLen = 0; // we have no characters in the buffer
- iUnicodeConversion.Zero(); // we have no characters in our UTF8->Unicode Conversion buffer.
- iUnicodeConversionLen = 0;
- iUnicodeReadPos = 0;
-
- // Request more data from the data provider
- __ASSERT_DEBUG(iDataSource != NULL, Panic(ENullMemVarDataSource));
- iDataSource->GetData(iInputBufferPtr, iStatus);
- SetActive();
- iPreviousState = iState;
- iState = KWaitingForData;
- }
-
-//==================================================================================
-
-CMDXMLParser::TGetCharReturn CMDXMLParser::GetDoubleByteChar(TDes& aChar)
- // when inputing we have a pointer to an 8 bit buffer (iInputBufferPtr), for unicode
- // input we point a 16 bit descriptor (tempUnicodeInput) at the 8 bit buffer to
- // enable us to read the 2 x 8 bit chars as a single 16 bit char.
- // However it isn't always this simple as the data provider interface makes no guarantees
- // on the alignment of this data. It's perfectly possible for it to end up with a unicode
- // character where the high byte comes from the previous buffer and the low byte comes from
- // the current one. This will put the rest of the current buffer out of line, and also all
- // subsequent buffers unless an odd length buffer is provided. Hopfully this won't happen often.
- {
- aChar.Zero();
-
- if(iUnicodeInputMisaligned)
- {
- TUint16 tempOut;
- TUint8* tempRead;
- tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
-
- if(iCurrentInputBufferLen - iNextChar >=1)
- {
- // if we saved a byte last time, lets use that first
- if(iSpareChar.Length())
- {
- tempOut = iSpareChar[0];
- iSpareChar.Zero();
- }
- else if(iCurrentInputBufferLen - iNextChar >=2)
- {
- // we didn't save a byte, so we read from the stream.
- tempOut = *tempRead;
- tempRead++;
- iNextChar++;
- }
- else
- {
- // our input stream must have been an odd length - this might cause alignment problems,
- // so we need to start reading bytewise for a while
- iUnicodeInputMisaligned = ETrue;
-
- TUint8* tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
- TUint16 tempVal = (TUint16)(*tempRead << 8);
- iSpareChar.Copy(&tempVal,1);
-
- GetMoreData();
- return KWaitForChar;
-
- }
-
- // second byte (high byte) of our output comes from the input stream in all cases.
- tempOut |= ((*tempRead & 0xFF) << 8);
- iNextChar++;
-
- TPtrC16 readDes(&tempOut, 1);
- aChar = readDes.Left(1);
- }
- }
- else if(iCurrentInputBufferLen - iNextChar >= 2)
- {
- // we may be in a position where we don't know we're going to lose a byte
- // so we'll test for that ahead of time, and then handle that in the normal way
-
- // if we execute this, it means that we have two bytes available to read.
- const TUint16* word = reinterpret_cast<const TUint16*>((iInputBufferPtr.Ptr() + iNextChar));
- TPtrC16 tempUnicodeInput(word, 2);
- aChar = tempUnicodeInput.Left(1);
- iNextChar+=2;
- return KCharReturned;
- }
-
- TInt bytesRemaining = iCurrentInputBufferLen - iNextChar;
-
- switch(bytesRemaining)
- {
- case 1:
- {
- // our input stream must have been an odd length - this might cause alignment problems,
- // so we need to start reading bytewise for a while
-
- TUint8* tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
- TUint16 tempVal = *tempRead;
- iSpareChar.Copy(&tempVal,1);
- iUnicodeInputMisaligned = ETrue;
- iNextChar++;
- if(!aChar.Length())
- {
- GetMoreData();
- return KWaitForChar;
- }
- }
- break;
- case 0:
- {
- // we're at the end of this block, and it's turned out to be re-aligned.
- // we can read subsequent blocks in 16-bit chunks.
- iUnicodeInputMisaligned = EFalse;
- }
- break;
- }
-
- return KCharReturned;
- }
-
-//==================================================================================
-
-CMDXMLParser::TGetCharReturn CMDXMLParser::GetSingleByteChar(TDes& aChar)
- {
- // We have UTF8/ASCII Source, and we must need to convert some more if we got here.
- iUnicodeConversion.Zero();
- iUnicodeConversionLen = 0;
- iUnicodeReadPos = 0;
-
- // if we are not operating out of the edge buffer yet, work on the real one
- if(!iUTF8EdgeBuffer)
- {
- // This is an 8 bit encoding, probably UTF-8, but could be ASCII. Because
- // ASCII is valid UTF-8 we can just convert what we have to Unicode.
- // We're going to convert a number of characters at a time here.
- TInt inputBytesRemaining = iCurrentInputBufferLen - iNextChar;
- TInt convResult;
- TPtrC8 tempPtr( (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar, inputBytesRemaining );
-
- convResult = CnvUtfConverter::ConvertToUnicodeFromUtf8(iUnicodeConversion, tempPtr);
- if((convResult >= 0) || (convResult == KErrCorrupt))
- {
- // Sometimes the UTF8 decoder might return corrupt if it only gets a single character
- // in this case we ignore the error and report that we have converted 0 characters
- if (convResult == KErrCorrupt)
- convResult = tempPtr.Length();
-
- // This is the number of bytes converted.
- // Keep an eye out in case there is no change in the character consumed count.
- TInt bytesConverted = inputBytesRemaining - convResult;
-
- // We consumed characters. Make our input buffer read position correct.
- iNextChar += bytesConverted;
-
- // Make our intermediate buffering correct and return the first character out of our buffer
- // subsequent calls will just return characters from this buffer.
- iUnicodeConversionLen = iUnicodeConversion.Length();
- aChar = iUnicodeConversion.Left(1);
- iUnicodeReadPos = 1;
-
- if(convResult && convResult < KUTF8EdgeBufferLen)
- {
- TUint8* multiByteCheck = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
-
- // There is a possibility that we've got an edge case here
- //check if our left over character is in fact UTF8.
- if((0x80 & *multiByteCheck) != 0)
- {
- // Shift 'convResult' characters off into the edge buffer.
- delete iUTF8EdgeBuffer;
- iUTF8EdgeBuffer = HBufC8::New(KUTF8EdgeBufferLen);
- *iUTF8EdgeBuffer = iInputBufferPtr.Right(convResult);
-
- TUint8 bitMask = 0x80;
- TInt byteCount = 0;
- while(bitMask && (bitMask & (iUTF8EdgeBuffer->Des()[0])) != 0)
- {
- bitMask >>= 1;
- byteCount++;
- };
-
- if(!bitMask)
- {
- // the utf8 stream appears to be corrupt.
- SetError(KError, EXMLFatal);
- return KError;
- }
- // we need to find byteCount characters to make up the character currently stored in the edge
- // buffer.
- iRequiredUTF8Bytes = byteCount - iUTF8EdgeBuffer->Length();
-
- // set the variables up so that we return any converted characters, and then begin work
- // on the edge buffer (where we've already cached the remaining bytes if any)
- // NOTE: We will return all the characters which we preconverted into iUnicodeConversion *before*
- // we begin dealing with the edge buffer, because of the structure of this function.
- iNextChar = iCurrentInputBufferLen;
-
- if (bytesConverted == 0)
- // If no bytes were converted then there is nothing to return,
- // we need to wait for more data and then conbine it with what we have
- // just put on the edge buffer.
- {
- // need more bytes to finish this character.
- GetMoreData();
- return KWaitForChar;
- }
- }
- }
- }
-
- else
- {
- return KError; // something failed in the UTF8 Converter.
- }
- }
- else
- {
- // We are converting the UTF8 Edge Buffer. We know that in it's current state, it
- // can't be converted to Unicode.
- // Decide if we have enough characters in our current input stream to convert to an
- // output character (or two) yet.
-
- if(iUTF8EdgeBuffer->Length() >= KUTF8EdgeBufferLen)
- {
- // our edge buffer reached the maximum length for a UTF8 character
- // and we haven't managed to convert a unicode output.
- // this means that the input stream is corrupt.
- delete iUTF8EdgeBuffer;
- iUTF8EdgeBuffer = NULL;
-
- // Report a fatal error.
- SetError(KError, EXMLFatal);
- return KError;
- }
- else
- {
- TInt convResult;
-
- // we know how many bytes are required in order to complete the utf8 buffer
- TInt bytesAvailable = iCurrentInputBufferLen - iNextChar;
-
- if(bytesAvailable >= iRequiredUTF8Bytes)
- {
- // we have enough bytes to complete this character.
- // Go ahead and convert then return it.
- iUTF8EdgeBuffer->Des().Append(iInputBufferPtr.Mid(iNextChar, iRequiredUTF8Bytes));
- iUnicodeConversion.Zero();
- convResult = CnvUtfConverter::ConvertToUnicodeFromUtf8(iUnicodeConversion, iUTF8EdgeBuffer->Des());
-
- // regardless if we managed to convert this buffer or not, we don't need it any more.
- delete iUTF8EdgeBuffer;
- iUTF8EdgeBuffer = NULL;
-
- // make sure we report any error in the conversion
- if(convResult != 0)
- {
- // we either incorrectly calculated the required number of bytes or the
- // stream is corrupt. Either way we have a fatal error.
- SetError(KError, EXMLFatal);
- return KError;
- }
-
- // Make our intermediate buffering correct and return the first character out of our buffer
- // subsequent calls will just return characters from this buffer.
- iUnicodeConversionLen = iUnicodeConversion.Length();
- aChar = iUnicodeConversion.Left(1);
- iUnicodeReadPos = 1;
-
- // set up the main input buffers so that the next char comes from the input stream.
- iNextChar += iRequiredUTF8Bytes;
- iRequiredUTF8Bytes = 0;
- }
- else
- {
- // we haven't got enough bytes to complete this character, store the
- // available byte(s) and request more data.
- iUTF8EdgeBuffer->Des().Append(iInputBufferPtr.Mid(iNextChar, bytesAvailable));
-
- // Move the next character index on for as many bytes as we have just added to the edge buffer
- iNextChar += bytesAvailable;
- // We can reduce the number of bytes require by the number of bytes added to the edge buffer
- iRequiredUTF8Bytes -= bytesAvailable;
-
- // need more bytes to finish this character.
- GetMoreData();
- return KWaitForChar;
- }
- }
- }
-
- return KCharReturned;
- }
-
-//==================================================================================
-
-CMDXMLParser::TGetCharReturn CMDXMLParser::GetChar(TDes& aChar)
-//
-// Fetch one character from the input file
-// @param aChar the returned character.
-// @return returns true if a character returned or false if the file is finished
-//
- {
- // first test - see if we're providing preconverted characters.
- if(iUnicodeConversionLen && iUnicodeReadPos < iUnicodeConversionLen)
- {
- // return one of the preconverted chars.
- aChar = iUnicodeConversion.Mid(iUnicodeReadPos, 1);
- iUnicodeReadPos++;
-
- return KCharReturned;
- }
-
- // Second test - see if we require more data. If we have converted data and we require
- // more data, this code is not intelligent enough to request data from the provider
- // early, but that's ok.
-
- // Buffer length held as a member variable for performance reasons
- // this function will be accessed thousands of times
- if(iCurrentInputBufferLen <= iNextChar)
- {
- GetMoreData();
- return KWaitForChar;
- }
-
- // return the character, handling any of the buffer shuffling we need to do.
- if(iBytesPerChar == 2)
- return GetDoubleByteChar(aChar);
- else
- return GetSingleByteChar(aChar);
- }
-
-//==================================================================================
-
-CMDXMLElement* CMDXMLParser::ParseStartTagL()
-//
-// Parse a start of element tag and create an element with attributes set.
-// @return Returns a pointer to the created element
-// @leave can Leave due to OOM
-//
- {
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
-
- // there must be at least two angle brackets and a single character to be meaningful
- if(iElementTag->Length() < 3)
- return NULL;
-
- CMDXMLElement* newElement = NULL;
- TPtr elementTagPtr = iElementTag->Des();
-
- // remove the angle brackets and trim white space
- if(iElementTag->Right(TPtrC(KXMLEndStartTag).Length()) == KXMLEndStartTag)
- elementTagPtr = iElementTag->Left(iElementTag->Length() - TPtrC(KXMLEndStartTag).Length());
- else
- elementTagPtr = iElementTag->Left(iElementTag->Length() - TPtrC(KXMLEndTag).Length());
-
- elementTagPtr = iElementTag->Right(iElementTag->Length() - TPtrC(KXMLStartTag).Length());
- elementTagPtr.Trim();
-
- // find out where the name ends and the attributes begin
- TLex16 element(elementTagPtr);
- element.SkipCharacters();
- TInt endOfName = element.Offset();
-
- // separate out the name from the attributes
- HBufC* elementName = (iElementTag->Left(endOfName)).AllocLC();
- TPtr elementNamePtr = elementName->Des();
- elementNamePtr.TrimRight();
-
- TInt error = KErrNone;
-
- __ASSERT_DEBUG(iXMLDoc != NULL, Panic(ENullMemVarXMLDoc));
-
- TBool validElement = iXMLDoc->ValidElementNameL(elementNamePtr);
- if(validElement || iStoreInvalid)
- {
- // remove the actual name from the tag so we only pass on the attributes
- elementTagPtr = iElementTag->Right(iElementTag->Length() - endOfName);
- elementTagPtr.TrimLeft();
- newElement = CMDXMLElement::NewLC(iXMLDoc->CanElementHaveChildren(elementNamePtr), iXMLDoc, elementNamePtr);
-
- error = ParseElementAttributesL(*newElement, elementTagPtr);
- CleanupStack::Pop();
- }
- if(!validElement)
- {
- error = KErrXMLInvalidElement;
- }
-
- CleanupStack::PopAndDestroy(elementName); // elementName
-
- if(error != KErrNone)
- {
- SetError(error, EXMLWorkable);
- }
-
- return newElement;
-
- }
-
-
-TInt CMDXMLParser::ParseElementAttributesL(CMDXMLElement& aElement, TDes& aTagToParse)
-//
-// This function is used to parse the attributes.
-// @param aElement The element to which the attributes belong
-// @param aTagToParse The tag to be parsed
-// @return Returns KErrNone if both attribute name & value are valid
-// KErrXMLBadAttributeName if attribute name is invalid or KErrXMLBadAttributeValue is invalid
-// @leave can Leave due to OOM
-//
- {
- TInt error = KErrNone;
- TInt attributeError = KErrNone;
- HBufC* attributeName = NULL;
- HBufC* attributeValue = NULL;
- TBuf<1> attributeDelimiter; // may be " or '
- TInt offset = KErrNone;
-
- offset = aTagToParse.Find(KEqualSign);
- while(offset != KErrNotFound)
- {
- attributeName = TPtrC(aTagToParse.Left(offset)).AllocLC();
- TPtr attributeNamePtr = attributeName->Des();
- attributeNamePtr.TrimRight(); // remove white space that existed between name and equal sign
-
- // remove current attribute name and equal sign from string
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
- aTagToParse.TrimLeft(); // remove white space that existed between equal sign and delimiter
-
- if(error == KErrNone && aTagToParse.Length() < 2) // a name must be at followed by at least 2 delimiters
- {
- error = KErrXMLBadAttributeName;
- // In this case, there is insufficient tag left to contain any more attributes
- }
- else if(error == KErrNone && aElement.IsAttributeSpecified(*attributeName))
- {
- error = KErrXMLDuplicateAttributeName;
- // We need to remove the attribute value from the tag string or it will be
- // picked up as part of the next attribute name.
- attributeDelimiter = aTagToParse.Left(1);
-
- // Check in case we've got a missing " at the beginning of the attribute. If
- // we do, we need to try a different strategy to find the end of this attribute
- if (attributeDelimiter != KQuotation && attributeDelimiter != KApostrophe)
- {
- offset = LocateNextAttribute(aTagToParse);
- }
- else
- {
- // remove start delimiter then search for next one (end delimiter)
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - 1);
- offset = FindDelimiter(aTagToParse, attributeDelimiter);
- }
-
- if(offset != KErrNotFound)
- {
- // remove current attribute value and delimiter
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
- aTagToParse.TrimLeft(); // remove white space that existed between delimiter and next name
- }
- }
- else
- {
- attributeDelimiter = aTagToParse.Left(1);
-
- if (attributeDelimiter != KQuotation && attributeDelimiter != KApostrophe)
- {
- // This attribute doesn't have a valid delimiter. Try and find the beginning of the next
- // attribute and just cut this one.
- TInt nextAttribute = LocateNextAttribute(aTagToParse);
- if(nextAttribute > 0)
- {
- // Add one to next attribute because the offset includes the whitespace before it
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - (nextAttribute + 1));
- }
-
- if (error == KErrNone)
- {
- error = KErrXMLBadAttributeValue;
- }
- }
- else
- {
- // remove start delimiter then search for next one (end delimiter)
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - 1);
-
- offset = FindDelimiter(aTagToParse, attributeDelimiter);
- if(offset != KErrNotFound)
- {
- attributeValue = TPtrC(aTagToParse.Left(offset)).AllocLC();
- TPtr attributeValuePtr = attributeValue->Des();
- attributeValuePtr.TrimRight(); // remove white space that existed between value and delimiter
-
- // remove current attribute value and delimiter
- aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
- aTagToParse.TrimLeft(); // remove white space that existed between delimiter and next name
-
- // Entity convert this attribute
- attributeError = ParseSingleAttributeL(attributeValuePtr);
- if( attributeError != KErrNone && error == KErrNone)
- {
- error = attributeError;
- }
-
- attributeError = aElement.SetAttributeL(*attributeName, *attributeValue, iStoreInvalid);
- if( attributeError != KErrNone && error == KErrNone)
- {
- error = KErrXMLInvalidAttribute;
- }
- CleanupStack::PopAndDestroy(attributeValue); //attributeValue
- }
- else if(error == KErrNone)
- {
- error = KErrXMLBadAttributeValue;
- }
- }
- }
-
- // next attribute pair
- offset = aTagToParse.Find(KEqualSign);
- CleanupStack::PopAndDestroy(attributeName); //attributeName
- }
-
- if(error == KErrNone && aTagToParse.Length() != 0)
- {
- error = KErrXMLBadAttributeValue;
- }
-
- return error;
- }
-
-TInt CMDXMLParser::LocateNextAttribute(const TDesC& aTagToParse)
- {
- // Find the next attribute by looking for an = then search back for a ' '.
- // This is useful when you've hit rubbish parsing the content of a start tag
- // and are looking for somewhere sensible to start.
- TInt nextAttribute = KErrNotFound;
- TInt offset = aTagToParse.Find(KEqualSign);
-
- // If the = is the first character then there isn't space for a ' ' so
- // don't bother looking
- if(offset > 0)
- {
- TPtrC invalidText = aTagToParse.Left(offset);
- nextAttribute = invalidText.LocateReverse(' ');
- }
-
- return nextAttribute;
- }
-
-TInt CMDXMLParser::ParseElementEndTag(CMDXMLElement& aElement, const TDesC& aTagToParse)
-//
-// Parses an end tag. In fact, at this point the end tag must match
-// the tag name of the start tag.
-// @param aTagToParse Text of the end tag.
-// @return Returns KErrNone if the end tag matches the start tag or KErrNotFound if there is a mismatch.
-//
- {
- // The tag should be of the form '</tag>' where tag is the name of this element so we will
- // check and strip off the surrounding </ > and then compare the remains with this #
- // node name.
- TInt retVal = KErrNone;
- if( aTagToParse.Length() != (aElement.NodeName().Length()+3))
- {
- retVal = KErrNotFound;
- }
- else
- {
- TInt startEndTagLen = TPtrC(KXMLStartEndTag).Length();
- TInt endTagLen = TPtrC(KXMLEndTag).Length();
-
- if((aTagToParse.Left(startEndTagLen).Compare(KXMLStartEndTag) == 0) &&
- (aTagToParse.Right(endTagLen).Compare(KXMLEndTag) == 0))
- {
- if(aElement.NodeName().Compare(aTagToParse.Mid(2,
- aTagToParse.Length() - (startEndTagLen + endTagLen))) != 0)
- {
- retVal = KErrNotFound;
- }
- }
- }
- return retVal;
- }
-
-
-//==================================================================================
-
-EXPORT_C void CMDXMLParser::SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity)
-//
-// Sets iError to new errorcode if more serious than any error so far encountered
-//
- {
- if(iSeverity > aSeverity)
- {
- iSeverity = aSeverity;
- iError = aErrorCode;
- }
- }
-
-//==================================================================================
-
-EXPORT_C TInt CMDXMLParser::Error() const
- {
- return iError;
- }
-
-//==================================================================================
-
-EXPORT_C TXMLErrorCodeSeverity CMDXMLParser::ErrorSeverity() const
- {
- return iSeverity;
- }
-
-//==================================================================================
-
-void CMDXMLParser::HandleTextL(TDes& aChar)
-//
-// Called when a character is read in and found to bo outside of an element tag
-//
- {
- // Save the text in a buffer.
- // This text will get added as as a child element when the next tag is encounted.
- if (iText == NULL)
- iText = HBufC::NewL(KGMXMLDefaultTextBufferSize);
-
- if (iText->Length() == iText->Des().MaxLength())
- // The buffer will overflow if we add another character.
- // Need to reallocate.
- {
- iText = iText->ReAllocL(iText->Des().MaxLength() + KGMXMLDefaultTextBufferSize);
- }
-
- iText->Des().Append(aChar);
- }
-
-TBool CMDXMLParser::EndOfCDataSection()
- {
- TBool endOfCData = EFalse;
- TPtrC cdataEndSection(KXMLEndCDataSection);
- TInt instLen = TPtrC(KXMLEndCDataSection).Length()-1;
-
- __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
- if(iElementTag->Right(instLen) == cdataEndSection.Left(instLen))
- {
- if(iElementTag->Left(instLen) == KXMLStartCDataSection)
- endOfCData = ETrue;
- }
-
- return endOfCData;
- }
-
-TInt CMDXMLParser::CheckForStartCData(const TDesC& aTextToCheck)
- {
- TInt index;
- index = aTextToCheck.Find(KXMLStartCDataSection);
- return index;
- }
-
-TInt CMDXMLParser::FindDelimiter(TDesC& aDataToSearch, TDesC& aDelimiterToFind)
- {
- TInt currentOffset = 0;
- TInt nextDelimiter = KErrNotFound;
- TBool valid = EFalse;
- TPtrC unsearchedData(aDataToSearch);
-
- while (!valid && ((nextDelimiter = unsearchedData.Find(aDelimiterToFind)) != KErrNotFound))
- {
- // If this isn't the first time round the loop (When currentOffset == 0) we're moved
- // our attention to the character after the delimiter we found, so add one to currentOffset
- if(currentOffset != 0)
- {
- currentOffset += 1;
- }
- // We have a delimiter, add the position of this to currentOffset
- currentOffset += nextDelimiter;
-
- // Check whether this delimiter is in a CDataSection, it's valid if it isn't
- TPtrC delimiterToCheck = aDataToSearch.Left(currentOffset);
- valid = !InCDataSection(delimiterToCheck);
-
- // Move on to the next section of text in case this one wasn't valid
- unsearchedData.Set(aDataToSearch.Mid(currentOffset + 1));
- }
-
- if ((nextDelimiter == KErrNotFound) && (!valid))
- {
- return KErrNotFound;
- }
- else
- {
- return currentOffset;
- }
- }
-
-void CMDXMLParser::AddTextL(CMDXMLElement* aParentElement)
- {
- if ((aParentElement != NULL) && (iText != NULL))
- // Add any buffered text to the parent element unless it contains only whitespace
- {
- // Strip off any leading whitespace
- TInt stripCounter = 0;
-
- if (!iPreserve) // GmXML consumes whitespace characters
- {
- TBool endOfWhitespace = EFalse;
- while ((stripCounter < iText->Length()) && (!endOfWhitespace))
- {
- // If character is not 0x20 (space) and not between 0x09 and 0x0d
- // it isn't whitespace
- if( ((*iText)[stripCounter] != 0x20) &&
- !((*iText)[stripCounter] >= 0x09 && (*iText)[stripCounter] <= 0x0d))
- {
- endOfWhitespace = ETrue;
- }
- else
- {
- stripCounter++;
- }
- }
- }
-
- HBufC* strippedText = TPtrC(iText->Right(iText->Length() - stripCounter)).AllocLC();
-
- if (strippedText->Length() > 0)
- // If there is anything left of the stripped text then entity convert and add it.
- {
- TPtr toConvert = strippedText->Des();
- TInt error = iEntityConverter->EntityToTextL(toConvert);
- if( error != KErrNone )
- {
- SetError(error, EXMLIndeterminate);
- }
- CMDXMLText* textElement = CMDXMLText::NewLC(iXMLDoc);
- textElement->SetDataL(*strippedText);
- CleanupStack::Pop(textElement);
- TInt err = aParentElement->AppendChild(textElement);
- if(err != KErrNone)
- {
- SetError(err, EXMLWorkable);
- }
- }
-
- CleanupStack::PopAndDestroy(strippedText);
- iText->Des().Zero();
- }
- }
-
-TBool CMDXMLParser::InCDataSection(TDesC& aDataToSearch)
- {
- TBool inCDataSection = EFalse;
- TInt startCData = CheckForStartCData(aDataToSearch);
- TInt endCData = 0;
-
- while ((startCData != KErrNotFound) && !inCDataSection)
- {
- // We only want to look for the end of the CDataSection in the part of
- // aDataToSearch after the start of the CDataSection. We know that the
- // first (TPtrC)KXMLStartCDataSection.Length() of the data we're looking
- // at won't match because it's the start tag, but it's probably more
- // efficient to check the extra few characters than to work out the
- // length of the tag so we can ignore them.
- startCData += endCData;
- TPtrC afterStart = aDataToSearch.Mid(startCData);
- endCData = afterStart.Find(KXMLEndCDataSection);
- if (endCData == KErrNotFound)
- {
- // We haven't found a match for the start of the CDataSection so
- // we must still be in it -> "<" is valid.
- inCDataSection = ETrue;
- }
- else
- {
- // We found a match for the start of the CDataSection. Check to
- // see if another one has started since then.
- endCData += startCData;
- TPtrC afterEnd = aDataToSearch.Mid(endCData);
- startCData = CheckForStartCData(afterEnd);
- }
- }
-
- return inCDataSection;
- }
-
-TInt CMDXMLParser::ParseSingleAttributeL(TDes& aAttributeValue)
- {
- TInt error = KErrNone;
- TInt beginSection = 0;
- TInt endSection = aAttributeValue.Find(KXMLStartCDataSection);
-
- // We've found at least one CDataSection
- while(endSection != KErrNotFound)
- {
- // Entity convert this plain text section
- HBufC* textToConvert = TPtrC(aAttributeValue.Mid(beginSection, endSection)).AllocLC();
- TPtr toConvert = textToConvert->Des();
- error = iEntityConverter->EntityToTextL(toConvert);
- aAttributeValue.Replace(beginSection, endSection, *textToConvert);
- CleanupStack::PopAndDestroy(textToConvert);
-
- // Move on our markers. We start the new section at the end of the old one.
- beginSection += endSection;
- // The end of this new section is the end of the CDataSection
- endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLEndCDataSection);
-
- if(endSection != KErrNotFound)
- {
- // Now move on our markers again. Start at the end of the CDataSection,
- // plus the length of the end tag, and continue to the beginning of the next one.
- beginSection += endSection + TPtrC(KXMLEndCDataSection).Length();
- endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLStartCDataSection);
- }
- else
- {
- // There's an unterminated CDataSection in our attribute
- error = KErrXMLBadAttributeValue;
- }
- }
-
- // There are no more CDataSections, entity convert the rest of the string
- if(!error)
- {
- HBufC* textToConvert = TPtrC(aAttributeValue.Mid(beginSection)).AllocLC();
- TPtr toConvert = textToConvert->Des();
- error = iEntityConverter->EntityToTextL(toConvert);
- aAttributeValue.Replace(beginSection, (aAttributeValue.Length()-beginSection), *textToConvert);
- CleanupStack::PopAndDestroy(textToConvert);
- }
-
- return error;
- }
-
-
-EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver* /*aParserObserver*/)
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver* /*aParserObserver*/, MXMLDtd* /*aDtdRepresentation*/)
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport3()
- {
- User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
- }
-
-// End of File
--- a/xml/legacyminidomparser/XMLParser/STRINGS/SMILAttributes.st Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,289 +0,0 @@
-# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
-!/**
-!An Example String Table
-!@publishedAll
-!@released
-!*/
-# XML String table
-fstringtable SMILAttributes
-#
-# Standard SMIL Element, Attributes & Values
-#
-EAAccessKey a accesskey
-EAActuate a actuate onLoad onRequest
-EAAlt a alt
-EABegin a begin
-EAClass a class
-EADestinationLevel a destinationLevel
-EADestinationPlaystate a destinationPlaystate pause play stop
-EADur a dur
-EAEnd a end
-EAExternal a external false true
-EAFill a fill freeze hold remove transition
-EAHref a href
-EAId a id
-EAMax a max
-EAMin a min
-EARepeatCount a repeatCount
-EARepeatDur a repeatDur
-EAShow a show new pause replace
-EASourceLevel a sourceLevel
-EASourcePlaystate a sourcePlaystate pause play stop
-EATabIndex a tabindex
-EATarget a target
-EATitle a title
-EAXMLLang a xml:lang
-EAnchorBaseAccessKey anchorBase accesskey
-EAnchorBaseActuate anchorBase actuate onLoad onRequest
-EAnchorBaseAlt anchorBase alt
-EAnchorBaseBegin anchorBase begin
-EAnchorBaseClass anchorBase class
-EAnchorBaseCoOrds anchorBase coords
-EAnchorBaseDestLevel anchorBase destinationLevel
-EAnchorBaseDestinationPlaystate anchorBase destinationPlaystate pause play stop
-EAnchorBaseDur anchorBase dur
-EAnchorBaseEnd anchorBase end
-EAnchorBaseEndsync anchorBase endsync
-EAnchorBaseExternal anchorBase external false true
-EAnchorBaseFill anchorBase fill hold freeze remove transition
-EAnchorBaseHRef anchorBase href
-EAnchorBaseId anchorBase id
-EAnchorBaseMax anchorBase max
-EAnchorBaseMin anchorBase min
-EAnchorBase anchorBase nohref nohref
-EAnchorBaseRepeat anchorBase repeat
-EAnchorBaseRepeatCnt anchorBase repeatCount
-EAnchorBaseRepeatDur anchorBase repeatDur
-EAnchorBaseShape anchorBase shape circle default poly rect
-EAnchorBaseShow anchorBase show new pause replace
-EAnchorBaseSkipContent anchorBase skip-content false true
-EAnchorBaseSourceLev anchorBase sourceLevel
-EAnchorBaseSourcePlaystate anchorBase sourcePlaystate pause play stop
-EAnchorBaseTabIndex anchorBase tabindex
-EAnchorBaseTarget anchorBase target
-EAnchorBaseTitle anchorBase title
-EAnchorBaseXMLLang anchorBase xml:lang
-EBodyClass body class
-EBodyId body id
-EBodyTitle body title
-EBodyXMLLang body xml:lang
-EHeadClass head class
-EHeadId head id
-EHeadTitle head title
-EHeadXMLLang head xml:lang
-ELayoutClass layout class
-ELayoutId layout id
-ELayoutSysAudioDesc layout systemAudioDesc off on
-ELayoutSysBitrate layout systemBitrate
-ELayoutSysCPU layout systemCPU
-ELayoutSysCaptions layout systemCaptions off on
-ELayoutSysComp layout systemComponent
-ELayoutSysLang layout systemLanguage
-ELayoutSysOS layout systemOperatingSystem
-ELayoutSysOverCap layout systemOverdubOrSubtitle overdub subtitle
-ELayoutSysReq layout systemRequired
-ELayoutSysScrnDepth layout systemScreenDepth
-ELayoutSysScrnSize layout systemScreenSize
-ELayoutTitle layout title
-ElayoutType layout type
-ELayoutXMLLang layout xml:lang
-EMediaAbstract media abstract
-EMediaAlt media alt
-EMediaAuthor media author
-EMediaBegin media begin
-EMediaClass media class
-EMediaClipHypBegin media clip-begin
-EMediaClipHypEnd media clip-end
-EMediaClipBegin media clipBegin
-EMediaClipEnd media clipEnd
-EMediaCopyright media copyright
-EMediaCustomTest media customTest
-EMediaDur media dur
-EMediaEnd media end
-EMediaEndsync media endsync
-EMediaFill media fill freeze hold remove transition
-EMediaId media id
-EMediaLongDesc media longdesc
-EMediaMax media max
-EMediaMin media min
-EMediaReadIndex media readIndex
-EMediaRegion media region
-EMediaRepeat media repeat
-EMediaRepeatCount media repeatCount
-EMediaRepeatDur media repeatDur
-EMediaSrc media src
-EMediaSysHypBitrate media system-bitrate
-EMediaSysHypCap media system-captions
-EMediaSysHypLang media system-language
-EMediaSysHypOverCap media system-overdub-or-caption caption overdub
-EMediaSysHypReq media system-required
-EMediaSysHypScrnDepth media system-screen-depth
-EMediaSysHypScrnSize media system-screen-size
-EMediaSysAudioDesc media systemAudioDesc off on
-EMediaSysBitrate media systemBitrate
-EMediaSysCPU media systemCPU
-EMediaSysCaptions media systemCaptions off on
-EMediaSysComp media systemComponent
-EMediaSysLang media systemLanguage
-EMediaSysOS media systemOperatingSystem
-EMediaSysOverCap media systemOverdubOrSubtitle overdub subtitle
-EMediaSysReq media systemRequired
-EMediaSysScrnDepth media systemScreenDepth
-EMediaSysScrnSize media systemScreenSize
-EMediaTitle media title
-EMediaTransIn media transIn
-EMediaTransOut media transOut
-EMediaType media type
-EMediaXMLLang media xml:lang
-EMetaClass meta class
-EMetaContent meta content
-EMetaId meta id
-EMetaName meta name
-EMetaSkipContent meta skip-content false true
-EMetaTitle meta title
-EMetaXMLLang meta xml:lang
-EMetadataClass metadata class
-EMetadataId metadata id
-EMetadataSkipContent metadata skip-content false true
-EMetadataTitle metadata title
-EMetadataXMLLang metadata xml:lang
-EPrefetchBandwith prefetch bandwidth
-EPrefetchClass prefetch class
-EPrefetchId prefetch id
-EPrefetchMediaSize prefetch mediaSize
-EPrefetchMediaTime prefetch mediaTime
-EPrefetchSkipContent prefetch skip-content false true
-EPrefetchSrc prefetch src
-EPrefetchSysAudioDesc prefetch systemAudioDesc off on
-EPrefetchSysBitrate prefetch systemBitrate
-EPrefetchSysCPU prefetch systemCPU
-EPrefetchSysCaptions prefetch systemCaptions off on
-EPrefetchSysComp prefetch systemComponent
-EPrefetchSysLang prefetch systemLanguage
-EPrefetchSysOS prefetch systemOperatingSystem
-EPrefetchSysOvrdubSub prefetch systemOverdubOrSubtitle
-EPrefetchSysRequired prefetch systemRequired
-EPrefetchSysScrnDepth prefetch systemScreenDepth
-EPrefetchSysScrnSize prefetch systemScreenSize
-EPrefetchTitle prefetch title
-EPrefetchXMLLang prefetch xml:lang
-ERegionBGHypCol region background-color
-ERegionBGCol region backgroundColor
-ERegionBottom region bottom
-ERegionClass region class
-ERegionClose region close never whenNotActive
-ERegionFit region fit fill hidden meet scroll slice
-ERegionHeight region height
-ERegionId region id
-ERegionLeft region left
-ERegionOpen region open always whenActive
-ERegionRegionName region regionName
-ERegionRight region right
-ERegionShowBG region showBackground always whenActive
-ERegionSkipContent region skip-content false true
-ERegionTitle region title
-ERegionTop region top
-ERegionWidth region width
-ERegionXMLLang region xml:lang
-ERegionZIndex region z-index
-ERootLayoutBGHypCol root-layout background-color
-ERootLayoutBGCol root-layout backgroundColor
-ERootLayoutClass root-layout class
-ERootLayoutClose root-layout close never whenNotActive
-ERootLayoutHeight root-layout height
-ERootLayoutId root-layout id
-ERootLayoutOpen root-layout open always whenActive
-ERootLayoutSkipContent root-layout skip-content false true
-ERootLayoutTitle root-layout title
-ERootLayoutWidth root-layout width
-ERootLayoutXMLLang root-layout xml:lang
-ESMILClass smil class
-ESMILId smil id
-ESMILSysAudioDesc smil systemAudioDesc off on
-ESMILSysBitrate smil systemBitrate
-ESMILSysCPU smil systemCPU
-ESMILSysCaptions smil systemCaptions off on
-ESMILSysComp smil systemComponent
-ESMILSysLang smil systemLanguage
-ESMILSysOS smil systemOperatingSystem
-ESMILSysOverCap smil systemOverdubOrSubtitle overdub subtitle
-ESMILSysReq smil systemRequired
-ESMILSysScrnDepth smil systemScreenDepth
-ESMILSysScrnSize smil systemScreenSize
-ESMILTitle smil title
-ESMILXMLLang smil xml:lang
-ESMILXMLNS smil xmlns
-ESwitchClass switch class
-ESwitchId switch id
-ESwitchSysAudioDesc switch systemAudioDesc off on
-ESwitchSysBitrate switch systemBitrate
-ESwitchSysCPU switch systemCPU
-ESwitchSysCaptions switch systemCaptions off on
-ESwitchSysComp switch systemComponent
-ESwitchSysLang switch systemLanguage
-ESwitchSysOS switch systemOperatingSystem
-ESwitchSysOverCap switch systemOverdubOrSubtitle overdub subtitle
-ESwitchSysReq switch systemRequired
-ESwitchSysScrnDepth switch systemScreenDepth
-ESwitchSysScrnSize switch systemScreenSize
-ESwitchTitle switch title
-ESwitchXMLLang switch xml:lang
-ETimingAbstract timing abstract
-ETimingAuthor timing author
-ETimingBegin timing begin
-ETimingClass timing class
-ETimingCopyright timing copyright
-ETimingCustomTest timing customTest
-ETimingDur timing dur
-ETimingEnd timing end
-ETimingEndSync timing endsync
-ETimingFill timing fill freeze hold remove transition
-ETimingId timing id
-ETimingMax timing max
-ETimingMin timing min
-ETimingRepeat timing repeat
-ETimingRepeatCount timing repeatCount
-ETimingRepeatDur timing repeatDur
-ETimingSysHypBitRate timing system-bitrate
-ETimingSysHypCaptions timing system-captions on off
-ETimingSysHypLang timing system-language
-ETimingSysHypOverCap timing system-overdub-or-caption caption overdub
-ETimingSysHypReq timing system-required
-ETimingSysHypScrnDepth timing system-screen-depth
-ETimingSysHypScrnSize timing system-screen-size
-ETimingSysAudioDesc timing systemAudioDesc off on
-ETimingSysBitrate timing systemBitrate
-ETimingSysCPU timing systemCPU
-ETimingSysCaptions timing systemCaptions off on
-ETimingSysComp timing systemComponent
-ETimingSysLang timing systemLanguage
-ETimingSysOS timing systemOperatingSystem
-ETimingSysOverdubSub timing systemOverdubOrSubtitle
-ETimingSysReq timing systemRequired
-ETimingSysScrnDepth timing systemScreenDepth
-ETimingSysScrnSize timing systemScreenSize
-ETimingTitle timing title
-ETimingXMLLAng timing xml:lang
-ETransitionClass transition class
-ETransitionDirecton transition direction forward reverse
-ETransitionDur transition dur
-ETransitionEndProg transition endProgress
-ETransitionFadeCol transition fadeColor
-ETransitionId transition id
-ETransitionSkipContent transition skip-content false true
-ETransitionStartProg transition startProgress
-ETransitionSubtype transition subtype
-ETransitionSysAudioDesc transition systemAudioDesc off on
-ETransitionSysBitrate transition systemBitrate
-ETransitionSysCPU transition systemCPU
-ETransitionSysCaptions transition systemCaptions off on
-ETransitionSysComp transition systemComponent
-ETransitionSysLang transition systemLanguage
-ETransitionSysOS transition systemOperatingSystem
-ETransitionSysOvrdubSub transition systemOverdubOrSubtitle
-ETransitionSysRequired transition systemRequired
-ETransitionSysScrnDepth transition systemScreenDepth
-ETransitionSysScrnSize transition systemScreenSize
-ETransitionTitle transition title
-ETransitionType transition type
-ETransitionXMLLang transition xml:lang
--- a/xml/legacyminidomparser/XMLParser/STRINGS/SMILElements.st Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
-!/**
-!An Example String Table
-!@publishedAll
-!@released
-!*/
-# XML String table
-fstringtable SMILElements
-#
-# Standard SMIL Elements
-#
-Ea a
-EAnchor anchor
-EAnimate animate
-EAnimateColor animateColor
-EAnimateMotion animateMotion
-EAnimation animation
-EArea area
-EAudio audio
-EBody body
-EBrush brush
-ECustomAttributes customAttributes
-ECustomTest customTest
-EExcl excl
-EHead head
-EImg img
-ELayout layout
-EMeta meta
-EMetadata metadata
-EPar par
-EParam param
-EPrefetch prefetch
-EpriorityClass priorityClass
-ERef ref
-ERegion region
-ERegPoint regPoint
-ERootLayout root-layout
-ESeq seq
-ESmil smil
-ESwitch switch
-EText text
-ETextstream textstream
-ETopLayout topLayout
-ETransition transition
-ETransitionFilter transitionFilter
-EVideo video
--- a/xml/legacyminidomparser/XMLParser/STRINGS/SMILGenericElements.st Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
-!/**
-!An Example String Table
-!@publishedAll
-!@released
-!*/
-# XML String table
-fstringtable SMILGenericElements
-#
-# Standard SMIL Elements & Generic Equivalent
-#
-EAnchorBase anchor anchorBase
-EAnimationBase animation media
-EAreaBase area anchorBase
-EAudioBase audio media
-EImgBase img media
-EParBase par timing
-ERefBase ref media
-ESeqBase seq timing
-ETextBase text media
-ETextstreamBase textstream media
-EVideoBase video media
--- a/xml/legacyminidomparser/XMLParser/STRINGS/XMLEntityReferences.st Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-# XML String table
-fstringtable XMLEntityReferences
-#
-# Standard XML Entity References
-# These are assumed to have a maximum length of 20 in the generic
-# entity converter. If any built in entity reference is added
-# with a length greater than 20 the value of KMaxBuiltinEntityLength
-# in GMXMLEntityConverter.cpp will need to be modified.
-#
-ELT < <
-EAmp & &
-EGt > >
-EDbleQuote " \"
-ESingleQuote ' '
--- a/xml/legacyminidomparser/XMLParser/bmarm/V2_XMLPARSERU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-EXPORTS
- __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
- ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
- ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
- DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
- DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
- DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
- E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
- NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
- NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
- OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
- OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
- OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
- OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
- ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
- RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
- RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
- PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
- SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
- SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
- "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
- "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
- "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
- PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
- PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
- PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
- PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
- Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
- Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
- EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
- CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
- OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
- SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
- SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
- ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
- ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
- ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
- SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
- SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
-
--- a/xml/legacyminidomparser/XMLParser/bmarm/XMLPARSERU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-EXPORTS
- __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
- ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
- ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
- DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
- DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
- DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
- E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ; E32Dll(TDllReason)
- NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
- NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
- OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
- OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
- OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
- OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
- ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
- RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
- RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
- PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
- SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
- SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
- "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
- "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
- "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
- PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
- PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
- PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
- PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
- Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
- Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
- EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
- CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
- OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
- SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
- SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
- ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
- ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
- ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
- SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
- SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
-
--- a/xml/legacyminidomparser/XMLParser/bmarm/v1.5_xmlparserU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-EXPORTS
- __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
- ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
- ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
- DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
- DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
- DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
- E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
- NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
- NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
- NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
- OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
- OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
- OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
- OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
- ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
- RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
- RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
- PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
- SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
- SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
- "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
- "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
- "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
- PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
- PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
- PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
- PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
- Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
- Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
- EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
- NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
- NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
- CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
- OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
- SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
- SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
- ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
- ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
- ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
- SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
- SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
-
--- a/xml/legacyminidomparser/XMLParser/bwins/V2_XMLPARSERU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-EXPORTS
- ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
- ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
- ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
- ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
- ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
- ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
- ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
- ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
- ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
- ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
- ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
- ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
- ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
- ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
- ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
- ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
- ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
- ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
- ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
- ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
- ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
- ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
- ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
- ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
- ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
- ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
- ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
- ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
- ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
- ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
- ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
- ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
- ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
- ?ParseSourceL@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; void CMDXMLParser::ParseSourceL(class MMDXMLParserDataProvider *)
- ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
- ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
- ?ComposeFile@CMDXMLComposer@@QAEHAAVRFile@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 47 NONAME ; int CMDXMLComposer::ComposeFile(class RFile &, class CMDXMLDocument *, enum TXMLFileType)
- ?ParseFile@CMDXMLParser@@QAEHAAVRFile@@@Z @ 48 NONAME ; int CMDXMLParser::ParseFile(class RFile &)
- ?SetWhiteSpaceHandlingMode@CMDXMLParser@@QAEXH@Z @ 49 NONAME ; void CMDXMLParser::SetWhiteSpaceHandlingMode(int)
-
--- a/xml/legacyminidomparser/XMLParser/bwins/XMLPARSERU.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-EXPORTS
- ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
- ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
- ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
- ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
- ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
- ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
- ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
- ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
- ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
- ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
- ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
- ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
- ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ; int __cdecl E32Dll(enum TDllReason)
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
- ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
- ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
- ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
- ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
- ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
- ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
- ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
- ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
- ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
- ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
- ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
- ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
- ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
- ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
- ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
- ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
- ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
- ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
- ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
- ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
- ?ParseSource@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; public: void __thiscall CMDXMLParser::ParseSource(class MMDXMLParserDataProvider *)
- ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
- ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
-
--- a/xml/legacyminidomparser/XMLParser/bwins/v1.5_xmlparserU.def Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-EXPORTS
- ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
- ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
- ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
- ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
- ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
- ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
- ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
- ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
- ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
- ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
- ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
- ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
- ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
- ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
- ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
- ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
- ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
- ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
- ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
- ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
- ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
- ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
- ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
- ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
- ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
- ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
- ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
- ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
- ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
- ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
- ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
- ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
- ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
- ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
- ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
- ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
- ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
- ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
- ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
- ?ParseSource@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; public: void __thiscall CMDXMLParser::ParseSource(class MMDXMLParserDataProvider *)
- ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
- ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
-
--- a/xml/legacyminidomparser/XMLParser/eabi/v1.5_xmlparseru.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-EXPORTS
- _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
- _ZN12CMDXMLParser11ParseSourceEP24MMDXMLParserDataProvider @ 2 NONAME
- _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
- _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
- _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
- _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
- _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
- _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
- _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
- _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
- _ZN12CMDXMLParserD0Ev @ 18 NONAME
- _ZN12CMDXMLParserD1Ev @ 19 NONAME
- _ZN12CMDXMLParserD2Ev @ 20 NONAME
- _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
- _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
- _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
- _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
- _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
- _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
- _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
- _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
- _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
- _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
- _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
- _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
- _ZN14CMDXMLComposerD0Ev @ 40 NONAME
- _ZN14CMDXMLComposerD1Ev @ 41 NONAME
- _ZN14CMDXMLComposerD2Ev @ 42 NONAME
- _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
- _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
- _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
- _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
- _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
- _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
- _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
- _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
- _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
- _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
- _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
- _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
- _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
- _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
- _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
- _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
- _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
- _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
- _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
-
--- a/xml/legacyminidomparser/XMLParser/eabi/v2_xmlparseru.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-EXPORTS
- _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
- _ZN12CMDXMLParser12ParseSourceLEP24MMDXMLParserDataProvider @ 2 NONAME
- _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
- _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
- _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
- _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
- _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
- _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
- _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
- _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
- _ZN12CMDXMLParserD0Ev @ 18 NONAME
- _ZN12CMDXMLParserD1Ev @ 19 NONAME
- _ZN12CMDXMLParserD2Ev @ 20 NONAME
- _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
- _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
- _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
- _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
- _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
- _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
- _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
- _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
- _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
- _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
- _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
- _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
- _ZN14CMDXMLComposerD0Ev @ 40 NONAME
- _ZN14CMDXMLComposerD1Ev @ 41 NONAME
- _ZN14CMDXMLComposerD2Ev @ 42 NONAME
- _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
- _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
- _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
- _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
- _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
- _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
- _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
- _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
- _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
- _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
- _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
- _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
- _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
- _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
- _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
- _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
- _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
- _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
- _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
- _ZN12CMDXMLParser9ParseFileER5RFile @ 62 NONAME
- _ZN14CMDXMLComposer11ComposeFileER5RFileP14CMDXMLDocument12TXMLFileType @ 63 NONAME
- _ZN12CMDXMLParser25SetWhiteSpaceHandlingModeEi @ 64 NONAME
-
--- a/xml/legacyminidomparser/XMLParser/eabi/xmlparseru.DEF Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-EXPORTS
- _Z6E32Dll10TDllReason @ 1 NONAME
- _ZN12CMDXMLParser11ParseSourceEP24MMDXMLParserDataProvider @ 2 NONAME
- _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
- _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
- _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
- _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
- _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
- _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
- _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
- _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
- _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
- _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
- _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
- _ZN12CMDXMLParserD0Ev @ 18 NONAME
- _ZN12CMDXMLParserD1Ev @ 19 NONAME
- _ZN12CMDXMLParserD2Ev @ 20 NONAME
- _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
- _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
- _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
- _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
- _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
- _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
- _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
- _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
- _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
- _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
- _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
- _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
- _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
- _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
- _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
- _ZN14CMDXMLComposerD0Ev @ 40 NONAME
- _ZN14CMDXMLComposerD1Ev @ 41 NONAME
- _ZN14CMDXMLComposerD2Ev @ 42 NONAME
- _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
- _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
- _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
- _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
- _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
- _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
- _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
- _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
- _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
- _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
- _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
- _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
- _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
- _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
- _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
- _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
- _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
- _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
- _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
-
--- a/xml/legacyminidomparser/XMLParser/test/GmxmlTest.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-This is a test file for t_gmxmlfailure test harness.
\ No newline at end of file
--- a/xml/legacyminidomparser/XMLParser/test/GmxmlTestUtils.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,324 +0,0 @@
-// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-
-#include "GmxmlTestUtils.h"
-
-
-_LIT(KMsvTestFileOutputBase,"MsgLogs");
-
-// this is used if we can't find MsgLogs anywhere
-_LIT(KMsvTestFileDefaultOutputBase,"\\MsgLogs\\");
-_LIT(KMsvPathSep,"\\");
-#define KMaxLogLineLength 256
-
-
-
-//
-//
-// CTestTimer
-//
-//
-
- CTestTimer::CTestTimer()
-: CTimer(EPriorityLow)
- {}
-
- void CTestTimer::RunL()
- {
- if (!iReport)
- {
- CActiveScheduler::Stop();
- }
- else
- {
- User::RequestComplete(iReport, iStatus.Int());
- iReport = NULL;
- }
- }
-
- CTestTimer* CTestTimer::NewL()
- {
- CTestTimer* self = new(ELeave) CTestTimer();
- CleanupStack::PushL(self);
- self->ConstructL(); // CTimer
- CActiveScheduler::Add(self);
- CleanupStack::Pop();
- return self;
- }
-
- void CTestTimer::AfterReq(TTimeIntervalMicroSeconds32 aSec, TRequestStatus& aStatus)
- {
- iReport = &aStatus;
- aStatus = KRequestPending;
- After(aSec);
- }
-
-
-//
-//
-// CTestUtils
-//
-//
-
- CTestUtils::CTestUtils(RTest& aRTest)
-: iRTest(aRTest), iLogToConsole(ETrue), iLogToFile(ETrue)
- {
- TBuf<256> command;
- User::CommandLine(command);
-
- command.Trim();
- SetRunAuto(command.FindF(KTestShowMenu) == KErrNotFound);
-
- if (!RunAuto())
- iRTest.Printf(_L("Not Run Auto. Command line: %S\n"), &command);
- }
-
- CTestUtils::~CTestUtils()
- {
- CloseMainLog();
- iFs.Close();
- }
-
- void CTestUtils::ConstructL()
- {
- User::LeaveIfError(iFs.Connect());
- OpenMainLogL();
- WriteToLog(KTestHeader);
- }
-
- void CTestUtils::Printf(TRefByValue<const TDesC> aFmt,...)
- {
- // Print to the log file.
- TTestOverflow overflow(*this);
- VA_LIST list;
- VA_START(list, aFmt);
- TBuf<0x100> aBuf;
- aBuf.AppendFormatList(aFmt, list, &overflow);
-
- if (iLogToConsole)
- {
- iRTest.Printf(aBuf);
- }
-
- if (iLogToFile)
- {
- WriteComment(aBuf);
- }
- }
-
-
- void CTestUtils::CreateAllTestDirectories()
- {
- TChar driveChar=RFs::GetSystemDriveChar();
- TBuf<2> systemDrive;
- systemDrive.Append(driveChar);
- systemDrive.Append(KDriveDelimiter);
-
- iFs.SetSessionPath(systemDrive);
-
- if (!iFs.MkDir(KLogsDir))
- {
- Printf(_L("Created c:\\logs\\ directory\n"));
- }
- }
-
- TInt CTestUtils::ResolveLogFile(const TDesC& aFileName, TParse& aParseOut)
- {
- TFileName* savedPath = new TFileName;
- TFileName* fileName = new TFileName;
- if ((savedPath == NULL) || (fileName == NULL))
- return KErrNoMemory;
-
- fileName->Append(KMsvPathSep);
- fileName->Append(KMsvTestFileOutputBase);
- fileName->Append(KMsvPathSep);
-
- // file finder will look in the session drive first, then Y->A,Z
- // so set session drive to Y (save old and restore it afterwards)
- iFs.SessionPath(*savedPath);
- _LIT(KTopDrive,"Y:\\");
- iFs.SetSessionPath(KTopDrive);
- TFindFile file_finder(iFs);
- TInt err = file_finder.FindByDir(*fileName,KNullDesC);
-
- if(err==KErrNone)
- {
- fileName->Copy(file_finder.File());
- AppendTestName(*fileName);
- fileName->Append(KMsvPathSep);
- fileName->Append(aFileName);
- iFs.MkDirAll(*fileName);
- aParseOut.Set(*fileName,NULL,NULL);
- }
- iFs.SetSessionPath(*savedPath);
- delete savedPath;
- delete fileName;
- return(err);
- }
-
- TBool CTestUtils::RunAuto() const
- {
- return iRunAuto;
-}
-
- void CTestUtils::SetRunAuto(TBool aRunAuto)
- {
- iRunAuto = aRunAuto;
- }
-
-
-// appends .<PLATFORM>.<VARIANT>.log to aFileName;
-void CTestUtils::AppendVariantName(TDes& aFileName)
- {
-#if (defined(__THUMB__) || defined(__MARM_THUMB__))
- aFileName.Append(_L(".THUMB."));
-#endif
-#if (defined(__ARMI__) || defined(__MARM_ARMI__))
- aFileName.Append(_L(".ARMI."));
-#endif
-#if (defined(__ARM4__) || defined(__MISA__) || defined(__MARM_ARM4__))
- aFileName.Append(_L(".ARM4."));
-#endif
-#if defined(__WINSCW__)
- aFileName.Append(_L(".WINSCW."));
-#else
-#if defined(__WINS__)
- aFileName.Append(_L(".WINS."));
-#endif
-#endif
-
-#if defined(_DEBUG)
- aFileName.Append(_L("DEB."));
-#else
- aFileName.Append(_L("REL."));
-#endif
- aFileName.Append(_L("LOG"));
- }
-
-// appends the test harness name to aFileName
-void CTestUtils::AppendTestName(TDes &aFileName)
- {
- TInt start = RProcess().FileName().LocateReverse('\\');
- TInt end = RProcess().FileName().LocateReverse('.');
-
- if (end == KErrNotFound)
- end = RProcess().FileName().Length();
-
- aFileName.Append(RProcess().FileName().Mid(start + 1, end - start - 1));
- }
-
-
-
-TInt CTestUtils::OpenMainLogL()
- {
- _LIT(KDisplayLogFile,"Log File %S\n");
- TParse loglocation;
- TFileName logfile;
- TInt err=ResolveLogFile(KNullDesC, loglocation);
- if(err!=KErrNone)
- {
- TChar driveChar=RFs::GetSystemDriveChar();
- TBuf<2> systemDrive;
- systemDrive.Append(driveChar);
- systemDrive.Append(KDriveDelimiter);
- TPath pathName(systemDrive) ;
- pathName.Append(KMsvTestFileDefaultOutputBase);
- iFs.MkDirAll(pathName);
- err=ResolveLogFile(KNullDesC, loglocation);
- }
- User::LeaveIfError(err);
- logfile.Copy(loglocation.FullName());
- logfile.Delete(logfile.Length()-1,1);
- AppendVariantName(logfile);
- iRTest.Printf(KDisplayLogFile, &logfile);
- iFs.MkDirAll(logfile);
-
- iLogBuf=HBufC::NewL(KMaxLogLineLength);
- iLogBuf8=HBufC8::NewL(KMaxLogLineLength);
- return(iFile.Replace(iFs,logfile,EFileWrite|EFileShareAny));
- }
-
-void CTestUtils::CloseMainLog()
- {
- delete iLogBuf;
- iLogBuf=0;
- delete iLogBuf8;
- iLogBuf8=0;
-
- iFile.Close();
- }
-
-
- void CTestUtils::TestStart(TInt aTest, const TDesC& aTestDescription)
- {
- WriteToLog(KTestStartingWithDesc, aTest, &aTestDescription);
- }
-
-
- void CTestUtils::TestFinish(TInt aTest, TInt aError)
- {
- aError ?
- WriteToLog(KTestFailed, aTest, aError)
- : WriteToLog(KTestPassed, aTest);
- }
-
-
- void CTestUtils::TestHarnessCompleted()
- {
- WriteToLog(KTestHarnessCompleted);
- }
-
- void CTestUtils::TestHarnessFailed(TInt aError)
- {
- WriteToLog(KTestHarnessFailed, aError);
- }
-
- void CTestUtils::WriteComment(const TDesC& aComment)
- {
- /* Prepends KTestCommentPrepend to aComment, then writes it to aFlogger */
-
- TBuf<0x100> buf;
- buf.Copy(aComment);
- buf.Trim();
- buf.Insert(0,KTestCommentPrepend);
- WriteToLog(buf);
- }
-
-void CTestUtils::WriteToLog(TRefByValue<const TDesC> aFmt,...)
- {
-
- _LIT(KDateFormatString, "%D%M%*Y%1%/1%2%/2%3 %H%:1%T%:2%S ");
- _LIT(Kcr,"\r\n");
- iLogBuf->Des().Zero();
- TTime date;
- date.HomeTime();
- TBuf<18> dateString;
-
- TRAPD(error,date.FormatL(dateString,(KDateFormatString)));
- if(error)
- {
- dateString.Copy(_L("Invalid Date"));
- }
- iLogBuf->Des().Copy(dateString);
-
- VA_LIST list;
- VA_START(list,aFmt);
-
- iLogBuf->Des().AppendFormatList(aFmt,list);
- iLogBuf->Des().Append(Kcr);
- iLogBuf8->Des().Copy(*iLogBuf);
- iFile.Write(*iLogBuf8);
- }
--- a/xml/legacyminidomparser/XMLParser/test/GmxmlTestUtils.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,144 +0,0 @@
-// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef GMXML_TEST_UTILS_H_
-#define GMXML_TEST_UTILS_H_
-
-#include <f32file.h>
-#include <e32test.h>
-#include <simtsy.h>
-
-
-// Constants
-
-//Test Harness Logging
-
-#define KLogsDir _L("c:\\logs\\")
-#define KTestHeader _L("Test Results")
-#define KTestStartingWithDesc _L("Test %d Starting (%S)")
-#define KTestPassed _L("Test %d OK")
-#define KTestFailed _L("Test %d FAILED (error = %d)")
-#define KTestHarnessCompleted _L("Tests Completed")
-#define KTestHarnessFailed _L("Tests FAILED (error = %d)")
-#define KTestCommentPrepend _L(" ")
-
-#define KTestShowMenu _L("/manual")
-
-
-//
-//
-// CTestTimer
-//
-//
-
-class CTestTimer : public CTimer
- {
-public:
- static CTestTimer* NewL();
- void AfterReq(TTimeIntervalMicroSeconds32 aSec, TRequestStatus& aStatus);
-protected:
- CTestTimer();
- void RunL();
-
-private:
- TRequestStatus* iReport;
- };
-
-//
-//
-// CTestUtils
-//
-//
-
-class CTestUtils : public CBase
- {
-public:
-//File Logging
-
- void TestStart(TInt aTest, const TDesC& aTestDescription);
- void TestFinish(TInt aTest, TInt aError = KErrNone);
- void TestHarnessCompleted();
- void TestHarnessFailed(TInt aError);
- void WriteComment(const TDesC& aComment);
-
-
-//Test Utils
-
- virtual void CreateAllTestDirectories();
-
- // File location
-
-
- TInt ResolveLogFile(const TDesC& aFileName, TParse& aParseOut);
-
- void Printf(TRefByValue<const TDesC> aFmt,...); //prints to RTest and LogFile, depending on iLogToConsole and iLogToFile
-
-
- inline RTest& Test() const;
-
- TBool RunAuto() const;
- void SetRunAuto(TBool aRunAuto = ETrue);
-
-public:
-
-protected:
- virtual void ConstructL();
- CTestUtils(RTest& aRTest);
- ~CTestUtils();
-
-
- virtual void Panic(TInt aPanic) = 0;
-
- void AppendTestName(TDes &aFileName);
- void AppendVariantName(TDes& aFileName);
-
- TInt OpenMainLogL();
- void CloseMainLog();
- void WriteToLog(TRefByValue<const TDesC> aFmt,...);
-
-
-
-protected:
-
- RFs iFs;
- RFile iFile;
- RTest& iRTest;
- TBool iLogToConsole;
- TBool iLogToFile;
-
- TBool iRunAuto;
- HBufC* iLogBuf;
- HBufC8* iLogBuf8;
-
- };
-
-class TTestOverflow : public TDes16Overflow
- {
-public:
- TTestOverflow(CTestUtils& aTest)
- : iTest(aTest) {};
-
- // TDes16Overflow pure virtual
- virtual void Overflow(TDes16& /*aDes*/) {iTest.Printf(_L("ERROR: Printf Overflow\n")); iTest.Test()(EFalse);};
-
-private:
- CTestUtils& iTest;
- };
-
-
-
-#include "GmxmlTestUtils.inl"
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/test/GmxmlTestUtils.inl Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// GMXMLTESTUTILS.INL
-//
-
-RTest& CTestUtils::Test() const
- {
- return iRTest;
- }
--- a/xml/legacyminidomparser/XMLParser/test/GmxmlTestsetup.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,150 +0,0 @@
-// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifndef __GMXMLTESTSETUP_H__
-#define __GMXMLTESTSETUP_H__
-
-#include <e32base.h>
-#include "GmxmlTestUtils.h"
-
-// The following must be defined by the test exe
-GLREF_D RTest test;
-LOCAL_C void doTestsL();
-
-// Globals
-CTrapCleanup* theCleanup = NULL;
-
-TInt TestNum = 0;
-class CGenericTestUtils;
-CGenericTestUtils* theUtils = NULL;
-
-// Constants
-
-// Useful macros
-TInt theError;
-
-
-//**********************************
-// CGenericTestUtils
-//**********************************
-
-class CGenericTestUtils : public CTestUtils
- {
-public:
- static CGenericTestUtils* NewL(RTest& aTest);
- CGenericTestUtils(RTest& aTest);
- void Panic(TInt aPanic);
- //
-public:
- static void CreateDataFilesL(const TDesC& aFilename, const TDesC& aMtmName, TUid aUid);
- static TBool WaitForKeyL(TTimeIntervalMicroSeconds32 aDelay, TKeyCode* aKeyCode = NULL);
- static void Start(const TDesC& aDes);
- static void Next(const TDesC& aDes);
- static void Complete();
- static void End();
- };
-
-CGenericTestUtils* CGenericTestUtils::NewL(RTest& aTest)
- {
- CGenericTestUtils* self = new(ELeave)CGenericTestUtils(aTest);
- CleanupStack::PushL(self);
- self->ConstructL();
- CleanupStack::Pop(); // self
- return self;
- }
-
-CGenericTestUtils::CGenericTestUtils(RTest& aTest)
-: CTestUtils(aTest)
- {
- }
-
-void CGenericTestUtils::Panic(TInt)
- {
- test(EFalse);
- }
-
-void CGenericTestUtils::Start(const TDesC& aDes)
- {
- test.Start(aDes);
- theUtils->TestStart(++TestNum, aDes);
- }
-
-void CGenericTestUtils::Next(const TDesC& aDes)
- {
- test.Next(aDes);
- theUtils->TestStart(++TestNum, aDes);
- }
-
-void CGenericTestUtils::Complete()
- {
- theUtils->TestFinish(TestNum, KErrNone);
- }
-
-void CGenericTestUtils::End()
- {
- test.End();
- }
-
-//**********************************
-// Global
-//**********************************
-
-LOCAL_C void SetupL()
- {
-// CActiveScheduler::Install(theScheduler = new(ELeave)CTestScheduler);
-
- // Create test class
- theUtils = CGenericTestUtils::NewL(test);
-
-// test.Printf(_L("Cleaning Message Folder\n"));
-// CGenericTestUtils::CleanMessageFolderL();
-// CGenericTestUtils::SetDriveL(EDriveC);
-// CGenericTestUtils::SetDebugL(ETrue);
-
- }
-
-LOCAL_C void Close(TInt aRet)
- {
- if (theUtils)
- {
- if (!aRet)
- theUtils->TestHarnessCompleted();
- else
- theUtils->TestHarnessFailed(aRet);
- }
- delete theUtils;
- }
-
-LOCAL_C void doMainL()
- {
- SetupL();
- doTestsL();
- }
-
-GLDEF_C TInt E32Main()
- {
- __UHEAP_MARK;
- theCleanup=CTrapCleanup::New();
- TRAPD(ret,doMainL());
- Close(ret);
- delete theCleanup;
- test.Console()->SetPos(0, 13);
- test.End();
- test.Close();
- __UHEAP_MARKEND;
- return(KErrNone);
- }
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/body_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- 'body' contains 1 'img' element: ILLEGAL --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <img src="FirstImage.jpg" region="Image"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/head_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: head element, structure variations -->
-<!-- 'head' contains more than one 'layout' element: ILLEGAL --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <layout>
- <!-- This is a "portrait" screen --> <root-layout width="176" height="216"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="72" left="0" top="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch element, invalid attribute -->
-<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" skip-content="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch element, invalid attribute -->
-<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" systemAudioDesc="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch element, invalid attribute -->
-<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" systemCaptions="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_meta_att1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute value -->
-<!-- skip-content incorrect value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="yes"/> <transition type="fade" direction="forward"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_metadata_att1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute value -->
-<!-- skip-content incorrect value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith"/> <transition type="fade" direction="forward"/> <metadata skip-content="no"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: transition element, attribute value -->
-<!-- direction incorrect attribute value --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition startProgress="0.3" endProgress="0.5" direction="backwards"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: transition element, attribute value -->
-<!-- systemAudioDesc attribute value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemAudioDesc="no"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: transition element, attribute value -->
-<!-- systemCaptions attribute value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemCaptions="no"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: transition element, invalid attribute -->
-<!-- invalid longDesc attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemCaptions="off" longDesc="an invalid attribute"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains 2 'region' elements, followed by a 'root-layout' -->
-<!-- Elements in WRONG ORDER --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> <root-layout width="352" height="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains 2 'root-layout' elements, which is an ERROR --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <root-layout width="300" height="100"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' end tag has MISSING '/' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> <layout/> </layout> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> </head></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/par_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, structure variations -->
-<!-- 'par' contains ILLEGAL child element --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text" alt="First text" begin="0s" end="10s"/> <text src="SecondText.txt" region="Text" alt="Second text" begin="10s" end="20s"/> <audio src="FirstSound.amr"/> <region id="SomeMedia" width="176" height="144" left="0" top="0"/> <ref src="SomeMedia.abc" region="SomeMedia" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/region_att_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit ILLEGAL --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="illegal"/> <region id="Text" width="176" height="144" left="176" top="0" fit="illegal"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/smil_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: smil element, structure variations -->
-<!-- A 'smil' containing a 'head' and a 'body' in the WRONG ORDER --><smil> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Invalid/text_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: text element, structure variations -->
-<!-- MISSING '/'. 'text' element has a start tag, but no end tag. --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text> <audio src="FirstSound.amr"/> </text> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, alt, begin, end SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr" alt="First sound" begin="1s" end="6s"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, alt, begin, end IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- clipBegin clipEnd author copyright IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio clipBegin="1s" clipEnd="2s" author="Symbian" copyright="copyright Symbian"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- 'body' contains 3 'par' elements --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- 'body' contains 1 'par' element --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Empty 'body' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/head_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: head element, structure variations -->
-<!-- 'head' contains a 'layout' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/head_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: head element, structure variations -->
-<!-- Empty 'head' element --><smil> <head/> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/head_struct_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: structure of head -->
-<!-- meta, transition, layout specified --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition id="ftb2" type="fade" subtype="fadeToColor" fadeColor="#000000"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/head_struct_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute variations -->
-<!-- name, content, skip-content SPECIFIED --><smil> <head> <transition id="myfire" type="superCool" subtype="fire"/> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- transIn transOut IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img transIn="xfade" transOut="xfade"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/img_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: img element, structure variations -->
-<!-- Empty 'img' element replaced by start and end tags --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains 'root-layout' followed by 2 'region' elements --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains 2 'region' elements --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains 'root-layout' followed by 1 'region' element --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: layout element, structure variations -->
-<!-- 'layout' contains a 'root-layout' only --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/meta_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute variations -->
-<!-- name, content SPECIFIED -->
-<!-- I haven't got proper documentation on 'meta', so for now, there is just this one test document -->
-<!-- 'meta' is a child of 'head' in the example in the documentation, but I am not sure if this is legal --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/meta_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute variations -->
-<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/metadata_att1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: metadata element, attribute variations -->
-<!-- skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <metadata skip-content="false"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- dur SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- dur IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_prefetch.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch child element -->
-<!-- prefetch SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, structure variations -->
-<!-- 'par' contains one of each possible child element --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, structure variations -->
-<!-- 'par' contains multiple child elements of the same type --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text" alt="First text" begin="0s" end="10s"/> <text src="SecondText.txt" region="Text" alt="Second text" begin="10s" end="20s"/> <audio src="FirstSound.amr"/> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: par element, structure variations -->
-<!-- Empty 'par' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch skip-content attribute -->
-<!-- prefetch SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" skip-content="false"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch bandwidth attribute -->
-<!-- prefetch SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" bandwidth="20%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch mediatime attribute -->
-<!-- prefetch SPECIFIED mediatime attribute --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" mediaTime="60%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: prefetch mediaSize attribute -->
-<!-- prefetch SPECIFIED mediaSize specified--><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" mediaSize="20%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, region, alt, clipBegin SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" clipBegin="npt=123.45s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, region, alt, clipBegin SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" clipBegin="npt=123.45s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, region, alt, longDesc, clip-begin clip-end SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" alt="Some media" longdesc="getsomemedia.html" clip-begin="5s" clip-end="2s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- abstract, src, region, alt, longDesc, readIndex SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref abstract="This is about some media" src="SomeMedia.abc" region="Image" alt="Some media" longdesc="getsomemedia.html" readIndex="3"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit DEFAULT='hidden' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id IMPLIED -->
-<!-- width, height, left, top DEFAULT='auto' -->
-<!-- fit SPECIFIED="hidden" --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region fit="hidden"/> <region fit="hidden"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit SPECIFIED="fill" --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="fill"/> <region id="Text" width="176" height="144" left="176" top="0" fit="fill"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit SPECIFIED="meet" --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="meet"/> <region id="Text" width="176" height="144" left="176" top="0" fit="meet"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit SPECIFIED="scroll" --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0" fit="scroll"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, width, height, left, top SPECIFIED -->
-<!-- fit SPECIFIED="slice" --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="slice"/> <region id="Text" width="176" height="144" left="176" top="0" fit="slice"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/region_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: region element, structure variations -->
-<!-- Start and End tags used for this element, rather than an Empty element tag -->
-<!-- This should be legal --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/root-layout_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- width, height SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/root-layout_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- width, height DEFAULT='auto' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: smil element, structure variations -->
-<!-- A 'smil' containing a 'head' followed by a 'body' --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: smil element, structure variations -->
-<!-- A 'smil' containing a 'head' only --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: smil element, structure variations -->
-<!-- A 'smil' containing a 'body' only --><smil> <body> <par dur="8s"> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: smil element, structure variations -->
-<!-- An empty 'smil' --><smil/>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/text_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text" alt="First text" begin="1s" end="6s"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/text_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: transition element, attribute variations -->
-<!-- startProgress, endProgress SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition startProgress="0.3" endProgress="0.5"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute variations -->
-<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="fade" direction="forward"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
-<!-- Focus of this test: meta element, attribute variations -->
-<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" skip-content="true"/> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external ILLEGAL VALUE -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" external="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" actuate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill ILLEGAL VALUE -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" fill="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate ILLEGAL VALUE -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" sourcePlaystate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate ILLEGAL VALUE -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" destinationPlaystate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_9.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show ILLEGAL VALUE -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" show="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/cdata_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/empty.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE smil SYSTEM "mms_smil.dtd">
-
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/entitiy_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute containing built in and character entities -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination <' & "> Entity Conversion" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#8&#x30;;resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#x52abcdef;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#x10000;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#65536;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, unexpected attribute name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area unexpected="unexpected" shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, no closing tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"> <audio src="FirstSound.amr"/> </text> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, missing '>' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image" /
- <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, empty element + end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"/> <img region="source" src="source.jpg"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: spurious video end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, missing end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> </head></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, mismatched quotations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="The body of the message' xml:lang="> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_16.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, missing end of quotation --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="The body of the message xml:lang="> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, missing start of quotation --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, missing quotation marks --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, unexpected '<' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <<a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </<a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, unexpected attribute names --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref unexpected1="unexpected" src="OtherMedia.xyz" type="xyz" fill="transition" system-captions="off" unexpected2="unexpected" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, unexpected '>' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination">"http://www.example.org/presentationB#next">
- <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, unexpected ''' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next'"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, unexpected '&' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/&presentationB#next"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_23.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, unexpected '"' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next">"
- <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: incomplete file: missing 'smil' end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_25.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: incomplete file: missing 'smil' start tag --><head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout></head><body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par></body>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: smil element, repeated attribute --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, repeated attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq min="500s" author="M. Smith" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="SeqId" class="class1 class2" title="A sequence time container" xml:lang="en-GB" abstract="A sequence time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, illegal child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, illegal child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, incorrect child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, mismatched tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_9.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, mismatched tags: extra character --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/inc021591.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, attribute variations -->
-<!-- Invalid comment line -->
-<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <doc a1="&#123:"/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/inc021675.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" -->
-<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- Use of '<' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream< factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Unknown element name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <image region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Unknown element name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layou width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Repeated XML version tags -->
-<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Repeated XML version tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
-<?XML version="1.0" ?>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Repeated XML version tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen -->
- <?XML version="1.0" ?> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Repeated DOCTYPE tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_16.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- Repeated DOCTYPE tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Repeated 'smil' tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body> </smil></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Repeated 'smil' tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head></smil><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- Use of '>' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB">picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith"
- copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."
- longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s"
- repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove"
- systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub"
- systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on"
- systemOperatingSystem="symbianos" systemCPU="arm32"
- systemComponent="http://www.example.org/SomeCodec" region="Image"/>
- <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </img> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- End of file within a quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, structure variations -->
-<!-- End of file within a start tag, between attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <switch> <par dur="8s" systemBitrate="40000"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </switch> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_23.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_25.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_26.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_27.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- End of file within end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_28.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- End tag in a different case to the start tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_29.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, attribute variations -->
-<!-- Invalid comment line --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- Use of '"' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo" 1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_31.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, attribute variations -->
-<!-- Invalid comment line --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>// This is a "landscape" screen
- <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_32.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_33.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_34.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_35.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_36.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_37.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_38.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_39.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- Use of non-quoted single word attribute values --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_40.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- shape="rectangle", in place of shape="rect" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="rectangle" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- fill="removes" rather than fill="remove" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="OtherMedia" class="class1 class2" title="Ice cream factory, in new media format" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Other media" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="OtherMedia.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="removes" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- sourcePlaystate="playd" rather than "play" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="playd" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Element names in upper case --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <BODY> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </BODY></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_9.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- Element names in upper case --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <A target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </A> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground ILLEGAL VALUE -->
-<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" showBackground="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content ILLEGAL VALUE -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" skip-content="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close ILLEGAL VALUE -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" close="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_9.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open ILLEGAL VALUE -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" open="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
-<!-- height, width DEFAULT='auto' -->
-<!-- skip-content ILLEGAL VALUE -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
-<!-- height, width DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close ILLEGAL VALUE -->
-<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout close="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
-<!-- height, width DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout open="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Invalid/switch_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, structure variations -->
-<!-- 'switch' contains a number of 'layout' elements, but only one is allowed --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <switch> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <layout>
- <!-- This is a "portrait" screen --> <root-layout width="176" height="216"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="72" left="0" top="144"/> </layout> </switch> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- sourcePlaystate SPECIFIED="pause" -->
-<!-- destinationPlaystate SPECIFIED="pause" -->
-<!-- show SPECIFIED="pause" -->
-<!-- external SPECIFIED="false" -->
-<!-- actuate SPECIFIED="onLoad" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="freeze" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="hold" -->
-<!-- sourcePlaystate SPECIFIED="stop" -->
-<!-- destinationPlaystate SPECIFIED="stop" -->
-<!-- show SPECIFIED="replace" -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="transition" -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="transition" target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href, target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, structure variations -->
-<!-- 'a' contains a 'video' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, structure variations -->
-<!-- 'a' contains a 'video' element, and a 'text' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> <text src="FirstText.txt"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, structure variations -->
-<!-- 'a' contains more than one 'video' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> <video src="rtsp://www.example.org/graph2.imf"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, structure variations -->
-<!-- 'a' is an empty element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- nohref IMPLIED -->
-<!-- target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, alt, id, class, title,
- xml:lang SPECIFIED -->
-<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- skip-content SPECIFIED="true" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" -->
-<!-- shape SPECIFIED="rect" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- href SPECIFIED for most anchors, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some anchors -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- skip-content SPECIFIED="false" -->
-<!-- sourcePlaystate SPECIFIED="pause" -->
-<!-- destinationPlaystate SPECIFIED="pause" -->
-<!-- show SPECIFIED="pause" -->
-<!-- external SPECIFIED="false" -->
-<!-- actuate SPECIFIED="onLoad" -->
-<!-- shape SPECIFIED="circle" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="freeze" skip-content="false" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="circle" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="circle" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- href SPECIFIED for most anchors, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some anchors -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="hold" -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate SPECIFIED="stop" -->
-<!-- destinationPlaystate SPECIFIED="stop" -->
-<!-- show SPECIFIED="replace" -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape SPECIFIED="poly" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="poly" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="poly" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- href SPECIFIED for most anchors, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some anchors -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="transition" -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape SPECIFIED="default" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="transition" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="default" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="default" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- href SPECIFIED for most anchors, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some anchors -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape DEFAULT='rect' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Animation1" class="class1 class2" title="Ice cream factory, animation" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Animation" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Animation1.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- nohref IMPLIED -->
-<!-- target SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, alt, id, class, title,
- xml:lang SPECIFIED -->
-<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- skip-content SPECIFIED="true" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" -->
-<!-- shape SPECIFIED="rect" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- href SPECIFIED for most areas, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some areas -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- skip-content SPECIFIED="false" -->
-<!-- sourcePlaystate SPECIFIED="pause" -->
-<!-- destinationPlaystate SPECIFIED="pause" -->
-<!-- show SPECIFIED="pause" -->
-<!-- external SPECIFIED="false" -->
-<!-- actuate SPECIFIED="onLoad" -->
-<!-- shape SPECIFIED="circle" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="freeze" skip-content="false" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="circle" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="circle" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- href SPECIFIED for most areas, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some areas -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="hold" -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate SPECIFIED="stop" -->
-<!-- destinationPlaystate SPECIFIED="stop" -->
-<!-- show SPECIFIED="replace" -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape SPECIFIED="poly" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="poly" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="poly" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- href SPECIFIED for most areas, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some areas -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill SPECIFIED="transition" -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape SPECIFIED="default" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="transition" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="default" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="default" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: area element, attribute variations -->
-<!-- href SPECIFIED for most areas, IMPLIED for one -->
-<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
-<!-- target SPECIFIED -->
-<!-- dur, begin, end, id IMPLIED for some areas -->
-<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
-<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
-<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
-<!-- fill IMPLIED -->
-<!-- skip-content DEFAULT='true' -->
-<!-- sourcePlaystate IMPLIED -->
-<!-- destinationPlaystate DEFAULT='play' -->
-<!-- show DEFAULT='replace' -->
-<!-- external DEFAULT='false' -->
-<!-- actuate DEFAULT='onRequest' -->
-<!-- shape DEFAULT='rect' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
- <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ascii_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="10s" repeatCount="1.0" repeatDur="20s" begin="0s" end="30s" min="40s" max="50s" fill="remove" sourceLevel="100%" destinationLevel="90%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/att_order_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- Variations in the order of attributes, and whitespace variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio systemOperatingSystem="symbianos" clipBegin="smpte=10:12:33:20" systemScreenSize="640X480" clipEnd="smpte=10:12:43:20" id="AudioMedia" class="class1 class2" repeatCount="1.0" title="Ice cream factory, audio" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Audio" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." src="Audio.mp3" type="mp3" dur="1000s" repeatDur="1000s" begin="0s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenDepth="16" systemAudioDesc="on" end="1000s" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" xml:lang="en-GB" longdesc="http://www.example.org/IceCreamFactory.html"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/att_order_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- Variations in the order of attributes, and whitespace variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio systemOperatingSystem="symbianos" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." fill="remove" clipBegin="smpte=10:12:33:20" systemScreenSize="640X480" id="AudioMedia" type="mp3" class="class1 class2" repeatCount="1.0" title="Ice cream factory, audio" abstract="An exciting tour of an ice cream factory" min="1000s" alt="Ice cream factory: Audio" author="J. Smith" clipEnd="smpte=10:12:43:20" src="Audio.mp3" dur="1000s" repeatDur="1000s" begin="0s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenDepth="16" systemAudioDesc="on" end="1000s" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" xml:lang="en-GB" longdesc="http://www.example.org/IceCreamFactory.html"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/att_var_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: animation element, attribute variations -->
-<!-- Single quoted strings for attribute values --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Animation1" class="class1 class2" title="Ice cream factory, animation" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Animation" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Animation1.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- customTest, region IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="AudioMedia" class="class1 class2" title="Ice cream factory, audio" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Audio" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Audio.mp3" type="mp3" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, type SPECIFIED -->
-<!-- customTest, region IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, type SPECIFIED -->
-<!-- customTest, region IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="hold" system-captions="on" system-overdub-or-caption="overdub"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, type SPECIFIED -->
-<!-- customTest, region IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="transition" system-captions="off" system-overdub-or-caption="caption"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: audio element, attribute variations -->
-<!-- src, type SPECIFIED -->
-<!-- customTest, region IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/body_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, attribute variations -->
-<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="You too can have a body like mine" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/body_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/body_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- A number of 'body' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'body' contains a number of 'audio' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/body_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: body element, structure variations -->
-<!-- A number of 'body' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'body' contains a number of 'anchor' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body>
- <!-- Spatial anchors --> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]>Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[Pre]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Prese<![CDATA[]]>ntation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Present<![CDATA[a]]>tion" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pres<![CDATA[enta]]>tion" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation<![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_16.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentatio<![CDATA[n]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Present<![CDATA[ation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[Presentation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[]]>Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[Pre]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_23.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_25.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[resent]]>ation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_26.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_27.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_28.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[Presentation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_29.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_30.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pre<![CDATA[gratuitous " delimiters " "" "]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pr<![CDATA[<!-- not a "real" comment -->]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pr<![CDATA[ <><><><<<<>>><><><>>><">< <>"<"><>"<">>>"<<"""<"<>]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next" id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Pres<![CDATA[]]>entation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/comments_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- Comments everywhere -->
-<!-- Comments everywhere -->
-<!-- Comments everywhere --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <!-- Comments everywhere --> <head>
- <!-- This is a "landscape" screen --> <layout>
- <!-- Comments everywhere --> <root-layout width="352" height="144"/>
- <!-- Comments everywhere -->
- <!-- Comments everywhere --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout>
- <!-- Comments everywhere --> </head> <body>
- <!-- Comments everywhere --> <par dur="1000s">
- <!-- Comments everywhere --> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/>
- <!-- Comments everywhere --> <audio src="FirstSound.amr"/>
- <!-- Comments everywhere --> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par>
- <!-- Comments everywhere -->
- <!-- Comments everywhere --> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/>
- <!-- Comments everywhere --> </par> </body></smil>
-<!-- Comments everywhere -->
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/doctype_variation.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 3.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2002/SMIL30Basic.dtd">
-
-<!-- Focus of this test: body element, attribute variations -->
-<!-- Different DOCTYPE info --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entitiy_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, attribute containing built in and character entities -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination <' & "> Entity Conversion" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title=""Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="">Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<5Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation&&" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation'<" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentatioc"" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presen&am"p;tation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation&quot;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&"<&e>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="r" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Fish & Chips" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pres & tation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P"re]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>ese<ntation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_26.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="R" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_27.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Jitle" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_30.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_31.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Title" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&quot;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Red &" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next" id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Blue'" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/head_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: head element, attribute variations -->
-<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head id="Head1" class="class1 class2" title="This head has no eyes or nose." xml:lang="en-GB">
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/head_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: head element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: img element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/inc021337.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- Comments everywhere -->
-<!-- Comments everywhere -->
-<!-- Comments everywhere --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <!-- Comments everywhere --> <head>
- <!-- This is a "landscape" screen --> <layout>
- <!-- Comments everywhere --> <root-layout width="352" height="144"/>
- <!-- Comments everywhere -->
- <!-- Comments everywhere --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout>
- <!-- Comments everywhere --> </head> <body>
- <!-- Comments everywhere --> <par dur="1000s">
- <!-- Comments everywhere --> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/>
- <!-- Comments everywhere --> <audio src="FirstSound.amr"/>
- <!-- Comments everywhere --> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/>
- <!-- <audio src="snooker/crowdcheersmall.wav" begin="20s"/> --> </par>
- <!-- Comments everywhere -->
- <!-- Comments everywhere --> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/>
- <!-- Comments everywhere --> </par> </body></smil>
-<!-- Comments everywhere -->
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/inc022160.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: smil element, attribute variations -->
-<!-- id, class, title, xml:lang, xmlns SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent SPECIFIED -->
-<!-- systemCaptions SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle SPECIFIED="overdub" -->
-<!-- systemAudioDesc SPECIFIED="on" -->
-<!-- bcf --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/inc025788.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,6 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: CharData --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body>Characters that need to be escaped: < &. Characters that can be escaped ' ('), > (>) and " (").
- </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/layout_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, attribute variations -->
-<!-- id, class, title, xml:lang, type SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout id="Landscape" class="class1 class2" title="Landscape layout" xml:lang="en-GB" type="text/css"> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/layout_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: layout element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED -->
-<!-- type DEFAULT='text/smil-basic-layout' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/newline_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- Use of newline in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.exa
-mple.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- endsync SPECIFIED="first" -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="ParId" class="class1 class2" title="A parallel time container" xml:lang="en-GB" abstract="A parallel time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- endsync SPECIFIED="last" -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="last" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync SPECIFIED="all" -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="all" fill="hold" system-captions="on" system-overdub-or-caption="overdub"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync SPECIFIED="ParId" -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="v1Id" fill="transition" system-captions="off" system-overdub-or-caption="caption"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video id="v1Id" src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: par element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync DEFAULT='last' -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="OtherMedia" class="class1 class2" title="Ice cream factory, in new media format" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Other media" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="OtherMedia.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: ref element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id, class, title, xml:lang, height, width, bottom, left, right, top, z-index SPECIFIED -->
-<!-- skip-content SPECIFIED="true" -->
-<!-- close SPECIFIED="never" -->
-<!-- open SPECIFIED="always" -->
-<!-- backgroundColor (NEW ATTRIBUTE NAME) SPECIFIED -->
-<!-- showBackground SPECIFIED="always" -->
-<!-- fit SPECIFIED="hidden" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region skip-content="true" id="Image" class="class1 class2" title="Image region" xml:lang="en-GB" height="144" width="176" close="never" open="always" backgroundColor="blue" bottom="144" left="0" right="176" top="0" z-index="4" showBackground="always" fit="hidden"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content SPECIFIED="false" -->
-<!-- close SPECIFIED="whenNotActive" -->
-<!-- open SPECIFIED="whenActive" -->
-<!-- background-color (DEPRICATED ATTRIBUTE NAME) SPECIFIED -->
-<!-- showBackground SPECIFIED="whenActive" -->
-<!-- fit SPECIFIED="fill" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region skip-content="false" id="Image" close="whenNotActive" open="whenActive" background-color="red" showBackground="whenActive" fit="fill"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit SPECIFIED="meet" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="meet"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit SPECIFIED="scroll" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit SPECIFIED="slice" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="slice"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- id SPECIFIED -->
-<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
-<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' -->
-<!-- showBackground DEFAULT='always' -->
-<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang, height, width SPECIFIED -->
-<!-- skip-content SPECIFIED="true" -->
-<!-- close SPECIFIED="never" -->
-<!-- open SPECIFIED="always" -->
-<!-- backgroundColor (NEW ATTRIBUTE NAME) SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="true" id="RootLayout" class="class1 class2" title="Root layout" xml:lang="en-GB" height="144" width="352" close="never" open="always" backgroundColor="blue"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED -->
-<!-- height, width DEFAULT='auto' -->
-<!-- skip-content SPECIFIED="false" -->
-<!-- close SPECIFIED="whenNotActive" -->
-<!-- open SPECIFIED="whenActive" -->
-<!-- background-color (DEPRICATED ATTRIBUTE NAME) SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="false" close="whenNotActive" open="whenActive" background-color="red"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: root-layout element, attribute variations -->
-<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
-<!-- height, width DEFAULT='auto' -->
-<!-- skip-content DEFAULT='true' -->
-<!-- close DEFAULT='never' -->
-<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- endsync SPECIFIED="first" -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="SeqId" class="class1 class2" title="A sequence time container" xml:lang="en-GB" abstract="A sequence time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- endsync SPECIFIED="last" -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="last" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync SPECIFIED="all" -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="all" fill="hold" system-captions="on" system-overdub-or-caption="overdub"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync SPECIFIED="ParId" -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="ParId" fill="transition" system-captions="off" system-overdub-or-caption="caption"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- endsync DEFAULT='last' -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' contains a number of 'par' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par> <img src="image3.jpg" region="Image" fill="freeze"/> <audio src="audio3.au"/> </par> </seq> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' contains a 'switch' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' contains an 'a' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' contains 'area' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' contains another 'seq' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: seq element, structure variations -->
-<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
-<!-- 'seq' is an empty element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq/> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/smil_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: smil element, attribute variations -->
-<!-- id, class, title, xml:lang, xmlns SPECIFIED --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/smil_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: smil element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED -->
-<!-- xmlns DEFAULT='http://www.w3.org/TR/REC-smil/SMIL20' --><smil> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, attribute variations -->
-<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch id="DutchAudio" class="class1 class2" title="Dutch audio" xml:lang="en-GB"> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, attribute variations -->
-<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, structure variations -->
-<!-- 'switch' contains a number of 'audio' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, structure variations -->
-<!-- 'switch' contains a number of 'par' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <switch> <par dur="8s" systemBitrate="40000"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s" systemBitrate="24000"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s" systemBitrate="10000"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </switch> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, structure variations -->
-<!-- 'switch' contains a number of 'textstream' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> <switch> <textstream src="movie-sub-en.rt" systemLanguage="en" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-sub-de.rt" systemLanguage="de" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-sub-nl.rt" systemLanguage="nl" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-caps-fr.rt" systemCaptions="on"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text id="Text1" class="class1 class2" title="Ice cream factory, text" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Text" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Text1.txt" type="txt" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: text element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Textstream1" class="class1 class2" title="Ice cream factory, textstream" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Textstream" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Textstream1.rt" type="rt" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: textstream element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/utf8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: 'a' element, utf-8 --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="
-
-
-
-
- " xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, attribute variations -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
- repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
-<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
- systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Video1" class="class1 class2" title="Ice cream factory, video" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Video" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Video1.mpg" type="mpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
- (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
-<!-- fill SPECIFIED="freeze" -->
-<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
-<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="hold" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill SPECIFIED="transition" -->
-<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
-<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: video element, attribute variations -->
-<!-- src, type, region SPECIFIED -->
-<!-- customTest IMPLIED -->
-<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
- repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
-<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
-<!-- fill IMPLIED -->
-<!-- system-captions IMPLIED -->
-<!-- system-overdub-or-caption IMPLIED -->
-<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/whitespace_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: switch element, attribute variations -->
-<!-- Whitespace variations around attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
- <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch id="DutchAudio" class="class1 class2" title="Dutch audio" xml:lang="en-GB"> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/whitespace_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: anchor element, attribute variations -->
-<!-- whitespace: element spread over many lines --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
- <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
- <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/SMIL_Output/Valid/xml_version_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-<?xml version="3.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<!-- Focus of this test: region element, attribute variations -->
-<!-- Different XML version --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
- <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/body_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/head_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_meta_att1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_metadata_att1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/par_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/region_att_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/smil_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/invalid/text_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/audio_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/audio_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/audio_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/body_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/body_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/body_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/head_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/head_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/head_struct_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/head_struct_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/img_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/img_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/img_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/img_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/layout_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/layout_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/layout_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/layout_struc_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/meta_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/meta_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/metadata_att1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_prefetch.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/par_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/prefetch_att1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/prefetch_att2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/prefetch_att3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/prefetch_att4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/ref_att_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_att_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/region_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/root-layout_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/root-layout_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/smil_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/smil_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/smil_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/smil_struc_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/text_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/text_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/transition_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/transition_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/mms_input/valid/transition_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_10.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_11.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_8.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/a_att_9.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/cdata_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pre<![CDATA[sentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/entitiy_2.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="0;resentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="�" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="𐀀" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="𐀀" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_10.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_11.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_12.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_13.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_14.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_15.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_16.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_17.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_18.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_19.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_20.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_21.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_22.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_23.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_24.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_25.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_8.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_9.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/inc021591.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/inc021675.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_10.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_11.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_12.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_13.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_14.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_15.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_16.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_17.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_18.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_19.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_20.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_21.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_22.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_23.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_24.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_25.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_26.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_27.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_28.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_29.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_31.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_32.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_33.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_34.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_35.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_36.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_37.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_38.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_39.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_40.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_8.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/invalid_9.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/region_att_10.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/region_att_11.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/region_att_7.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/region_att_8.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/region_att_9.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/invalid/switch_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/a_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/anchor_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/anchor_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/anchor_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/anchor_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/anchor_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/animation_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/animation_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/animation_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/animation_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/animation_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/area_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/area_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/area_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/area_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/area_att_5.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ascii_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-<!-- Focus of this test: 'a' element, attribute variations -->
-<!-- href SPECIFIED -->
-<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
- xml:lang SPECIFIED -->
-<!-- sourceLevel, destinationLevel SPECIFIED -->
-<!-- fill SPECIFIED="remove" -->
-<!-- sourcePlaystate SPECIFIED="play" -->
-<!-- destinationPlaystate SPECIFIED="play" -->
-<!-- show SPECIFIED="new" -->
-<!-- external SPECIFIED="true" -->
-<!-- actuate SPECIFIED="onRequest" -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <head>
- <!-- This is a "landscape" screen -->
- <layout>
- <root-layout width="352" height="144"/>
- <region id="source" width="176" height="144" left="0" top="0"/>
- <region id="destination" width="176" height="144" left="176" top="0"/>
- </layout>
- </head>
-
- <body>
- <a dur="10s" repeatCount="1.0" repeatDur="20s" begin="0s" end="30s" min="40s" max="50s" fill="remove"
- sourceLevel="100%" destinationLevel="90%" sourcePlaystate="play" destinationPlaystate="play" show="new"
- accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest"
- href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2"
- title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/att_order_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/att_order_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/att_var_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/audio_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/audio_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/audio_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/audio_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/audio_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/body_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/body_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/body_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/body_struc_2.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]>Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]>resentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[Pre]]>sentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Prese<![CDATA[]]>ntation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Present<![CDATA[a]]>tion" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pres<![CDATA[enta]]>tion" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentation<![CDATA[]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_16.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentatio<![CDATA[n]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Present<![CDATA[ation]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[Presentation]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[]]>Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>resentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[Pre]]>sentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_23.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>resentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>esentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_25.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[resent]]>ation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_26.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_27.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_28.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[Presentation]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_29.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_30.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pre<![CDATA[gratuitous " delimiters " "" "]]>sentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pr<![CDATA[<!-- not a "real" comment -->]]>esentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pr<![CDATA[ <><><><<<<>>><><><>>><">< <>"<"><>"<">>>"<<"""<"<>]]>esentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next"
- id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Pres<![CDATA[]]>entation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/cdata_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/comments_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/doctype_variation.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entitiy_1.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_1.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title=""Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_10.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="">Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_11.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<5Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_12.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentation&&" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_13.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentation'<" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_14.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentatioc"" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_15.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presen&am"p;tation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_17.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentation&quot;" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_18.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="&"<&e>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_19.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="r" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_2.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Fish & Chips" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_20.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Pres & tation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_21.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Presentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_22.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[]]><![CDATA[P"re]]>sentation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_24.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>ese<ntation" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_26.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Rxyz;" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_27.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_3.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Jitle" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_30.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="&gb;" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_31.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="By!;" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_4.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Title" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_5.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="&quot;" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_6.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="Red &" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_7.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next"
- id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Blue'" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/entity_ref_8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-<!-- Focus of this test: CDataSections -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next"
- id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>>" xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/head_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/head_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/img_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/img_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/img_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/img_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/img_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/inc021337.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/inc022160.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/inc025788.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-<!-- Focus of this test: CharData -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- Characters that need to be escaped: < &. Characters that can be escaped ' ('), > (>) and " (").
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/layout_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/layout_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/newline_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/par_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/par_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/par_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/par_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/par_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ref_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ref_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ref_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ref_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/ref_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/region_att_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/seq_struc_6.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/smil_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/smil_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/switch_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/switch_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/switch_struc_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/switch_struc_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/switch_struc_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/text_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/text_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/text_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/text_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/text_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/textstream_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/textstream_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/textstream_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/textstream_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/textstream_att_5.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/utf8.txt Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-<!-- Focus of this test: 'a' element, utf-8 -->
-
-<?xml version="1.0" ?>
-<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
-"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
-
-<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
- <body>
- <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink"
- title="⨐⨓⨗⨚⨟⩡⩵⩙⨵⫙⪭⫳⫂⪄⺷⺆⺒⻁⻇⺋⺽⺷⽉⽊〷とゃドナそゖテテツ〹おせにゆテテ
-ピシジㄙㄹㅈ㈔㈑㉸㊆㌔㌷ぇをゴシ㎓㎫㍳㍄㍆㌧㌤㌄ꀵꃅꃓꃗꂹꂅꁤꁉ ェヷヹㄈツ ㄦㅇㅸㅸㄸㄷ
-𝀴𝀓𝂕𝂖𝂧𝂺𝂺𝁜𝁔𝀲𝀡𝂒𝂳𝃔𝃕𝁨𝁪𝁺𝄥𝄢𝄱𝄴𝄶𐌱𐌵𐌶𐌸𐍈𐌺𐌼𐌾𐐒𐐂𐐅𐐘𐐜𐐝𐐝𐐭⟔⟨⟨⟹⡦⡫⢛⢙⢇⡕⡕⡶⡪⡬⡬⢌⢜
-∕≄⋉⋉ ≨⊦≹∺∱∰≲⊶ ≨⊨⋈ ⋆ ⋩⋫⋜⌶⍧⎈⏂⎂⍂⌥⌨⍍ ⎘⍥⎕⎦ ⎨⎶⎄⍵⍶ ⍧⎇⍛⍕⎄⍺⍪⍋⌴⍄⍔⍤⍌⍌⍌
-▲◣𝇉𝇓𝇂𝆳 ▷◙☩♩♣♲♺☉◖◺◇◅▵◙◽☎☋☂☃▴◗☈♥♸♪♪◨◴☃◬⧆⧳⧳⩆⨋⧼⧖⨃⩂ ⨥⧖⨂⦑⦭⦭⦬⦕⦔⦔
-⩧⩡⩹⩩⩖⩖⩖⨶⨹ ⨵⪖⨕⨁⨉⨼⪖ ⪈ ⪸ ⪥ ⪖⪖⪆⩺⩨ヅㄣペヺララピコォㅶㆃ ㅴㄛㄛ " xml:lang="en-GB">
- <img region="source" src="source.jpg"/>
- </a>
- </body>
-</smil>
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/video_att_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/video_att_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/video_att_3.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/video_att_4.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/video_att_5.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/whitespace_1.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/whitespace_2.txt has changed
Binary file xml/legacyminidomparser/XMLParser/test/SMIL_Test_Files/smil_input/valid/xml_version_1.txt has changed
--- a/xml/legacyminidomparser/XMLParser/test/group/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,361 +0,0 @@
-// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-PRJ_PLATFORMS
- DEFAULT
-
-PRJ_TESTMMPFILES
- t_GmxmlParser.mmp
- t_GmxmlFailure.mmp
- t_smiltranslatortest.mmp
-
-PRJ_TESTEXPORTS
-../GmxmlTest.txt c:/gmxmltest.txt
-legacyminidomparsertest.iby /epoc32/rom/include/legacyminidomparsertest.iby
-
-
-// SMIL Input valid
-../SMIL_Test_Files/smil_input/valid/anchor_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_1.txt
-../SMIL_Test_Files/smil_input/valid/anchor_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_2.txt
-../SMIL_Test_Files/smil_input/valid/anchor_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_3.txt
-../SMIL_Test_Files/smil_input/valid/anchor_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_4.txt
-../SMIL_Test_Files/smil_input/valid/anchor_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_5.txt
-../SMIL_Test_Files/smil_input/valid/animation_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_1.txt
-../SMIL_Test_Files/smil_input/valid/animation_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_2.txt
-../SMIL_Test_Files/smil_input/valid/animation_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_3.txt
-../SMIL_Test_Files/smil_input/valid/animation_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_4.txt
-../SMIL_Test_Files/smil_input/valid/animation_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_5.txt
-../SMIL_Test_Files/smil_input/valid/area_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_1.txt
-../SMIL_Test_Files/smil_input/valid/area_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_2.txt
-../SMIL_Test_Files/smil_input/valid/area_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_3.txt
-../SMIL_Test_Files/smil_input/valid/area_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_4.txt
-../SMIL_Test_Files/smil_input/valid/area_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_5.txt
-../SMIL_Test_Files/smil_input/valid/ascii_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ascii_1.txt
-../SMIL_Test_Files/smil_input/valid/att_order_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_order_1.txt
-../SMIL_Test_Files/smil_input/valid/att_order_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_order_2.txt
-../SMIL_Test_Files/smil_input/valid/att_var_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_var_1.txt
-../SMIL_Test_Files/smil_input/valid/audio_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_1.txt
-../SMIL_Test_Files/smil_input/valid/audio_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_2.txt
-../SMIL_Test_Files/smil_input/valid/audio_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_3.txt
-../SMIL_Test_Files/smil_input/valid/audio_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_4.txt
-../SMIL_Test_Files/smil_input/valid/audio_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_5.txt
-../SMIL_Test_Files/smil_input/valid/a_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_1.txt
-../SMIL_Test_Files/smil_input/valid/a_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_2.txt
-../SMIL_Test_Files/smil_input/valid/a_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_3.txt
-../SMIL_Test_Files/smil_input/valid/a_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_4.txt
-../SMIL_Test_Files/smil_input/valid/a_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_5.txt
-../SMIL_Test_Files/smil_input/valid/a_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_1.txt
-../SMIL_Test_Files/smil_input/valid/a_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_2.txt
-../SMIL_Test_Files/smil_input/valid/a_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_3.txt
-../SMIL_Test_Files/smil_input/valid/a_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_4.txt
-../SMIL_Test_Files/smil_input/valid/body_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_att_1.txt
-../SMIL_Test_Files/smil_input/valid/body_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_att_2.txt
-../SMIL_Test_Files/smil_input/valid/body_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_struc_1.txt
-../SMIL_Test_Files/smil_input/valid/body_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_struc_2.txt
-../SMIL_Test_Files/smil_input/valid/cdata_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_1.txt
-../SMIL_Test_Files/smil_input/valid/cdata_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_10.txt
-../SMIL_Test_Files/smil_input/valid/cdata_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_11.txt
-../SMIL_Test_Files/smil_input/valid/cdata_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_12.txt
-../SMIL_Test_Files/smil_input/valid/cdata_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_13.txt
-../SMIL_Test_Files/smil_input/valid/cdata_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_14.txt
-../SMIL_Test_Files/smil_input/valid/cdata_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_15.txt
-../SMIL_Test_Files/smil_input/valid/cdata_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_16.txt
-../SMIL_Test_Files/smil_input/valid/cdata_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_17.txt
-../SMIL_Test_Files/smil_input/valid/cdata_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_18.txt
-../SMIL_Test_Files/smil_input/valid/cdata_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_19.txt
-../SMIL_Test_Files/smil_input/valid/cdata_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_2.txt
-../SMIL_Test_Files/smil_input/valid/cdata_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_20.txt
-../SMIL_Test_Files/smil_input/valid/cdata_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_21.txt
-../SMIL_Test_Files/smil_input/valid/cdata_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_22.txt
-../SMIL_Test_Files/smil_input/valid/cdata_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_23.txt
-../SMIL_Test_Files/smil_input/valid/cdata_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_24.txt
-../SMIL_Test_Files/smil_input/valid/cdata_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_25.txt
-../SMIL_Test_Files/smil_input/valid/cdata_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_26.txt
-../SMIL_Test_Files/smil_input/valid/cdata_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_27.txt
-../SMIL_Test_Files/smil_input/valid/cdata_28.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_28.txt
-../SMIL_Test_Files/smil_input/valid/cdata_29.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_29.txt
-../SMIL_Test_Files/smil_input/valid/cdata_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_3.txt
-../SMIL_Test_Files/smil_input/valid/cdata_30.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_30.txt
-../SMIL_Test_Files/smil_input/valid/cdata_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_4.txt
-../SMIL_Test_Files/smil_input/valid/cdata_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_5.txt
-../SMIL_Test_Files/smil_input/valid/cdata_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_6.txt
-../SMIL_Test_Files/smil_input/valid/cdata_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_7.txt
-../SMIL_Test_Files/smil_input/valid/cdata_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_8.txt
-../SMIL_Test_Files/smil_input/valid/comments_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/comments_1.txt
-../SMIL_Test_Files/smil_input/valid/doctype_variation.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/doctype_variation.txt
-../SMIL_Test_Files/smil_input/valid/entitiy_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entitiy_1.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_1.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_10.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_11.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_12.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_13.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_14.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_15.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_17.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_18.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_19.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_2.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_20.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_21.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_22.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_24.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_26.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_27.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_3.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_30.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_30.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_31.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_31.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_4.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_5.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_6.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_7.txt
-../SMIL_Test_Files/smil_input/valid/entity_ref_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_8.txt
-../SMIL_Test_Files/smil_input/valid/head_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/head_att_1.txt
-../SMIL_Test_Files/smil_input/valid/head_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/head_att_2.txt
-../SMIL_Test_Files/smil_input/valid/img_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_1.txt
-../SMIL_Test_Files/smil_input/valid/img_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_2.txt
-../SMIL_Test_Files/smil_input/valid/img_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_3.txt
-../SMIL_Test_Files/smil_input/valid/img_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_4.txt
-../SMIL_Test_Files/smil_input/valid/img_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_5.txt
-../SMIL_Test_Files/smil_input/valid/inc021337.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc021337.txt
-../SMIL_Test_Files/smil_input/valid/inc022160.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc022160.txt
-../SMIL_Test_Files/smil_input/valid/inc025788.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc025788.txt
-../SMIL_Test_Files/smil_input/valid/layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/layout_att_1.txt
-../SMIL_Test_Files/smil_input/valid/layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/layout_att_2.txt
-../SMIL_Test_Files/smil_input/valid/newline_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/newline_1.txt
-../SMIL_Test_Files/smil_input/valid/par_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_1.txt
-../SMIL_Test_Files/smil_input/valid/par_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_2.txt
-../SMIL_Test_Files/smil_input/valid/par_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_3.txt
-../SMIL_Test_Files/smil_input/valid/par_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_4.txt
-../SMIL_Test_Files/smil_input/valid/par_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_5.txt
-../SMIL_Test_Files/smil_input/valid/ref_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_1.txt
-../SMIL_Test_Files/smil_input/valid/ref_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_2.txt
-../SMIL_Test_Files/smil_input/valid/ref_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_3.txt
-../SMIL_Test_Files/smil_input/valid/ref_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_4.txt
-../SMIL_Test_Files/smil_input/valid/ref_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_5.txt
-../SMIL_Test_Files/smil_input/valid/region_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_1.txt
-../SMIL_Test_Files/smil_input/valid/region_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_2.txt
-../SMIL_Test_Files/smil_input/valid/region_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_3.txt
-../SMIL_Test_Files/smil_input/valid/region_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_4.txt
-../SMIL_Test_Files/smil_input/valid/region_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_5.txt
-../SMIL_Test_Files/smil_input/valid/region_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_6.txt
-../SMIL_Test_Files/smil_input/valid/root-layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_1.txt
-../SMIL_Test_Files/smil_input/valid/root-layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_2.txt
-../SMIL_Test_Files/smil_input/valid/root-layout_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_3.txt
-../SMIL_Test_Files/smil_input/valid/seq_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_1.txt
-../SMIL_Test_Files/smil_input/valid/seq_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_2.txt
-../SMIL_Test_Files/smil_input/valid/seq_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_3.txt
-../SMIL_Test_Files/smil_input/valid/seq_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_4.txt
-../SMIL_Test_Files/smil_input/valid/seq_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_5.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_1.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_2.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_3.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_4.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_5.txt
-../SMIL_Test_Files/smil_input/valid/seq_struc_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_6.txt
-../SMIL_Test_Files/smil_input/valid/smil_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/smil_att_1.txt
-../SMIL_Test_Files/smil_input/valid/smil_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/smil_att_2.txt
-../SMIL_Test_Files/smil_input/valid/switch_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_att_1.txt
-../SMIL_Test_Files/smil_input/valid/switch_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_att_2.txt
-../SMIL_Test_Files/smil_input/valid/switch_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_1.txt
-../SMIL_Test_Files/smil_input/valid/switch_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_2.txt
-../SMIL_Test_Files/smil_input/valid/switch_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_3.txt
-../SMIL_Test_Files/smil_input/valid/textstream_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_1.txt
-../SMIL_Test_Files/smil_input/valid/textstream_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_2.txt
-../SMIL_Test_Files/smil_input/valid/textstream_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_3.txt
-../SMIL_Test_Files/smil_input/valid/textstream_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_4.txt
-../SMIL_Test_Files/smil_input/valid/textstream_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_5.txt
-../SMIL_Test_Files/smil_input/valid/text_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_1.txt
-../SMIL_Test_Files/smil_input/valid/text_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_2.txt
-../SMIL_Test_Files/smil_input/valid/text_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_3.txt
-../SMIL_Test_Files/smil_input/valid/text_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_4.txt
-../SMIL_Test_Files/smil_input/valid/text_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_5.txt
-../SMIL_Test_Files/smil_input/valid/utf8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/utf8.txt
-../SMIL_Test_Files/smil_input/valid/video_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_1.txt
-../SMIL_Test_Files/smil_input/valid/video_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_2.txt
-../SMIL_Test_Files/smil_input/valid/video_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_3.txt
-../SMIL_Test_Files/smil_input/valid/video_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_4.txt
-../SMIL_Test_Files/smil_input/valid/video_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_5.txt
-../SMIL_Test_Files/smil_input/valid/whitespace_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/whitespace_1.txt
-../SMIL_Test_Files/smil_input/valid/whitespace_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/whitespace_2.txt
-../SMIL_Test_Files/smil_input/valid/xml_version_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/xml_version_1.txt
-
-// SMIL Input invalid
-../SMIL_Test_Files/smil_input/invalid/a_att_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_10.txt
-../SMIL_Test_Files/smil_input/invalid/a_att_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_11.txt
-../SMIL_Test_Files/smil_input/invalid/a_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_6.txt
-../SMIL_Test_Files/smil_input/invalid/a_att_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_7.txt
-../SMIL_Test_Files/smil_input/invalid/a_att_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_8.txt
-../SMIL_Test_Files/smil_input/invalid/a_att_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_9.txt
-../SMIL_Test_Files/smil_input/invalid/cdata_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/cdata_1.txt
-../SMIL_Test_Files/smil_input/invalid/empty.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/empty.txt
-../SMIL_Test_Files/smil_input/invalid/entitiy_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entitiy_2.txt
-../SMIL_Test_Files/smil_input/invalid/entity_ref_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_1.txt
-../SMIL_Test_Files/smil_input/invalid/entity_ref_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_2.txt
-../SMIL_Test_Files/smil_input/invalid/entity_ref_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_3.txt
-../SMIL_Test_Files/smil_input/invalid/entity_ref_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_4.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_1.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_10.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_11.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_12.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_13.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_14.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_15.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_16.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_17.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_18.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_19.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_2.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_20.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_21.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_22.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_23.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_24.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_25.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_3.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_4.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_5.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_6.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_7.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_8.txt
-../SMIL_Test_Files/smil_input/invalid/further_invalid_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_9.txt
-../SMIL_Test_Files/smil_input/invalid/inc021591.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/inc021591.txt
-../SMIL_Test_Files/smil_input/invalid/inc021675.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/inc021675.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_1.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_10.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_11.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_12.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_13.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_14.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_15.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_16.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_17.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_18.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_19.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_2.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_20.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_21.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_22.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_23.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_24.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_25.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_26.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_27.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_28.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_28.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_29.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_29.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_3.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_31.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_31.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_32.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_32.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_33.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_33.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_34.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_34.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_35.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_35.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_36.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_36.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_37.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_37.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_38.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_38.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_39.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_39.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_4.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_40.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_40.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_5.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_6.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_7.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_8.txt
-../SMIL_Test_Files/smil_input/invalid/invalid_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_9.txt
-../SMIL_Test_Files/smil_input/invalid/region_att_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_10.txt
-../SMIL_Test_Files/smil_input/invalid/region_att_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_11.txt
-../SMIL_Test_Files/smil_input/invalid/region_att_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_7.txt
-../SMIL_Test_Files/smil_input/invalid/region_att_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_8.txt
-../SMIL_Test_Files/smil_input/invalid/region_att_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_9.txt
-../SMIL_Test_Files/smil_input/invalid/root-layout_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_4.txt
-../SMIL_Test_Files/smil_input/invalid/root-layout_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_5.txt
-../SMIL_Test_Files/smil_input/invalid/root-layout_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_6.txt
-../SMIL_Test_Files/smil_input/invalid/switch_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/switch_struc_4.txt
-
-// MMS Input valid
-../SMIL_Test_Files/mms_input/valid/audio_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_1.txt
-../SMIL_Test_Files/mms_input/valid/audio_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_2.txt
-../SMIL_Test_Files/mms_input/valid/audio_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_3.txt
-../SMIL_Test_Files/mms_input/valid/body_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/body_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_2.txt
-../SMIL_Test_Files/mms_input/valid/body_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_3.txt
-../SMIL_Test_Files/mms_input/valid/head_struct_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struct_4.txt
-../SMIL_Test_Files/mms_input/valid/head_struct_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struct_5.txt
-../SMIL_Test_Files/mms_input/valid/head_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/head_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struc_3.txt
-../SMIL_Test_Files/mms_input/valid/img_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_1.txt
-../SMIL_Test_Files/mms_input/valid/img_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_2.txt
-../SMIL_Test_Files/mms_input/valid/img_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_3.txt
-../SMIL_Test_Files/mms_input/valid/img_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/layout_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/layout_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_3.txt
-../SMIL_Test_Files/mms_input/valid/layout_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_4.txt
-../SMIL_Test_Files/mms_input/valid/layout_struc_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_5.txt
-../SMIL_Test_Files/mms_input/valid/metadata_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/metadata_att1.txt
-../SMIL_Test_Files/mms_input/valid/meta_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/meta_att_1.txt
-../SMIL_Test_Files/mms_input/valid/meta_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/meta_att_2.txt
-../SMIL_Test_Files/mms_input/valid/par_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_att_1.txt
-../SMIL_Test_Files/mms_input/valid/par_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_att_2.txt
-../SMIL_Test_Files/mms_input/valid/par_prefetch.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_prefetch.txt
-../SMIL_Test_Files/mms_input/valid/par_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/par_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_2.txt
-../SMIL_Test_Files/mms_input/valid/par_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_4.txt
-../SMIL_Test_Files/mms_input/valid/prefetch_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att1.txt
-../SMIL_Test_Files/mms_input/valid/prefetch_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att2.txt
-../SMIL_Test_Files/mms_input/valid/prefetch_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att3.txt
-../SMIL_Test_Files/mms_input/valid/prefetch_att4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att4.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_1.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_2.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_3.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_4.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_5.txt
-../SMIL_Test_Files/mms_input/valid/ref_att_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_6.txt
-../SMIL_Test_Files/mms_input/valid/region_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_1.txt
-../SMIL_Test_Files/mms_input/valid/region_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_2.txt
-../SMIL_Test_Files/mms_input/valid/region_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_3.txt
-../SMIL_Test_Files/mms_input/valid/region_att_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_4.txt
-../SMIL_Test_Files/mms_input/valid/region_att_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_5.txt
-../SMIL_Test_Files/mms_input/valid/region_att_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_6.txt
-../SMIL_Test_Files/mms_input/valid/region_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/root-layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/root-layout_att_1.txt
-../SMIL_Test_Files/mms_input/valid/root-layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/root-layout_att_2.txt
-../SMIL_Test_Files/mms_input/valid/smil_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_1.txt
-../SMIL_Test_Files/mms_input/valid/smil_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_3.txt
-../SMIL_Test_Files/mms_input/valid/smil_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_4.txt
-../SMIL_Test_Files/mms_input/valid/smil_struc_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_5.txt
-../SMIL_Test_Files/mms_input/valid/text_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/text_att_1.txt
-../SMIL_Test_Files/mms_input/valid/text_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/text_att_2.txt
-../SMIL_Test_Files/mms_input/valid/transition_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_1.txt
-../SMIL_Test_Files/mms_input/valid/transition_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_2.txt
-../SMIL_Test_Files/mms_input/valid/transition_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_3.txt
-
-// MMS Input invalid
-../SMIL_Test_Files/mms_input/invalid/body_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/body_struc_4.txt
-../SMIL_Test_Files/mms_input/invalid/head_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/head_struc_2.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_metadata_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_metadata_att1.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_meta_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_meta_att1.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_transition_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att2.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_transition_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att3.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_transition_att4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att4.txt
-../SMIL_Test_Files/mms_input/invalid/invalid_transition_att5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att5.txt
-../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att1.txt
-../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att2.txt
-../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att3.txt
-../SMIL_Test_Files/mms_input/invalid/layout_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_2.txt
-../SMIL_Test_Files/mms_input/invalid/layout_struc_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_6.txt
-../SMIL_Test_Files/mms_input/invalid/layout_struc_7.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_7.txt
-../SMIL_Test_Files/mms_input/invalid/par_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/par_struc_3.txt
-../SMIL_Test_Files/mms_input/invalid/region_att_7.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/region_att_7.txt
-../SMIL_Test_Files/mms_input/invalid/smil_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/smil_struc_2.txt
-../SMIL_Test_Files/mms_input/invalid/text_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/text_struc_1.txt
-
-
--- a/xml/legacyminidomparser/XMLParser/test/group/legacyminidomparsertest.iby Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,29 +0,0 @@
-/*
-* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-#ifndef __LEGACYMINIDOMPARSERTEST_IBY__
-#define __LEGACYMINIDOMPARSERTEST_IBY__
-
-#include <legacyminidomparser.iby>
-
-file=ABI_DIR\BUILD_DIR\t_gmxmlparser.exe sys\bin\t_gmxmlparser.exe
-file=ABI_DIR\BUILD_DIR\t_gmxmlfailure.exe sys\bin\t_gmxmlfailure.exe
-
-file=ABI_DIR\BUILD_DIR\t_smiltranslatortest.exe sys\bin\t_smiltranslatortest.exe
-
-
-#endif
--- a/xml/legacyminidomparser/XMLParser/test/group/legacyminidomparsertest.pkg Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,368 +0,0 @@
-;
-; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-; All rights reserved.
-; This component and the accompanying materials are made available
-; under the terms of "Eclipse Public License v1.0"
-; which accompanies this distribution, and is available
-; at the URL "http://www.eclipse.org/legal/epl-v10.html".
-;
-; Initial Contributors:
-; Nokia Corporation - initial contribution.
-;
-; Contributors:
-;
-; Description:
-;Legacyminidomparsertest.pkg
-
-; Languages -
-&EN
-
-; Installation header
-#{"Legacyminidomparsertest"}, (0x20032626), 1, 0, 0, TYPE=SA
-%{"Nokia Corporation"}
-:"Nokia Corporation"
-
-(0x101f7961),0, 0, 0 ,{"Series60ProductID"}
-; Install files
-;Test exes
-"\epoc32\release\armv5\urel\t_gmxmlparser.exe" - "c:\sys\bin\t_gmxmlparser.exe"
-"\epoc32\release\armv5\urel\t_gmxmlfailure.exe" - "c:\sys\bin\t_gmxmlfailure.exe"
-"\epoc32\release\armv5\urel\t_smiltranslatortest.exe" - "c:\sys\bin\t_smiltranslatortest.exe"
-
-"..\gmxmltest.txt" - "c:\gmxmltest.txt"
-
-;SMIL Input Valid
-"..\SMIL_Test_Files\smil_input\valid\anchor_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\anchor_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\anchor_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\anchor_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\anchor_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\animation_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\animation_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\animation_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\animation_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\animation_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\area_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\area_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\area_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\area_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\area_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\ascii_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ascii_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\att_order_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_order_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\att_order_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_order_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\att_var_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_var_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\audio_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\audio_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\audio_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\audio_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\audio_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\a_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\body_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\body_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\body_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_struc_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\body_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_struc_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_10.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_11.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_12.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_13.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_14.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_15.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_16.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_17.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_18.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_19.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_20.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_21.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_22.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_23.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_24.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_25.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_26.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_27.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_28.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_28.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_29.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_29.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_30.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_30.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_6.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_7.txt"
-"..\SMIL_Test_Files\smil_input\valid\cdata_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_8.txt"
-"..\SMIL_Test_Files\smil_input\valid\comments_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\comments_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\doctype_variation.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\doctype_variation.txt"
-"..\SMIL_Test_Files\smil_input\valid\Entitiy_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\Entitiy_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_10.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_11.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_12.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_13.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_14.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_15.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_17.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_18.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_19.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_20.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_21.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_22.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_24.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_26.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_27.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_30.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_30.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_31.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_31.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_6.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_7.txt"
-"..\SMIL_Test_Files\smil_input\valid\entity_ref_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_8.txt"
-"..\SMIL_Test_Files\smil_input\valid\head_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\head_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\head_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\head_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\img_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\img_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\img_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\img_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\img_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\INC021337.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC021337.txt"
-"..\SMIL_Test_Files\smil_input\valid\INC022160.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC022160.txt"
-"..\SMIL_Test_Files\smil_input\valid\INC025788.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC025788.txt"
-"..\SMIL_Test_Files\smil_input\valid\layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\layout_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\layout_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\newline_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\newline_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\par_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\par_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\par_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\par_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\par_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\ref_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\ref_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\ref_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\ref_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\ref_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\region_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_6.txt"
-"..\SMIL_Test_Files\smil_input\valid\root-layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\root-layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\root-layout_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\seq_struc_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_6.txt"
-"..\SMIL_Test_Files\smil_input\valid\smil_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\smil_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\smil_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\smil_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\switch_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\switch_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\switch_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\switch_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\switch_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\textstream_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\textstream_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\textstream_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\textstream_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\textstream_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\text_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\text_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\text_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\text_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\text_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\utf8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\utf8.txt"
-"..\SMIL_Test_Files\smil_input\valid\video_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\video_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\video_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_3.txt"
-"..\SMIL_Test_Files\smil_input\valid\video_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_4.txt"
-"..\SMIL_Test_Files\smil_input\valid\video_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_5.txt"
-"..\SMIL_Test_Files\smil_input\valid\whitespace_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\whitespace_1.txt"
-"..\SMIL_Test_Files\smil_input\valid\whitespace_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\whitespace_2.txt"
-"..\SMIL_Test_Files\smil_input\valid\xml_version_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\xml_version_1.txt"
-
-
-;SMIL Input InValid
-"..\SMIL_Test_Files\smil_input\invalid\a_att_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_10.txt"
-"..\SMIL_Test_Files\smil_input\invalid\a_att_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_11.txt"
-"..\SMIL_Test_Files\smil_input\invalid\a_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_6.txt"
-"..\SMIL_Test_Files\smil_input\invalid\a_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_7.txt"
-"..\SMIL_Test_Files\smil_input\invalid\a_att_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_8.txt"
-"..\SMIL_Test_Files\smil_input\invalid\a_att_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_9.txt"
-"..\SMIL_Test_Files\smil_input\invalid\cdata_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\cdata_1.txt"
-"..\SMIL_Test_Files\smil_input\invalid\Entitiy_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\Entitiy_2.txt"
-"..\SMIL_Test_Files\smil_input\invalid\entity_ref_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_1.txt"
-"..\SMIL_Test_Files\smil_input\invalid\entity_ref_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_2.txt"
-"..\SMIL_Test_Files\smil_input\invalid\entity_ref_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_3.txt"
-"..\SMIL_Test_Files\smil_input\invalid\entity_ref_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_4.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_1.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_10.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_11.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_12.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_13.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_14.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_15.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_16.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_17.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_18.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_19.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_2.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_20.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_21.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_22.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_23.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_24.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_25.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_3.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_4.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_5.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_6.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_7.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_8.txt"
-"..\SMIL_Test_Files\smil_input\invalid\further_invalid_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_9.txt"
-"..\SMIL_Test_Files\smil_input\invalid\INC021591.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\INC021591.txt"
-"..\SMIL_Test_Files\smil_input\invalid\INC021675.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\INC021675.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_1.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_10.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_11.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_12.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_13.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_14.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_15.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_16.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_17.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_18.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_19.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_2.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_20.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_21.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_22.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_23.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_24.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_25.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_26.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_27.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_28.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_28.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_29.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_29.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_3.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_31.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_31.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_32.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_32.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_33.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_33.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_34.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_34.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_35.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_35.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_36.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_36.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_37.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_37.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_38.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_38.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_39.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_39.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_4.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_40.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_40.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_5.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_6.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_7.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_8.txt"
-"..\SMIL_Test_Files\smil_input\invalid\invalid_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_9.txt"
-"..\SMIL_Test_Files\smil_input\invalid\region_att_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_10.txt"
-"..\SMIL_Test_Files\smil_input\invalid\region_att_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_11.txt"
-"..\SMIL_Test_Files\smil_input\invalid\region_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_7.txt"
-"..\SMIL_Test_Files\smil_input\invalid\region_att_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_8.txt"
-"..\SMIL_Test_Files\smil_input\invalid\region_att_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_9.txt"
-"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_4.txt"
-"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_5.txt"
-"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_6.txt"
-"..\SMIL_Test_Files\smil_input\invalid\switch_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\switch_struc_4.txt"
-
-
-
-;MMS Input valid
-"..\SMIL_Test_Files\mms_input\valid\audio_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\audio_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\audio_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\body_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\body_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\body_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\head_struct_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struct_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\head_struct_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struct_5.txt"
-"..\SMIL_Test_Files\mms_input\valid\head_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\head_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\head_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\head_struc_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\img_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\img_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\img_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\img_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\layout_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\layout_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\layout_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\layout_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_5.txt"
-"..\SMIL_Test_Files\mms_input\valid\metadata_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\metadata_att1.txt"
-"..\SMIL_Test_Files\mms_input\valid\meta_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\meta_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\meta_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\meta_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_prefetch.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_prefetch.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\par_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\prefetch_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att1.txt"
-"..\SMIL_Test_Files\mms_input\valid\prefetch_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att2.txt"
-"..\SMIL_Test_Files\mms_input\valid\prefetch_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att3.txt"
-"..\SMIL_Test_Files\mms_input\valid\prefetch_att4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att4.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_5.txt"
-"..\SMIL_Test_Files\mms_input\valid\ref_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_6.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_5.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_6.txt"
-"..\SMIL_Test_Files\mms_input\valid\region_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\root-layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\root-layout_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\root-layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\root-layout_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\smil_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\smil_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_3.txt"
-"..\SMIL_Test_Files\mms_input\valid\smil_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_4.txt"
-"..\SMIL_Test_Files\mms_input\valid\smil_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_5.txt"
-"..\SMIL_Test_Files\mms_input\valid\text_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\text_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\text_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\text_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\transition_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_1.txt"
-"..\SMIL_Test_Files\mms_input\valid\transition_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_2.txt"
-"..\SMIL_Test_Files\mms_input\valid\transition_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_3.txt"
-
-
-
-;MMS Input invalid
-"..\SMIL_Test_Files\mms_input\invalid\body_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\body_struc_4.txt"
-"..\SMIL_Test_Files\mms_input\invalid\head_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\head_struc_2.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_metadata_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_metadata_att1.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_meta_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_meta_att1.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att2.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att3.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att4.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att5.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att1.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att2.txt"
-"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att3.txt"
-"..\SMIL_Test_Files\mms_input\invalid\layout_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_2.txt"
-"..\SMIL_Test_Files\mms_input\invalid\layout_struc_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_6.txt"
-"..\SMIL_Test_Files\mms_input\invalid\layout_struc_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_7.txt"
-"..\SMIL_Test_Files\mms_input\invalid\par_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\par_struc_3.txt"
-"..\SMIL_Test_Files\mms_input\invalid\region_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\region_att_7.txt"
-"..\SMIL_Test_Files\mms_input\invalid\smil_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\smil_struc_2.txt"
-"..\SMIL_Test_Files\mms_input\invalid\text_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\text_struc_1.txt"
--- a/xml/legacyminidomparser/XMLParser/test/group/t_GmxmlFailure.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,35 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-//RTEST
-
-TARGET t_gmxmlfailure.exe
-TARGETTYPE exe
-
-SOURCEPATH ../
-SOURCE t_GmxmlFailure.CPP
-SOURCE t_XMLParserLOG.CPP
-
-USERINCLUDE ../
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-
-LIBRARY efsrv.lib euser.lib xmlparser.lib
-EPOCSTACKSIZE 0x8000
-
-VENDORID 0x70000001
-
-SMPSAFE
--- a/xml/legacyminidomparser/XMLParser/test/group/t_GmxmlParser.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// t_gmxmlparser.mmp
-//
-
-//RTEST
-
-TARGET t_gmxmlparser.exe
-TARGETTYPE exe
-
-SOURCEPATH ../
-SOURCE GmxmlTestUtils.cpp
-SOURCE t_GmxmlParser.CPP
-
-
-USERINCLUDE ../
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-
-LIBRARY euser.lib
-LIBRARY efsrv.lib
-LIBRARY xmlparser.lib
-
-
-EPOCSTACKSIZE 0x8000
-
-
-
-SMPSAFE
--- a/xml/legacyminidomparser/XMLParser/test/group/t_smiltranslatortest.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,53 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// t_smiltranslatortest.mmp
-//
-
-//RTEST
-
-TARGET t_smiltranslatortest.exe
-TARGETTYPE exe
-
-SOURCEPATH ../
-SOURCE t_smiltranslatortest.cpp
-SOURCE t_Smildtd.cpp
-
-
-USERINCLUDE ../
-
-OS_LAYER_SYSTEMINCLUDE_SYMBIAN
-
-
-
-LIBRARY euser.lib
-LIBRARY efsrv.lib
-LIBRARY xmlparser.lib
-LIBRARY bafl.lib
-
-SOURCEPATH ../../STRINGS
-START STRINGTABLE SMILElements.st
- EXPORTPATH /epoc32/include
-END
-START STRINGTABLE SMILGenericElements.st
- EXPORTPATH /epoc32/include
-END
-START STRINGTABLE SMILAttributes.st
- EXPORTPATH /epoc32/include
-END
-
-EPOCSTACKSIZE 0x8000
-
-
-
-SMPSAFE
--- a/xml/legacyminidomparser/XMLParser/test/t_GmxmlFailure.CPP Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,249 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include <e32std.h>
-#include <e32test.h>
-#include "t_GmxmlFailure.h"
-#include "t_XMLParserLOG.H"
-
-LOCAL_D CActiveScheduler* scheduler;
-LOCAL_D CImLog* log;
-_LIT(KTestTitle, "T_GmxmlFailure");
-_LIT(KExistingFilePath, "c:\\GmxmlTest.txt");
-_LIT(KNonExistingFilePath, "c:\\msg\\NotExist.txt");
-LOCAL_D CGmxmlFailure* myTester;
-// Global variables
-RTest gTest(_L("t_GmxmlFailure Test Harness"));
-
-CGmxmlFailure :: CGmxmlFailure() : CActive(EPriorityStandard)
- {
- }
-
-/**
- * Second stage constructor:
- * Creates the XML parser and calls the ParseFile() with
- * a non-exixtent file
- */
-
-void CGmxmlFailure :: ConstructL()
- {
- iSession.Connect();
- iCMDXMLParser = CMDXMLParser::NewL(this);
- log->AppendComment(_L8("Performing tests on opening non-existing file"));
- LoadXmlFile(KNonExistingFilePath);
- log->AppendComment(_L8("Completed checking of opening non-existing file"));
-
- CActiveScheduler::Add(this);
-
- iState = ENonExistFileState;
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
-
-void CGmxmlFailure::LoadXmlFile(const TDesC &aFilePath)
- {
- TInt err=iCMDXMLParser->ParseFile(iSession, aFilePath);
- if(err!=KErrNone)
- {
- log->AppendError(_L8("Parse File returned an error "),err);
- }
- }
-
-void CGmxmlFailure::LockXmlFile()
- {
- RFile file;
- //Open the file before calling ParseFile function.
- file.Open(iSession, KExistingFilePath,EFileShareExclusive);
- //Call the ParseFile() on the locked file
- TInt err=iCMDXMLParser->ParseFile(iSession, KExistingFilePath);
- if(err!=KErrNone)
- {
- log->AppendError(_L8("Parse File returned an error "),err);
- }
- file.Close();
- }
-
-CGmxmlFailure :: ~CGmxmlFailure()
-/**
- * Destructor
- */
- {
- iSession.Close();
- delete iCMDXMLParser;
- }
-
-CGmxmlFailure* CGmxmlFailure :: NewLC()
-/**
-* Allocates a new CGmxmlFailure test object and pushes
-* it on clean up stack.
-* @return New CGmxmlFailure
-*/
- {
- CGmxmlFailure* self = new (ELeave) CGmxmlFailure();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-void CGmxmlFailure :: ParseFileCompleteL()
-/**
-* Function from MMDXMLParserObserver class
-*/
- {
- }
-
-
-void CGmxmlFailure :: DoCancel()
-/**
-* Functions from CActive class
-*/
- {
- }
-
-void CGmxmlFailure :: RunL()
- {
- switch(iState)
- {
- case ENonExistFileState:
- {
- CActiveScheduler::Stop();
- iState = ELockFileState;
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
- break;
- case ELockFileState:
- {
- CActiveScheduler::Stop();
- iState = EEndState;
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
- break;
- case EEndState:
- {
- CActiveScheduler::Stop();
- }
- break;
- default:
- break;
- }
-
- }
-
-LOCAL_C void InitL()
- {
- TBuf<80> logFile(KLogFileName);
-
-#if defined(__WINS__) && defined(__WINSCW__)
- logFile.Append(_L(".WINSCW"));
-#elif(__WINS__)
- logFile.Append(_L(".WINS"));
-#else
- logFile.Append(_L(".MARM"));
-#endif
-
-#if defined(_DEBUG)
- logFile.Append(_L(".DEB"));
-#else
- logFile.Append(_L(".REL"));
-#endif
- logFile.Append(_L(".LOG"));
-
- gTest.Printf(_L("\nLog File "));
- gTest.Printf(logFile);
- gTest.Printf(_L("\n"));
- log = CImLog::NewL(logFile, EAppend);
- CleanupStack::PushL(log);
- log->AppendComment(_L8("Test Results"));
- log->AppendComment(_L8("T_GMXMLFAILURE memory leak test in XMLParser"));
- log->AppendComment(_L8("Test 1 Starting"));
- }
-
-/**
- * setup test environment, create CGmxmlFailure object and run test.
- *
- * This is an memory leak test.
- * Test case:
- * Passes the file name and session to CMDXMLParser::ParseFile()
- * as arguments and run the memory leak test.
- * Running Instructions:
- * 1. Build this test harness: cd \GMXML\XMLParser\GROUP
- * bldmake bldfiles
- * abld test build wins udeb t_GmxmlFailure
- * 2. Run t_GmxmlFailure.exe: cd \epoc32\release\wins\udeb
- * t_GmxmlFailure -dtextshell --
- *
- * Output files produced by running test harness:
- * <DRIVE>:\msglogs\T_GMXMLFAILURE.<PLATFORM>.<VARIANT>.txt
- */
-
-LOCAL_C void doMainL()
- {
- gTest.Start(KTestTitle);
- InitL();
- scheduler = new (ELeave) CActiveScheduler;
- CleanupStack::PushL(scheduler);
- CActiveScheduler::Install( scheduler );
- __UHEAP_MARK;
- myTester = CGmxmlFailure::NewLC();
- CActiveScheduler::Start();
- log->AppendComment(_L8("Completed tests. No panic"));
- log->AppendComment(_L8("Test PASSED"));
- log->AppendComment(_L8("Test 1 OK"));
-
- log->AppendComment(_L8("Test 2 Starting"));
- log->AppendComment(_L8("Performing tests on opening existing file"));
- myTester->LoadXmlFile(KExistingFilePath);
- log->AppendComment(_L8("Completed checking of opening existing file"));
- CActiveScheduler::Start();
- log->AppendComment(_L8("Completed tests. No panic"));
- log->AppendComment(_L8("Test PASSED"));
- log->AppendComment(_L8("Test 2 OK"));
-
- log->AppendComment(_L8("Test 3 Starting"));
- log->AppendComment(_L8("Performing tests on locked file"));
- myTester->LockXmlFile();
- log->AppendComment(_L8("Completed checking of opening a locked file"));
- CActiveScheduler::Start();
- log->AppendComment(_L8("Completed tests. No panic"));
- log->AppendComment(_L8("Test PASSED"));
- log->AppendComment(_L8("Test 3 OK"));
-
- CleanupStack::PopAndDestroy(myTester); // myTester
- __UHEAP_MARKEND;
-
- log->AppendComment(_L8("No memory leak in XMLParser"));
- log->AppendComment(_L8("T_GMXMLFAILURE Tests Complete"));
- log->AppendComment(_L8("Tests Completed"));
-
- CleanupStack::PopAndDestroy(2); // scheduler, log
- gTest.End();
- gTest.Close();
- }
-
-/** entry point for test executable */
-GLDEF_C TInt E32Main()
- {
- CTrapCleanup* theCleanup = CTrapCleanup::New();
- TRAPD(ret,doMainL());
- gTest(ret==KErrNone);
- delete theCleanup;
-
- return(KErrNone);
- }
--- a/xml/legacyminidomparser/XMLParser/test/t_GmxmlFailure.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,76 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include <e32base.h>
-#include <f32file.h>
-#include <gmxmlparser.h>
-
-/** @file
- * This file contains the declaration of the generic CGmxmlFailure class
- * which is responsible for testing the memory leak in the XMLParser.
- */
-
-class CGmxmlFailure : public CActive, public MMDXMLParserObserver
- {
-public:
- /** Allocates and constructs a new CGmxmlFailure test.
- @return New CGmxmlFailure
- */
- static CGmxmlFailure* NewLC();
-
- // Second constructor
- void ConstructL();
-
- /** Constructor. */
- CGmxmlFailure();
-
- /** Destructor. */
- ~CGmxmlFailure();
-
- /**
- * Functions from MMDXMLParserObserver class
- */
- void ParseFileCompleteL();
-
- /**
- * Function from MMDXMLComposerObserver
- */
- void ComposeFileCompleteL();
-
- void LoadXmlFile(const TDesC &aFilePath);
- void LockXmlFile();
-
-public: // from CActive
- void DoCancel();
- /*
- * RunL function inherited from CActive base class - carries out the actual
- * parser leak test.
- * @leave can Leave due to OOM
- */
- void RunL();
-
-private:
- CMDXMLParser* iCMDXMLParser;
- RFs iSession; // File session for ParseFile.
- TInt iState;
- enum TStates
- {
- EEndState = 0x00,
- ENonExistFileState,
- ELockFileState,
- };
- };
-
-
--- a/xml/legacyminidomparser/XMLParser/test/t_GmxmlParser.CPP Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,207 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#include <e32test.h>
-#include <e32std.h>
-#include <f32file.h>
-#include <gmxmlparser.h>
-
-#include "GmxmlTestsetup.h"
-
-
-_LIT(KGMXMLParserTest,"T_GMXMLParser");
-class CTestGMXMLParser;
-
-RTest test(KGMXMLParserTest);
-LOCAL_D CTestGMXMLParser* testParser;
-LOCAL_D CActiveScheduler* scheduler;
-
-//------------------------------------------------------------------------------
-
-class CStreamErrorDataSupplier : public CBase, public MMDXMLParserDataProvider
- {
-public:
- static CStreamErrorDataSupplier * NewL();
- ~CStreamErrorDataSupplier () {}
-
- // From MMDXMLParserDataProvided
- void GetData(TPtrC8& aPtr, TRequestStatus &aStatus);
- void Disconnect() {}
- };
-
-//------------------------------------------------------------------------------
-
-CStreamErrorDataSupplier* CStreamErrorDataSupplier::NewL()
- {
- CStreamErrorDataSupplier* self = new (ELeave) CStreamErrorDataSupplier();
- return self;
- }
-
-//------------------------------------------------------------------------------
-// From MMDXMLParserDataProvided
-void CStreamErrorDataSupplier::GetData(TPtrC8& /*aPtr*/, TRequestStatus &aStatus)
- {
- TRequestStatus *s = &aStatus;
- User::RequestComplete(s, KDataStreamError);
- return;
- }
-
-//------------------------------------------------------------------------------
-
-class CTestGMXMLParser : public CActive, public MMDXMLParserObserver
- {
-public:
- static CTestGMXMLParser* NewLC();
- ~CTestGMXMLParser();
- void ConstructL();
- void RunTestL();
-
-public: // from CActive
- void DoCancel();
- void RunL();
-
-public: // from MMDXMLParserObserver
- void ParseFileCompleteL();
-
-private:
- CTestGMXMLParser();
-
-public:
- TBool iParseFileCompleted; // Whether the ParseFileCompleted was called.
- TBool iParserCalled; // Whether the GMXMLParser::ParseSource was called
-
-private:
- CMDXMLParser* iParser;
- CStreamErrorDataSupplier* iDataSupplier;
- CTestTimer* iTimer;
-
- static const TTimeIntervalMicroSeconds32 TestParserTimeout;
- };
-
-//------------------------------------------------------------------------------
-
-const TTimeIntervalMicroSeconds32 CTestGMXMLParser::TestParserTimeout = 10000000; // 10s
-
-//------------------------------------------------------------------------------
-
-CTestGMXMLParser* CTestGMXMLParser::NewLC()
- {
- CTestGMXMLParser* self = new (ELeave) CTestGMXMLParser();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-//------------------------------------------------------------------------------
-
-CTestGMXMLParser::~CTestGMXMLParser()
- {
- delete iParser;
- delete iDataSupplier;
- delete iTimer;
- }
-
-//------------------------------------------------------------------------------
-
-CTestGMXMLParser::CTestGMXMLParser() : CActive(EPriorityStandard), iParseFileCompleted(EFalse), iParserCalled(EFalse)
- {
- }
-
-//------------------------------------------------------------------------------
-
-void CTestGMXMLParser::ConstructL()
- {
- iParser = CMDXMLParser::NewL(this);
- iTimer = CTestTimer::NewL();
-
- CActiveScheduler::Add(this);
-
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
-
-//------------------------------------------------------------------------------
-
-void CTestGMXMLParser::RunL()
- {
- RunTestL();
- }
-
-//------------------------------------------------------------------------------
-
-void CTestGMXMLParser::DoCancel()
- {
- }
-
-//------------------------------------------------------------------------------
-
-void CTestGMXMLParser::RunTestL()
- {
- if (!iParserCalled)
- {
- delete iDataSupplier;
- iDataSupplier = NULL;
- iDataSupplier = CStreamErrorDataSupplier::NewL();
- iParser->ParseSource(iDataSupplier);
-
- iStatus = KRequestPending;
- SetActive();
- iParserCalled = ETrue;
- // Create a timer to stop the active scheduler if ParseFileComplete not called.
- iTimer->AfterReq(CTestGMXMLParser::TestParserTimeout, iStatus);
- }
- else
- CActiveScheduler::Stop();
- }
-
-//------------------------------------------------------------------------------
-
-void CTestGMXMLParser::ParseFileCompleteL()
- {
- // Success.
- iParseFileCompleted = ETrue;
-
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- }
-
-//------------------------------------------------------------------------------
-
-LOCAL_C void doTestsL()
- {
- scheduler = new (ELeave) CActiveScheduler;
- CleanupStack::PushL(scheduler);
- CActiveScheduler::Install( scheduler );
- testParser = CTestGMXMLParser::NewLC();
-
- theUtils->WriteComment(_L("\nPerforming Tests\n"));
- theUtils->Start(_L("Testing GMXMLParser receiving KDataStreamError from MMDXMLParserDataProvider::GetData()"));
- CActiveScheduler::Start();
- theUtils->Complete();
-
- // Succeed only if the GMXMLParser::ParserSource was called and it resulted
- // in ParseFileCompleted being called.
- if (!testParser->iParserCalled || !testParser->iParseFileCompleted)
- {
- theUtils->WriteComment(_L("\nParseFileCompleted was not called within the timeout (10s)!"));
- User::Leave(KErrGeneral);
- }
-
- CleanupStack::PopAndDestroy(2); //testParser, ischeduler
- }
-
-//------------------------------------------------------------------------------
-
--- a/xml/legacyminidomparser/XMLParser/test/t_SmilData.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,228 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the definitions of elemenent names and transitions
-// for the SMIL DTD.
-//
-//
-
-/**
- @file
-*/
-
-#ifndef T_SMILDATA_H
-#define T_SMILDATA_H
-
-// Constants for the initial and terminal states
-const TInt KSMILDTDStartState = 0;
-const TInt KSMILDTDEndState = -1;
-const TInt KSMILDTDMinJump = 5; // Don't do binary chop below this size. Not a critical value.
-
-#define MAKESMILDTDSTATETYPE( from, to, str ) { from, to, _S(str), (sizeof(str)-1) }
-
-//Literal definitions for element names
-_LIT(KSMILDTDElta, "a");
-_LIT(KSMILDTDEltanchor, "anchor");
-_LIT(KSMILDTDEltanimation, "animation");
-_LIT(KSMILDTDEltarea, "area");
-_LIT(KSMILDTDEltaudio, "audio");
-_LIT(KSMILDTDEltbody, "body");
-_LIT(KSMILDTDElthead, "head");
-_LIT(KSMILDTDEltimg, "img");
-_LIT(KSMILDTDEltlayout, "layout");
-_LIT(KSMILDTDEltpar, "par");
-_LIT(KSMILDTDEltprefetch, "prefetch");
-_LIT(KSMILDTDEltref, "ref");
-_LIT(KSMILDTDEltregion, "region");
-_LIT(KSMILDTDEltroot_layout, "root-layout");
-_LIT(KSMILDTDEltseq, "seq");
-_LIT(KSMILDTDEltsmil, "smil");
-_LIT(KSMILDTDEltswitch, "switch");
-_LIT(KSMILDTDElttext, "text");
-_LIT(KSMILDTDElttextstream, "textstream");
-_LIT(KSMILDTDEltvideo, "video");
-_LIT(KSMILDTDEltmeta, "meta");
-_LIT(KSMILDTDEltmetadata, "metadata");
-_LIT(KSMILDTDEltDoc, "documentelement");
-_LIT(KSMILDTDEltTrans, "transition");
-// Child Validation States
-
-// Array of allowed child element state transitions
-// <!ELEMENT seq (text|img|audio|video|animation|textstream|ref|switch|a|anchor|area|par|seq)*>
-// Same for par
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDTimingChildStates[15] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(0, 0, "a"),
- MAKESMILDTDSTATETYPE(0, 0, "anchor"),
- MAKESMILDTDSTATETYPE(0, 0, "animation"),
- MAKESMILDTDSTATETYPE(0, 0, "area"),
- MAKESMILDTDSTATETYPE(0, 0, "audio"),
- MAKESMILDTDSTATETYPE(0, 0, "img"),
- MAKESMILDTDSTATETYPE(0, 0, "par"),
- MAKESMILDTDSTATETYPE(0, 0, "prefetch"),
- MAKESMILDTDSTATETYPE(0, 0, "ref"),
- MAKESMILDTDSTATETYPE(0, 0, "seq"),
- MAKESMILDTDSTATETYPE(0, 0, "switch"),
- MAKESMILDTDSTATETYPE(0, 0, "text"),
- MAKESMILDTDSTATETYPE(0, 0, "textstream"),
- MAKESMILDTDSTATETYPE(0, 0, "video")
- };
-
-LOCAL_D const TInt KSMILDTDTimingChildStateTranCount = 15;
-
-
-LOCAL_D const TSMILDTDChildStateType SMILDTDAChildStates[8] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(0, 0, "animation"),
- MAKESMILDTDSTATETYPE(0, 0, "audio"),
- MAKESMILDTDSTATETYPE(0, 0, "img"),
- MAKESMILDTDSTATETYPE(0, 0, "ref"),
- MAKESMILDTDSTATETYPE(0, 0, "text"),
- MAKESMILDTDSTATETYPE(0, 0, "textstream"),
- MAKESMILDTDSTATETYPE(0, 0, "video")
- };
-
-LOCAL_D const TInt KSMILDTDAChildStateTranCount = 8;
-
-
-// Array of allowed child element state transitions
-// <!ELEMENT body (par|seq|text|img|audio|video|animation|textstream|ref|switch|a|anchor|area)*>
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDBodyChildStates[15] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(0, 0, "a"),
- MAKESMILDTDSTATETYPE(0, 0, "anchor"),
- MAKESMILDTDSTATETYPE(0, 0, "area"),
- MAKESMILDTDSTATETYPE(0, 0, "animation"),
- MAKESMILDTDSTATETYPE(0, 0, "audio"),
- MAKESMILDTDSTATETYPE(0, 0, "img"),
- MAKESMILDTDSTATETYPE(0, 0, "par"),
- MAKESMILDTDSTATETYPE(0, 0, "prefetch"),
- MAKESMILDTDSTATETYPE(0, 0, "ref"),
- MAKESMILDTDSTATETYPE(0, 0, "seq"),
- MAKESMILDTDSTATETYPE(0, 0, "switch"),
- MAKESMILDTDSTATETYPE(0, 0, "text"),
- MAKESMILDTDSTATETYPE(0, 0, "textstream"),
- MAKESMILDTDSTATETYPE(0, 0, "video")
- };
-
-LOCAL_D const TInt KSMILDTDBodyChildStateTranCount = 15;
-
-
-// Array of allowed child element state transitions
-// <!ELEMENT head (layout|switch)?> PLUS we allow meta's anywhere!
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDHeadChildStates[10] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(1, -1, ""),
- MAKESMILDTDSTATETYPE(0, 1, "layout"),
- MAKESMILDTDSTATETYPE(0, 0, "meta"),
- MAKESMILDTDSTATETYPE(1, 1, "meta"),
- MAKESMILDTDSTATETYPE(0, 0, "metadata"),
- MAKESMILDTDSTATETYPE(1, 1, "metadata"),
- MAKESMILDTDSTATETYPE(0, 0, "transition"),
- MAKESMILDTDSTATETYPE(1, 1, "transition"),
- MAKESMILDTDSTATETYPE(0, 1, "switch")
- };
-
-LOCAL_D const TInt KSMILDTDHeadChildStateTranCount = 10;
-
-
-// Array of allowed child element state transitions
-// <!ELEMENT layout (root-layout?,(region)*)>
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDLayoutChildStates[5] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(1, -1, ""),
- MAKESMILDTDSTATETYPE(0, 1, "region"),
- MAKESMILDTDSTATETYPE(1, 1, "region"),
- MAKESMILDTDSTATETYPE(0, 1, "root-layout")
- };
-
-LOCAL_D const TInt KSMILDTDLayoutChildStateTranCount = 5;
-
-
-// Array of allowed child element state transitions
-// <!ELEMENT MediaObject (area|anchor)*>
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDMediaChildStates[3] =
- {
- MAKESMILDTDSTATETYPE( 0, -1, "") ,
- MAKESMILDTDSTATETYPE( 0, 0, "anchor"),
- MAKESMILDTDSTATETYPE( 0, 0, "area")
- };
-
-LOCAL_D const TInt KSMILDTDMediaChildStateTranCount = 3;
-
-// Array of allowed child element state transitions
-// <!ELEMENT smil (head?,body?)>
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDSmilChildStates[6] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(1, -1, ""),
- MAKESMILDTDSTATETYPE(2, -1, ""),
- MAKESMILDTDSTATETYPE(0, 2, "body"),
- MAKESMILDTDSTATETYPE(1, 2, "body"),
- MAKESMILDTDSTATETYPE(0, 1, "head")
- };
-
-LOCAL_D const TInt KSMILDTDSmilChildStateTranCount = 6;
-
-// Array of allowed child element state transitions
-// <!ELEMENT switch ((text|img|audio|video|animation|textstream|ref|a|anchor|area)*|(par|seq)*|layout)>
-// Entries must be sorted by tag and then by from state
-LOCAL_D const TSMILDTDChildStateType SMILDTDSwitchChildStates[31] =
- {
- MAKESMILDTDSTATETYPE(0, -1, ""),
- MAKESMILDTDSTATETYPE(1, -1, ""),
- MAKESMILDTDSTATETYPE(2, -1, ""),
- MAKESMILDTDSTATETYPE(3, -1, ""),
- MAKESMILDTDSTATETYPE(0, 1, "a"),
- MAKESMILDTDSTATETYPE(1, 1, "a"),
- MAKESMILDTDSTATETYPE(0, 1, "anchor"),
- MAKESMILDTDSTATETYPE(1, 1, "anchor"),
- MAKESMILDTDSTATETYPE(0, 1, "animation"),
- MAKESMILDTDSTATETYPE(1, 1, "animation"),
- MAKESMILDTDSTATETYPE(0, 1, "area"),
- MAKESMILDTDSTATETYPE(1, 1, "area"),
- MAKESMILDTDSTATETYPE(0, 1, "audio"),
- MAKESMILDTDSTATETYPE(1, 1, "audio"),
- MAKESMILDTDSTATETYPE(0, 1, "img"),
- MAKESMILDTDSTATETYPE(1, 1, "img"),
- MAKESMILDTDSTATETYPE(0, 3, "layout"),
- MAKESMILDTDSTATETYPE(0, 2, "par"),
- MAKESMILDTDSTATETYPE(2, 2, "par"),
- MAKESMILDTDSTATETYPE(0, 1, "prefetch"),
- MAKESMILDTDSTATETYPE(1, 1, "prefetch"),
- MAKESMILDTDSTATETYPE(0, 1, "ref"),
- MAKESMILDTDSTATETYPE(1, 1, "ref"),
- MAKESMILDTDSTATETYPE(0, 2, "seq"),
- MAKESMILDTDSTATETYPE(2, 2, "seq"),
- MAKESMILDTDSTATETYPE(0, 1, "text"),
- MAKESMILDTDSTATETYPE(1, 1, "text"),
- MAKESMILDTDSTATETYPE(0, 1, "textstream"),
- MAKESMILDTDSTATETYPE(1, 1, "textstream"),
- MAKESMILDTDSTATETYPE(0, 1, "video"),
- MAKESMILDTDSTATETYPE(1, 1, "video")
- };
-
-LOCAL_D const TInt KSMILDTDSwitchChildStateTranCount = 31;
-
-#endif // T_SMILDATA_H
--- a/xml/legacyminidomparser/XMLParser/test/t_SmilDtd.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,119 +0,0 @@
-// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the definition of the SMILDTD class
-//
-//
-/**
- * @file
- * @publishedPartner
- * @released
- */
-#ifndef T_SMILDTD_H
-#define T_SMILDTD_H
-
-#include <e32def.h>
-#include <gmxmldocument.h>
-#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "t_smildtdenum.h"
-#endif
-/**
-MXMLDtd is a mixin class. If User wants to derive from MXMLDtd class ,
-then one should not derive from any other class at the same time.
-i.e A class can not derive from CBase at all using MXMLDtd.
-
-Represents the SMIL DTD.
-It is used for validation of SMIL documents.
-@publishedPartner
-@released
-*/
-class CSMILDtd: public MXMLDtd
- {
-public:
-
- /** Allocates and constructs a new SMIL DTD validator.
-
- @leave KErrNoMemory Out of memory
- @return New SMIL DTD validator */
- IMPORT_C static CSMILDtd* NewL();
-
- /** Allocates and constructs a new SMIL DTD validator, leaving the object on the
- cleanup stack.
-
- @leave KErrNoMemory Out of memory
- @return New SMIL DTD validator */
- IMPORT_C static CSMILDtd* NewLC();
-
- /** Destructor. */
- IMPORT_C virtual ~CSMILDtd();
-
-protected:
- /*
- * Function to determine whether an Element name is valid in DTD
- * @return ETrue the if element name valid - else EFalse
- * @param aElement the element name to be tested
- * @leave can leave due to OOM
- */
- virtual TBool IsValidElementL(const TDesC& aElement) const;
-
- /*
- * Function to determine whether an attribute name and value is valid in DTD
- * @return KErrNone if name&value are valid, KXMLBadAttributeName if attrib name invalid
- * KXMLBadAttributeValue if attrib value invalid
- * @param aElement the element to which the attributes belong
- * @param aAttribute the attribute to be tested
- * @leave aAttributeValue the attributeValue to be tested
- * @leave can leave due to OOM
- */
-
- virtual TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const;
-
- /*
- * Function to determine whether the parent/child relationship is valid in DTD
- * @return ETrue if parent/child relationship is valid
- * @param aParentElement the name of the parent element to be tested
- * @param aChildElements an array of child element name to be tested
- * @leave can leave due to OOM
- */
-
- virtual TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const;
-
-
- /*
- * Function to determine whether it is valid for a particular element to
- * have children
- * @param aElement the name of the element to be tested
- * @return ETrue if it is valid for element to have children
- */
- virtual TBool CanElementHaveChildren(const TDesC& aElement) const;
-
-
- /*
- * Constructor
- */
- CSMILDtd();
-
-private:
- /*
- * Second stage constructor
- */
- void ConstructL();
-
- TBool CheckValidChildren(const TSMILDTDChildStateType aStateTrans[],TInt aStateCount, const CDesCArray& aChildElements) const;
-
- };
-
-#endif
-
-
-
--- a/xml/legacyminidomparser/XMLParser/test/t_Smildtd.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,549 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// CSMILDTD.cpp
-// @file
-// This file contains the definition of the SMILDTD class
-// which describes the SMIL DTD and is responsible for validation
-// of SMIL documents
-//
-//
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "t_smildtdenum.h"
-#endif
-#include "t_SmilDtd.h"
-#include "t_SmilData.h"
-#include <stringpool.h>
-#include "smilelements.h"
-#include "smilattributes.h"
-#include "smilgenericelements.h"
-#include <gmxmlconstants.h>
-
-//
-// Global functions //
-//
-
-
-EXPORT_C CSMILDtd* CSMILDtd::NewL()
-//
-// Two phase static factory function constructor
-// @return Created CSMILDtd
-// @leave can Leave due to OOM
-//
- {
- CSMILDtd* self = NewLC();
- CleanupStack::Pop();
- return self;
- }
-
-EXPORT_C CSMILDtd* CSMILDtd::NewLC()
-//
-// Two phase static factory function constructor
-// @return Created CSMILDtd
-// @leave can Leave due to OOM
-//
- {
- CSMILDtd* self = new (ELeave) CSMILDtd();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-void CSMILDtd::ConstructL()
-//
-// Second stage constructor
-// @leave can Leave due to OOM
-//
- {
- // nothing to do
- }
-
-
-CSMILDtd::CSMILDtd()
- {
- }
-
-
-EXPORT_C CSMILDtd::~CSMILDtd()
- {
- }
-
-TBool CSMILDtd::IsValidElementL(const TDesC& aElement) const
- {
-//
-// Checks to see if the element name passed in has been specified in the string table
-// @param aElementName the element name to be checked
-// @return ETrue if defined in the string table else EFalse
-// @leave Leave due to OOM
-//
-
- // Use the string table SMILElements to validate the element name
- TBool validElement = EFalse;
-
- RStringPool pool;
- CleanupClosePushL(pool);
- pool.OpenL(SMILElements::Table);
-
- int numTableEntries = SMILElements::Table.iCount;
- if(numTableEntries != 0)
- {
- // Using a binary search since the table is always sorted alphabetically by element.
-
- // Set us search indices to outer bounds of array
- TInt left = 0;
- TInt right = numTableEntries - 1;
- TInt compareResult = 0;
- TInt pos;
- while (right >= left)
- {
- pos = (left + right) / 2;
-
- RStringF tableEntry = pool.StringF(pos, SMILElements::Table);
- HBufC* buf = HBufC::NewLC(tableEntry.DesC().Length());
- buf->Des().Copy(tableEntry.DesC());
-
- TLex string(*buf);
-
- TPtrC token = string.NextToken();
- compareResult = aElement.Compare(token);
- if(compareResult == 0)
- validElement = ETrue;
-
- CleanupStack::PopAndDestroy(buf);
-
-
- if(compareResult == 0)
- break;
- else if (compareResult > 0)
- left = pos + 1;
- else
- right = pos - 1;
- }
-
- }
- CleanupStack::PopAndDestroy(); // close pool
- return validElement;
-
- }
-
-TInt CSMILDtd::IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const
- {
-//
-// Checks that both the Attribute Name & Attribute Value are valid using string tables stored in the document
-// @param aAttributeName - name of attribute to be checked
-// @param aAttributeValue - value of attribute to be checked
-// @return KErrNone if attribute & value are valid, otherwise KErrXMLBadAttributeName or KErrXMLBadAttributeValue
-// @leave Leave due to OOM
-//
-
-
- // To reduce the size of the element/attribute/value generic element names are used
- // So for example 'img' and 'video' are both represented by the genericelement 'media'
- // A table exists (SMILGenericElements) detailing these relationships
-
- // So first we see if there is a generic element name for this element
- // If not then genericElementName will just be the element name passed in
- HBufC* genericElementName = NULL;
-
-
- RStringPool pool;
- CleanupClosePushL(pool);
- pool.OpenL(SMILGenericElements::Table);
-
- TInt numTableEntries = SMILGenericElements::Table.iCount;
- if(numTableEntries != 0)
- {
- // Using a binary search since the table is always sorted alphabetically by element.
-
- // Set us search indices to outer bounds of array
- TInt left = 0;
- TInt right = numTableEntries - 1;
- TInt pos;
- while (right >= left)
- {
- pos = (left + right) / 2;
-
- RStringF elementAndGeneric = pool.StringF(pos, SMILGenericElements::Table);
-
- HBufC* buf = HBufC::NewLC(elementAndGeneric.DesC().Length());
- buf->Des().Copy(elementAndGeneric.DesC());
- TLex string(*buf);
-
- TPtrC token = string.NextToken();
- TInt compare = aElement.Compare(token);
-
- if(compare == 0)
- {
- // We've got a match so use the generic name
- // This isn't pushed on the CleanupStack here as we need to be able to pop
- // buf and pool whilst genericElementName is still in scope. It will be
- // pushed once these aren't necessary. Because of this THERE MUST BE
- // NOTHING THAT LEAVES UNTIL genericElementName IS PUT ONTO THE CLEANUPSTACK
- genericElementName =(string.NextToken()).AllocL();
- }
-
- CleanupStack::PopAndDestroy(buf); //buf
-
-
- if(compare == 0)
- break;
- else if (compare > 0)
- left = pos + 1;
- else
- right = pos - 1;
- }
- }
-
- CleanupStack::PopAndDestroy(); // Close pool
-
- if(genericElementName != NULL)
- {
- CleanupStack::PushL(genericElementName);
- }
- else
- {
- // We didn't find a generic name so use the element name passed in
- genericElementName = HBufC::NewLC(aElement.Length());
- genericElementName->Des().Copy(aElement);
- }
-
- // Using the generic element name test to see if we have a valid attribute and value
-
- // assume the attribute name is invalid
- TInt error = KErrXMLBadAttributeName;
-
- // retrieve the attributeValue string table
- // this is of the form elementName attributeName attribValue1 attribValue2 ...
-
- CleanupClosePushL(pool);
- pool.OpenL(SMILAttributes::Table);
-
- numTableEntries = SMILAttributes::Table.iCount;
- if(numTableEntries != 0)
- {
- // Using a binary search since the table is always sorted alphabetically by element+attribute.
-
- // Set us search indices to outer bounds of array
- TInt left = 0;
- TInt right = numTableEntries - 1;
- TInt compareResult = 0;
- TInt pos;
- while (right >= left)
- {
- pos = (left + right) / 2;
-
- RStringF tableEntry = pool.StringF(pos, SMILAttributes::Table);
- HBufC* buf = HBufC::NewLC(tableEntry.DesC().Length());
- buf->Des().Copy(tableEntry.DesC());
-
- TLex string(*buf);
-
- // Get the element name from the string table (the first token)
- TPtrC token = string.NextToken();
- // Is this the element name we are interested in
- compareResult = genericElementName->Compare(token);
- if(compareResult == 0)
- {
- // we're looking at an entry in the string table for this element
- // so test to see if it's the correct attribute too.
- token.Set(string.NextToken());
- compareResult = aAttribute.Compare(token);
- if(compareResult == 0)
- {
- // we've got the correct entry in the table (both element & attribute match)
- // so now assume the error is an incorrect attribute value
- error = KErrXMLBadAttributeValue;
-
- // get hold of the first valid attribure value
- token.Set(string.NextToken());
- // if we don't have a list of attribute values then we can assume whatever we've got is valid
- // so set the error to KErrNone
- if (token.Length() == 0)
- error = KErrNone;
- else
- {
- // Cycle through all listed attribute values to see if we have a valid one
- while (token.Length() != 0)
- {
- if (aAttributeValue.Compare(token) == 0)
- {
- // value of attribute is valid
- error = KErrNone;
- break;
- }
- else
- token.Set(string.NextToken());
-
- }
- }
-
- }
-
- }
- CleanupStack::PopAndDestroy(buf); // buf
- if (compareResult == 0) // Matching item found
- break;
- else if (compareResult > 0)
- left = pos + 1;
- else
- right = pos - 1;
- }
-
- }
- CleanupStack::PopAndDestroy(2); // pool, genericElementName
-
- return error;
- }
-
-TBool CSMILDtd::AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const
-// Function to determine whether the parent/child relationship is valid in DTD
-// @return ETrue if parent/child relationship is valid
-// @param aParentElement the name of the parent element to be tested
-// @param aChildElements an array of child element name to be tested
-// @leave leave due to OOM
-//
- {
- TBool retVal = EFalse;
-
-
-
- if(aParentElement == KSMILDTDElta)
- {
- retVal = CheckValidChildren(SMILDTDAChildStates,KSMILDTDAChildStateTranCount, aChildElements);
- }
-
- else if( aParentElement == KSMILDTDEltDoc)
- {
- retVal = ETrue;
- }
-
-
- else if(aParentElement == KSMILDTDEltanimation || aParentElement == KSMILDTDEltaudio || aParentElement == KSMILDTDEltimg || aParentElement == KSMILDTDEltref
- || aParentElement == KSMILDTDElttext || aParentElement == KSMILDTDElttextstream || aParentElement == KSMILDTDEltvideo)
- {
- retVal = CheckValidChildren(SMILDTDMediaChildStates, KSMILDTDMediaChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDEltbody)
- {
- retVal = CheckValidChildren(SMILDTDBodyChildStates, KSMILDTDBodyChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDElthead)
- {
- retVal = CheckValidChildren(SMILDTDHeadChildStates, KSMILDTDHeadChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDEltlayout)
- {
- retVal = CheckValidChildren(SMILDTDLayoutChildStates, KSMILDTDLayoutChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDEltpar || aParentElement == KSMILDTDEltseq)
- {
- retVal = CheckValidChildren(SMILDTDTimingChildStates, KSMILDTDTimingChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDEltsmil)
- {
- retVal = CheckValidChildren(SMILDTDSmilChildStates, KSMILDTDSmilChildStateTranCount, aChildElements);
- }
-
- else if(aParentElement == KSMILDTDEltswitch)
- {
- retVal = CheckValidChildren(SMILDTDSwitchChildStates, KSMILDTDSwitchChildStateTranCount, aChildElements);
- }
-
- return retVal;
- }
-
-
-TBool CSMILDtd::CheckValidChildren(const TSMILDTDChildStateType aStateTrans[],TInt aStateCount, const CDesCArray& aChildElements) const
-//
-// Checks child element ownership based on a Finite State Machine
-// @param aFirstChild - pointer to first child element
-// @param aStateTrans - Array of state transition elements.
-// The elements must be ordered by tag name first and then starting state
-// as this routine uses the ordering to drive an efficient search.
-// @param aStateCount - the number of state transitions in the array
-// @return true if the list of children matches the defined state machine
-//
- {
- // This routine works by considering the allowed set of child elements as a Finite State
- // Machine. When tracing through the list of children, each child encountered causes
- // a state transition. The actual states are 'between' elements. The states are
- // simply referred to by numbers, 0 is the starting state, the legal final state is
- // state -1, other states are positive integers (the actual values have no significance,
- // only the transitions and the start and end are of importance.
- // When the list of children ends, a special 'empty tag' element is considered to be
- // found. If this empty tag element causes a transition to the final state then the list
- // has been successfully traversed.
- // If, at any point, a child element is encountered which does not lead to a valid
- // transition from the current state then the list is invalid. By considering the
- // empty tag element to be on the end of the list we handle the requirements for valid
- // completion.
- // This routine is general - it just needs to be fed a set of state transitions for a specific
- // element type.
-
- TBool returnValue = true; // We are successful until proved otherwise
- if( aStateCount < 1 )
- {
- returnValue = false; // Just check for a duff count
- }
- TInt fromState=KSMILDTDStartState; // Current state - the one we are looking for a transition from
- TInt toState=KSMILDTDEndState; // State to which this tag leads us - initialised to avoid warning
- TInt midPoint= aStateCount / 2; // Middle of the state array, used for binary search
- TInt initJump = midPoint / 2; // Size of initial jump for binary search
- TInt tranArrInd; // Index into the state transition array
-
- // Prime the search with the initial state and the tag for the first element
- // We skip nodes which are not elements (e.g. text, comments or processing instructions)
-
-
- for (TInt i = 0; i<aChildElements.Count(); i++)
- {
- // Check for the 'empty tag'. We could take a local copy but that would
- // not be most efficient so we have slightly more complex code.
-
- {
- // Given a current state and tag, find a valid transition.
- // Use a binary search - the array is sorted on tag name first and then
- // from state. We binary chop to a suitable level and then do a linear
- // search until we hit pay-dirt or find an element which proves. We
- // only bother to binary search based on the tag name.
- // This is a home baked binary chop and could potentially be made more elegant.
-
- tranArrInd = midPoint;
- TInt jump = initJump;
- TBool keepChopping = true;
- TInt compVal;
- TPtrC tranTag;
- while(keepChopping)
- {
- tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
-
- compVal = aChildElements[i].Compare(tranTag);
- if(compVal < 0)
- {
- tranArrInd -= jump;
- }
- else if(compVal > 0)
- {
- tranArrInd += jump;
- }
- jump = jump / 2;
- if((compVal == 0) || (jump < KSMILDTDMinJump))
- {
- keepChopping = false;
- }
- }// endwhile
- // We have now finished binary chopping, either because we matched the tag or because
- // We got to a small jump size. Now do a linear scan, up or down, to fimd a match.
-
- TBool up = true; // Direction of scan
- tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
- compVal = aChildElements[i].Compare(tranTag);
- if((compVal < 0) ||
- ((compVal == 0) && (fromState < aStateTrans[tranArrInd].FromState)))
- {
- up = false;
- }
- if( up )
- {
- while((tranArrInd < aStateCount) &&
- ((compVal > 0) ||
- ((compVal == 0) && (fromState > aStateTrans[tranArrInd].FromState))))
- {
- tranArrInd ++;
- tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
- if(tranArrInd < aStateCount)
- {
- compVal = aChildElements[i].Compare(tranTag);
- }
- }// endwhile stepping up
- }
- else
- {
- while((tranArrInd >= 0) &&
- ((compVal < 0) ||
- ((compVal == 0) && (fromState < aStateTrans[tranArrInd].FromState))))
- {
- tranArrInd --;
- tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
- if(tranArrInd >= 0)
- {
- compVal = aChildElements[i].Compare(tranTag);
- }
- }// endwhile stepping down
- }
- // If we have a match, fine, else this is an illegal transition
- if((tranArrInd >= 0) && (tranArrInd < aStateCount) &&
- (compVal == 0) && (fromState == aStateTrans[tranArrInd].FromState))
- {
- toState = aStateTrans[tranArrInd].ToState;
- }
- else
- {
- returnValue = false;
- break;
- }
- }//end else not reached end of list of children
-
- fromState = toState;
- }// endfor
-
- if(returnValue)
- {
- tranArrInd = 0;
- while((tranArrInd < aStateCount) &&
- (aStateTrans[tranArrInd].FromState != fromState) &&
- (aStateTrans[tranArrInd].TagLength == 0))
- {
- tranArrInd++;
- }
- if((tranArrInd < aStateCount) &&
- (aStateTrans[tranArrInd].FromState == fromState) &&
- (aStateTrans[tranArrInd].TagLength == 0))
- {
- toState = aStateTrans[tranArrInd].ToState ; // Better be the final state!
- }
- else
- {
- returnValue = false ; // No legal transition
- }
- }
-
-
- return returnValue;
- }
-
-
-
-
-TBool CSMILDtd::CanElementHaveChildren(const TDesC& aElement) const
-//
-// Function to determine whether it is valid for a particular element to
-// have children
-// @param aElement the name of the element to be tested
-// @return ETrue if it is valid for element to have children
-//
- {
- TBool retVal = ETrue;
- if(aElement == KSMILDTDEltanchor || aElement == KSMILDTDEltmeta || aElement == KSMILDTDEltroot_layout
- || aElement == KSMILDTDEltregion || aElement == KSMILDTDEltarea || aElement == KSMILDTDEltmetadata
- || aElement == KSMILDTDEltprefetch || aElement == KSMILDTDEltTrans)
- retVal = EFalse;
-
- return retVal;
-
- }
--- a/xml/legacyminidomparser/XMLParser/test/t_XMLParserLOG.CPP Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,190 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#ifdef _DEBUG
-#undef _MSG_NO_LOGGING
-#endif
-
-#include "t_XMLParserLOG.H"
-
-
-CImLog::CImLog()
- {
- __DECLARE_NAME(_S("CImLog"));
- }
-
-//
-// NewL - user describes full file path and file name for the log file
-//
-CImLog *CImLog::NewL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode)
- {
- CImLog* self = new (ELeave) CImLog();
- CleanupStack::PushL(self);
- self->ConstructL(aFullFilePath,aImLogOpenMode);
- CleanupStack::Pop();
- return self;
- }
-
-//
-// 2nd phase of construction
-//
-#ifndef _MSG_NO_LOGGING
-void CImLog::ConstructL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode)
-#else
-void CImLog::ConstructL(const TDesC& /*aFullFilePath*/, TImLogOpenMode /*aImLogOpenMode*/)
-#endif
- {
-#ifndef _MSG_NO_LOGGING
-
- User::LeaveIfError(iFs.Connect());
- TFileName logFile;
- logFile.Append(aFullFilePath);
-
- if (aImLogOpenMode==EAppend)
- {
- TInt err=iFile.Open(iFs,logFile,EFileWrite|EFileShareAny);
- if (err==KErrNotFound)
- {
- iFile.Create(iFs,logFile,EFileWrite|EFileShareAny);
- }
- else if (err != KErrNone)
- {
- User::Leave(err);
- }
- TInt position=1;
- User::LeaveIfError(iFile.Seek(ESeekEnd,position));
- }
- else
- {
- // If the log directory has not been created, no log will be created. OK
- User::LeaveIfError(iFile.Replace(iFs,logFile,EFileWrite|EFileShareAny));
- }
-
-#endif // _MSG_NO_LOGGING
- }
-
-CImLog::~CImLog()
- {
-#ifndef _MSG_NO_LOGGING
-
- iFile.Close();
- iFs.Close();
-
-#endif // _MSG_NO_LOGGING
- }
-
-//
-// Log an error message
-//
-#ifndef _MSG_NO_LOGGING
-void CImLog::AppendError(const TDesC8& aErrorMessage, TInt aErrorCode)
-#else
-void CImLog::AppendError(const TDesC8& /*aErrorMessage*/, TInt /*aErrorCode*/)
-#endif
- {
-#ifndef _MSG_NO_LOGGING
- WriteToLog(KLogErrorString, &aErrorMessage, aErrorCode);
-#endif
- }
-
-//
-// Log a comment
-//
-#ifndef _MSG_NO_LOGGING
-void CImLog::AppendComment(const TDesC8& aMessage)
-#else
-void CImLog::AppendComment(const TDesC8& /*aMessage*/)
-#endif
- {
-#ifndef _MSG_NO_LOGGING
- WriteToLog(KLogCommentString, &aMessage);
-#endif
- }
-
-//
-// Construct a string with date, a message type indicator (out, in, error) sort out formatting
-//
-#ifndef _MSG_NO_LOGGING
-void CImLog::BuildLogString(const TDesC8& aFormat,const TDesC8& aOutPut, TBool aWriteCrLf)
-#else
-void CImLog::BuildLogString(const TDesC8& /*aFormat*/,const TDesC8& /*aOutPut*/, TBool /*aWriteCrLf*/)
-#endif
- {
-#ifndef _MSG_NO_LOGGING
-
- TPtrC8 logString(aOutPut);
-
- for(;;)
- {
- TInt crLfPos=logString.Find(KLogCR);
- if(crLfPos==KErrNotFound)
- {
- break;
- }
- else
- {
- TPtrC8 line;
- if (aWriteCrLf && (crLfPos == logString.Size() - 2))
- {
- line.Set(logString);
- }
- else
- {
- line.Set(logString.Left(crLfPos));
- }
- WriteToLog(TRefByValue<const TDesC8>(aFormat),&line);
- logString.Set(logString.Mid(crLfPos+2));
- }
- }
-
- if(logString.Length())
- {
- WriteToLog(TRefByValue<const TDesC8>(aFormat),&logString);
- }
-
-#endif // _MSG_NO_LOGGING
- }
-
-//
-// Write information to the log file
-//
-#ifndef _MSG_NO_LOGGING
-void CImLog::WriteToLog(TRefByValue<const TDesC8> aFmt,...)
-#else
-void CImLog::WriteToLog(TRefByValue<const TDesC8> /*aFmt*/,...)
-#endif
- {
-#ifndef _MSG_NO_LOGGING
-
- TBuf8<1024> buf;
- TTime date;
- date.HomeTime();
- TBuf<18> dateString;
- TRAPD(error, date.FormatL(dateString,(KLogDateFormatString)));
- if(error)
- {
- dateString.Copy(_L("Invalid Date"));
- }
- buf.Copy(dateString);
-
- VA_LIST list;
- VA_START(list,aFmt);
-
- buf.AppendFormatList(aFmt,list);
- buf.Append(KLogCR);
- iFile.Write(buf);
-
-#endif // _MSG_NO_LOGGING
- }
--- a/xml/legacyminidomparser/XMLParser/test/t_XMLParserLOG.H Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,66 +0,0 @@
-// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-//
-
-#if !defined(__E32BASE_H__)
-#include <e32base.h>
-#endif
-
-#if !defined(__F32FILE_H__)
-#include <f32file.h>
-#endif
-
-_LIT(KLogFileName, "C:\\MsgLogs\\T_GMXMLFAILURE");
-_LIT8(KLogErrorString, "** %S %d");
-_LIT8(KLogCommentString, " %S");
-_LIT8(KLogCR, "\r\n");
-_LIT(KLogDateFormatString, "%D%M%*Y%1%/1%2%/2%3 %H%:1%T%:2%S");
-
-
-// Setting to select whether a new log file will be created,
-// or existing one will be appended to...
-
-/**
-@internalTechnology
-@released
-*/
-enum TImLogOpenMode
- {
- EReplace,
- EAppend
- };
-
-class CImLog : public CBase
-/**
-@internalTechnology
-@released
-*/
- {
-public:
- static CImLog* NewL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode);
- ~CImLog();
-
- void AppendComment(const TDesC8& aMessage);
- void AppendError(const TDesC8& aErrorMessage, TInt aErrorCode);
-private:
- CImLog();
- void ConstructL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode);
-
- void BuildLogString(const TDesC8& aFormat,const TDesC8& aOutPut, TBool aWriteCrLf = EFalse);
- void WriteToLog(TRefByValue<const TDesC8> aFmt,...);
-private:
- RFile iFile;
- RFs iFs;
- };
-
--- a/xml/legacyminidomparser/XMLParser/test/t_smildtdenum.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// smildtdenum.h
-//
-//
-/**
- * @file
- * @internalComponent
- * @released
- */
-#ifndef T_SMILDTDENUM_H
-#define T_SMILDTDENUM_H
-
-#include <e32def.h>
-
-// Structures and definitions for child element checking.
-// The child element checks are managed by a state machine and this type defines
-// allowed transitions.
-struct TSMILDTDChildStateType
-/**
-@internalComponent
-@released
-*/
- {
- TInt FromState; // Starting state - 0 = initial state
- TInt ToState; // Next state - -1 = terminating state
- const TText *TagName; // Name of tag causing the transition, empty string = finished
- TInt TagLength; // Length of tag string (helps to make the descriptor)
- };
-
-#endif // T_SMILDTDENUM_H
--- a/xml/legacyminidomparser/XMLParser/test/t_smiltranslatortest.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1219 +0,0 @@
-// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
-// All rights reserved.
-// This component and the accompanying materials are made available
-// under the terms of "Eclipse Public License v1.0"
-// which accompanies this distribution, and is available
-// at the URL "http://www.eclipse.org/legal/epl-v10.html".
-//
-// Initial Contributors:
-// Nokia Corporation - initial contribution.
-//
-// Contributors:
-//
-// Description:
-// This file contains the Console Test Harness for testing the SMILTranslator .dll
-// It carries this out by searching for all files of a certain type (as specified by
-// KWildName) that reside in a given set of directories (as specified by KInputPathList)
-// It then passes each file through a Parser object, picks up the resultant Document
-// object and passes this straight back to the composer object. Output is a new XML
-// file of the same name but different directory (same as initial directory but with
-// KTestFindStr replaced by KTestReplaceStr & KTestReplaceStr2) - these directories are
-// created automatically. The application then reports any errors for each file before
-// moving onto the next one. These error reports are copied to the console screen (but
-// usually too fast to read); to the output window in developer studio; and to a flat
-// file (named and located as specified in KErrorFileName)
-// There are 3 types of test that may be run. The Basic test merely
-// translates all input files to output files. The Performance test does the same thing
-// multiple times (as specified by KPerformanceTestIterations), although the log file
-// output will only relate to the last run. Finally the Memory test utilises the Heap
-// Allocation Failure tool to incrementally run and progressively fail at each and every
-// attempt to allocate memory, it's finally run should complete successfully to prove
-// that no memory leaks have occurred in spite of X hundreds of previously failed runs.
-// Note that this finally test should be done with a much reduced number of files
-// residing in the input directories.
-// The application can test ASCII or Unicode input and output (4 combinations possible).
-// To vary the input you must manually add ASCII or Unicode files to the input
-// directories.
-// The tests can be run automatically or interactively:
-// For interactive tests, run with '-i as follows:
-// SMILTRANSLATORTEST.EXE -i
-// To run with out user interaction, please see the following examples:
-// SMILTRANSLATORTEST.EXE -h # show command line help
-// SMILTRANSLATORTEST.EXE # runs with default options
-// SMILTRANSLATORTEST.EXE -file_type ascii -data_mode file -test_type basic # same as above
-// SMILTRANSLATORTEST.EXE -use_file_handles # msgapi2 only
-// SMILTRANSLATORTEST.EXE -use_full_paths # msgapi2 only
-// SMILTRANSLATORTEST.EXE -test_type performance -performance_iteratons 3 # performance test with 3 iterations
-//
-//
-
-/**
- @file
-*/
-
-//#define DEBUG_SMILTRANSLATORTEST_
-
-#include <e32test.h>
-#include <e32std.h>
-#include <f32file.h>
-#include <txtetext.h>
-#include <gmxmlparser.h>
-#include <gmxmlcomposer.h>
-#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
-#include "t_smildtdenum.h"
-#endif
-#include "t_SmilDtd.h"
-#include <bacline.h>
-
-// Constants
-_LIT(KErrorFileName,"c:\\legacyminidomparsertest\\SMIL_Test_Files\\ErrorLog.txt");
-_LIT(KParseError," Parse File error = ");
-_LIT(KComposeError," Compose File error = ");
-_LIT(KOutputNewLine,"\r\n");
-_LIT(KStartFile,"Starting test of file ");
-_LIT(KTxtAsciiOrUnicode,"Unicode (F1), Ascii (F2) or Utf-8 (F3) output?");
-_LIT(KTxtBufferOrFile,"\nTest file API (F1), test buffer API (F2)");
-_LIT(KTxtChooseTest,"\nPress:\nF1 (or any other key) for Basic test\nF2 for Performance test\nF3 for Memory Allocation test");
-_LIT(KSmilTranslatorTest,"Smil Translator");
-_LIT(KInputPathList, "c:\\legacyminidomparsertest\\SMIL_Test_Files\\SMIL_Input\\Valid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\MMS_Input\\Valid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\SMIL_Input\\Invalid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\MMS_Input\\Invalid\\;");
-_LIT(KTestFindStr, "_Input\\");
-_LIT(KTestReplaceStr, "_Output\\");
-_LIT(KWildName, "*.txt"); // read all file that match *.txt
-_LIT(KOptionI, "-i"); // unary: interactive mode
-_LIT(KOptionH, "-h");
-// note: traditional style args "--file-type" don't work with the CCommandLineArguments class
-_LIT(KOptionFileType, "-file_type"); // binary: ascii, utf8, unicode
-_LIT(KOptionDataMode, "-data_mode"); // binary: buffer, file
-_LIT(KOptionTestType, "-test_type"); // binary: basic, performance, memory
-_LIT(KOptionPerformanceIterations, "-performance_iterations"); // binary: <number of iterations>
-_LIT(KOptionUseFileHandles, "-use_file_handles"); // unary: use file handles as input
-_LIT(KOptionUseFullPaths, "-use_full_paths"); // unary: use full paths as input
-_LIT(KTxtChooseFileInput, "Choose input file type: Using file path (F1), Using file handle (F2)?");
-
-// Globals
-LOCAL_D CTrapCleanup* theCleanup;
-LOCAL_D CActiveScheduler* scheduler;
-LOCAL_D RTest test(KSmilTranslatorTest);
-LOCAL_D RFs fileSystem;
-class CTestConfig;
-LOCAL_D CTestConfig* testConfig;
-
-//
-// TestConfig
-class CTestConfig : public CBase
- {
-public:
- typedef enum {EBasic, EPerformance, EMemory} TTestType;
- typedef enum {EFileData, EBufferData} TXMLDataMode;
- static CTestConfig* NewLC();
- ~CTestConfig() {}
-
- TInt ProcessCommandLineL();
- void InteractiveMode();
-
- // accessors
- TBool NeedsHelp() const {return iNeedsHelp; }
- TBool IsInteractive() const {return iIsInteractive; }
- TXMLFileType FileType() const {return iFileType; }
- TXMLDataMode DataMode() const {return iDataMode; }
- TTestType TestType() const {return iTestType; }
- TInt PerformanceTestIterations() const {return iPerformanceTestIterations; }
-
- // display
- void DisplayHelp();
- void UseageErr();
- void Dump();
-
- TBool UseFileHandles() const {return iUseFileHandles; }
-
-
-private:
- void ConstructL();
- TBool UnaryArgPresent(CCommandLineArguments* aArgs,TInt aArgCount, const TDesC& aOption);
- TInt ExtractBinaryArg(CCommandLineArguments* aArgs,TInt aArgCount, const TDesC& aOption,TBuf<32>& aBuf);
-
- TBool FileTypeFromStr(const TBuf<32>& aFileType);
- TBool DataModeFromStr(const TBuf<32>& aDataMode);
- TBool TestTypeFromStr(const TBuf<32>& aTestType);
-private:
- TBool iNeedsHelp;
- TBool iIsInteractive;
- TXMLFileType iFileType;
- TTestType iTestType;
- TXMLDataMode iDataMode;
- TInt iPerformanceTestIterations;
- TBool iUseFileHandles;
- };
-
-void CTestConfig::ConstructL()
- {
- iNeedsHelp=EFalse;
- iIsInteractive=EFalse;
- iFileType=EAscii;
- iTestType=EBasic;
- iDataMode=EFileData;
- iPerformanceTestIterations=100;
- iUseFileHandles = EFalse;
- }
-
-CTestConfig* CTestConfig::NewLC()
- {
- CTestConfig* self=new(ELeave)CTestConfig();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-TBool CTestConfig::FileTypeFromStr(const TBuf<32>& aFileType)
- {
- TBool found=ETrue;
- if(aFileType.Compare(_L("ascii"))==0)
- {
- iFileType=EAscii;
- }
- else if(aFileType.Compare(_L("utf8"))==0)
- {
- iFileType=EUtf8;
- }
- else if (aFileType.Compare(_L("unicode"))==0)
- {
- iFileType=EUnicode;
- }
- else
- {
- found=EFalse;
- }
- return found;
- }
-
-TBool CTestConfig::DataModeFromStr(const TBuf<32>& aDataMode)
- {
- TBool found=ETrue;
- if(aDataMode.Compare(_L("buffer"))==0)
- {
- iDataMode=EBufferData;
- }
- else if(aDataMode.Compare(_L("file"))==0)
- {
- iDataMode=EFileData;
- }
- else
- {
- found=EFalse;
- }
- return found;
- }
-
-TBool CTestConfig::TestTypeFromStr(const TBuf<32>& aTestType)
- {
- TBool found=ETrue;
- if (aTestType.Compare(_L("basic"))==0)
- {
- iTestType=EBasic;
- }
- else if (aTestType.Compare(_L("performance"))==0)
- {
- iTestType=EPerformance;
- }
- else if (aTestType.Compare(_L("memory"))==0)
- {
- iTestType=EMemory;
- }
- else
- {
- found=EFalse;
- }
- return found;
- }
-
-void CTestConfig::DisplayHelp()
- {
- test.Printf(KOptionH);
- test.Printf(_L("\thelp\r\n"));
- test.Printf(KOptionI);
- test.Printf(_L("\tinteractive mode\r\n"));
- test.Printf(KOptionFileType);
- test.Printf(_L("\tascii|utf8|unicode\r\n"));
- test.Printf(KOptionDataMode);
- test.Printf(_L("\tbuffer-data|file-data\r\n"));
- test.Printf(KOptionTestType);
- test.Printf(_L("\tbasic|performance|memory\r\n"));
- test.Printf(KOptionPerformanceIterations);
- test.Printf(_L(" N\tthe number of iterations to perform\r\n"));
- test.Printf(KOptionUseFileHandles);
- test.Printf(_L("\tuse file handles for the test\r\n"));
- test.Printf(KOptionUseFullPaths);
- test.Printf(_L("\tuse file paths for the test\r\n"));
- }
-
-void CTestConfig::UseageErr()
- {
- test.Printf(_L("\r\nUseage Err:\r\n"));
- DisplayHelp();
- }
-
-void CTestConfig::Dump()
- {
- RDebug::Print(_L("\r\n"));
- RDebug::Print(_L("SMILTRANSLATORTEST Config Settings:\r\n"));
- RDebug::Print(_L("===================================\r\n"));
- RDebug::Print(_L("iNeedsHelp = %d\r\n"),iNeedsHelp);
- RDebug::Print(_L("iIsInteractive = %d\r\n"),iIsInteractive);
- RDebug::Print(_L("iFiletype = %d\r\n"),iFileType);
- RDebug::Print(_L("iTestType = %d\r\n"),iTestType);
- RDebug::Print(_L("iDataMode = %d\r\n"),iDataMode);
- RDebug::Print(_L("iPerformanceTestIterations = %d\r\n"),iPerformanceTestIterations);
- RDebug::Print(_L("iUseFileHanldes = %d\r\n"),iUseFileHandles);
- }
-
-TBool CTestConfig::UnaryArgPresent(CCommandLineArguments *aArgs, TInt aArgCount, const TDesC& aOption)
- {
- TInt i = 1;
- while ((i<aArgCount)&&aArgs->Arg(i).Compare(aOption))
- {
- ++i;
- }
- return i<aArgCount;
- }
-
-TInt CTestConfig::ExtractBinaryArg(CCommandLineArguments *aArgs, TInt aArgCount, const TDesC& aOption,TBuf<32>& aBuf)
- {
- TInt err=KErrNotFound;
- TInt i=0;
-
- while ((i<aArgCount)&&aArgs->Arg(i).Compare(aOption))
- {
- ++i;
- }
- if (i<aArgCount)
- {
- if (++i<aArgCount)
- {
- err=KErrNone;
- aBuf=aArgs->Arg(i);
- }
- else
- {
- err=KErrArgument;
- }
- }
- return err;
- }
-
-void CTestConfig::InteractiveMode()
- {
- TKeyCode choice;
-
- test.Printf(KTxtAsciiOrUnicode);
- choice=test.Getch();
-
- if(choice==EKeyHelp)
- {
- iFileType=EAscii;
- }
- else if(choice==EKeyDial)
- {
- iFileType=EUtf8;
- }
- else
- {
- iFileType=EUnicode;
- }
- test.Printf(KTxtBufferOrFile);
- choice=test.Getch();
- if(choice==EKeyHelp)
- {
- iDataMode=EBufferData;
- }
- else
- {
- iDataMode=EFileData;
- }
-
- // Get user's input on whether to use file paths or file handles for the input files
- test.Printf(KOutputNewLine());
- test.Printf(KTxtChooseFileInput());
- choice=test.Getch();
- iUseFileHandles=EFalse;
- if(choice==EKeyHelp) // F2
- {
- iUseFileHandles = ETrue;
- }
-
- test.Printf(KTxtChooseTest);
- choice=test.Getch();
- if(choice==EKeyHelp) // F2
- {
- iTestType=EPerformance;
- }
- else if (choice==EKeyDial) // F3
- {
- iTestType=EMemory;
- }
- else // any key
- {
- iTestType=EBasic;
- }
- }
-
-TInt CTestConfig::ProcessCommandLineL()
- {
- // Handle command line arguments
- CCommandLineArguments* args=CCommandLineArguments::NewLC();
-
- TInt argCount=args->Count();
-
- // Search for: "-h"/help parameter
- if (UnaryArgPresent(args,argCount,KOptionH))
- {
- iNeedsHelp = ETrue;
- CleanupStack::Pop(args);
- delete args;
- return KErrNone;
- }
-
- // Search for: "-i"/interactive parameter
- if(UnaryArgPresent(args,argCount,KOptionI))
- {
- if (argCount==2)
- {
- iIsInteractive=ETrue;
- }
- else
- {
- UseageErr();
- }
- }
- // Search for: "-usefilehandles" parameter
- if(UnaryArgPresent(args,argCount,KOptionUseFileHandles))
- {
- iUseFileHandles=ETrue;
- }
- // Search for: "-usefullpaths" parameter
- if(UnaryArgPresent(args,argCount,KOptionUseFullPaths))
- {
- iUseFileHandles=EFalse;
- }
-
- // Search for: --file-type, --data-mode, --test-type
- TBuf<32> buf;
- TInt err;
- if (((err=ExtractBinaryArg(args,argCount,KOptionFileType,buf))==KErrNone)&&(!FileTypeFromStr(buf))||
- err==KErrArgument)
- {
- UseageErr();
- CleanupStack::PopAndDestroy(args);
- return KErrArgument;
- }
- if (((err=ExtractBinaryArg(args,argCount,KOptionDataMode,buf))==KErrNone)&&(!DataModeFromStr(buf))||
- err==KErrArgument)
- {
- UseageErr();
- CleanupStack::PopAndDestroy(args);
- return KErrArgument;
- }
- if (((err=ExtractBinaryArg(args,argCount,KOptionTestType,buf))==KErrNone)&&(!TestTypeFromStr(buf))||
- err==KErrArgument)
- {
- UseageErr();
- CleanupStack::PopAndDestroy(args);
- return KErrArgument;
- }
- if (((err=ExtractBinaryArg(args,argCount,KOptionPerformanceIterations,buf))==KErrNone))
- {
- TLex16 lexer(buf.Ptr());
- TInt iterations;
- lexer.Val(iterations);
- iPerformanceTestIterations = iterations;
- }
- else if (err==KErrArgument)
- {
- UseageErr();
- CleanupStack::PopAndDestroy(args);
- return KErrArgument;
- }
- CleanupStack::PopAndDestroy(args);
- return KErrNone;
- }
-
-//
-
-class CTestDataSupplier : public CBase, public MMDXMLParserDataProvider
- {
-public:
- static CTestDataSupplier* NewL(RFs &aRFs, const TDesC& aFileName);
- ~CTestDataSupplier();
-
- // From MMDXMLParserDataProvided
- void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus);
- void Disconnect();
-
-private:
- void ConstructL(RFs &aRFs, const TDesC& aFileName);
-
-private:
- HBufC8* iCurrentChunk;
- RFile iFile;
- TInt iChunkSize; // Start at 1, then increment for subsequent chunk
- };
-
-
-CTestDataSupplier* CTestDataSupplier::NewL(RFs &aRFs, const TDesC& aFileName)
- {
- CTestDataSupplier* self = new (ELeave) CTestDataSupplier();
- CleanupStack::PushL(self);
- self->ConstructL(aRFs, aFileName);
- CleanupStack::Pop(self);
- return self;
- }
-
-CTestDataSupplier::~CTestDataSupplier()
- {
- iFile.Close();
- delete iCurrentChunk;
- }
-
-// From MMDXMLParserDataProvided
-// TODO: Should GetData be a leaving function? Allows more flexibility to implementations of this funtion?
-void CTestDataSupplier::GetData(TPtrC8 &aPtr, TRequestStatus &aStatus)
- {
- // Read the data into the descriptor
- delete iCurrentChunk;
- iCurrentChunk = NULL;
- iCurrentChunk = HBufC8::NewL(iChunkSize);
- TPtr8 chunk = iCurrentChunk->Des();
- iFile.Read(chunk, iChunkSize); // Ignore the error code, assume end of file if we haven't read any data.
-
- TDataProviderResults result;
-
- if (iCurrentChunk->Length() != 0)
- {
- aPtr.Set(*iCurrentChunk);
- result = KMoreData;
- }
- else
- {
- // Assume that if we haven't got any data then we're at the end of the stream.
- result = KDataStreamEnd;
- }
-
-// iChunkSize++;
- TRequestStatus *s = &aStatus;
- User::RequestComplete(s, (TInt)result);
- return;
- }
-
-void CTestDataSupplier::Disconnect()
- {
- // Don't need to do anything here.
- }
-
-void CTestDataSupplier::ConstructL(RFs &aRFs, const TDesC& aFileName)
- {
- iChunkSize = 1;
-
- // Open the file that will supply the data
- User::LeaveIfError(iFile.Open(aRFs, aFileName, EFileRead));
- }
-
-
-//
-// CSmilTranslatorTestUtils declaration
-//
-
-class CSmilTranslatorTestUtils : public CActive, public MMDXMLParserObserver, public MMDXMLComposerObserver
- {
-public:
- static CSmilTranslatorTestUtils* NewLC();
- ~CSmilTranslatorTestUtils();
- void ConstructL();
- void RunTestL();
- TInt FilesProcessed() const {return iFilesProcessed; }
-
-public: // from CActive
- void DoCancel();
- void RunL();
-
-public: // from MMDXMLParserObserver
- void ParseFileCompleteL();
-
-public: // from MMDXMLComposerObserver
- void ComposeFileCompleteL();
-
-private:
- CSmilTranslatorTestUtils();
- void SetOutputFileName();
- void AppendErrorStr(TInt aError, TDes& aOutputMsg);
- void AppendSeverityStr(TInt aSeverity, TDes& aOutputMsg);
-
-private:
- enum TComposerState
- {
- EComposing,
- ESizing
- };
-
- RFs iSession;
- CMDXMLDocument* iXMLDoc;
-
-
- CMDXMLParser* iParser;
- CMDXMLComposer* iComposer;
- TBuf<255> iInputFileName;
- TBuf<255> iOutputFileName;
- TComposerState iComposerState;
- TInt iSize;
- RFile iErrorFile;
- CTestDataSupplier* iDataSupplier;
-
- // return list of found files used by TFileFinder class
- CDir* iFileList;
-
- // buffer for composing the error messages for output to the screen and error file
- TBuf<255> iOutputMsg;
-
- TFindFile *iFileFinder;
-
- TInt iState;
- TInt iErr;
- TInt iIndex;
-
- enum TSmilTestStates
- {
- KInit = 0x00,
- KParseFile,
- KCheckResults,
- KEnd
- };
-
- TTime iStartTime;
- TTime iStartComposeTime;
- TInt64 iComposeTime;
- TInt iFilesProcessed;
-
- TBool iUseFileHandle;
- };
-
-//===================================================================================
-
-//
-// CSmilTranslatorTestUtils definition
-//
-
-CSmilTranslatorTestUtils* CSmilTranslatorTestUtils::NewLC()
- {
- CSmilTranslatorTestUtils* self = new (ELeave) CSmilTranslatorTestUtils();
- CleanupStack::PushL(self);
- self->ConstructL();
- return self;
- }
-
-//===================================================================================
-
-CSmilTranslatorTestUtils::~CSmilTranslatorTestUtils()
- {
- delete iFileList;
- delete iXMLDoc;
- delete iParser;
- delete iComposer;
- iSession.Close();
- }
-
-//===================================================================================
-
-CSmilTranslatorTestUtils::CSmilTranslatorTestUtils() : CActive(EPriorityStandard), iFileFinder()
- {
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::ConstructL()
- {
-
- iSession.Connect();
- iComposer = CMDXMLComposer::NewL(this);
-#define VALIDATE
-#ifndef VALIDATE
- iParser = CMDXMLParser::NewL(this);
-#else
- CSMILDtd* smil = CSMILDtd::NewLC();
- iParser = CMDXMLParser::NewL(this, smil);
- CleanupStack::Pop(smil);
-#endif
-
- iUseFileHandle = testConfig->UseFileHandles();
-
- iState = KInit;
- iErr = KErrNone;
- iStartTime.UniversalTime();
- iFilesProcessed = 0;
-
- CActiveScheduler::Add(this);
-
- TRequestStatus *s = &iStatus;
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::RunL()
- {
- RunTestL();
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::DoCancel()
- {
- }
-
-//===================================================================================
-
-#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
-
-void CSmilTranslatorTestUtils::RunTestL()
- {
- TRequestStatus *s = &iStatus;
-
- // used to generate a leave if an out of memory error was encountered, specifically
- // during the memory test loop in E32Main(). This is necessary because leaves in
- // the .dll Active Object RunL() functions do not return to this application, so
- // have to be Trapped in the Active objects and translated into an error code.
- TBool memoryError = EFalse;
-
- switch(iState)
- {
- case KInit:
- {
- // Utility class for file manipulation
- iFileFinder = new TFindFile(iSession);
-
- TPtrC errorFileName(KErrorFileName);
-
- // create err dir if doesn't exist - this api ignores the file name (ignores everything after final '/')
- fileSystem.MkDirAll(KErrorFileName);
-
- // overwrite any existing file of this name
- iErr = iErrorFile.Replace(iSession, errorFileName, EFileWrite | EFileStreamText);
-
- if(iErr == KErrNone)
- {
- TBuf<1> bom;
- bom.Append(CEditableText::EByteOrderMark);
- iErrorFile.Write(DES_AS_8_BIT(bom));
- // will search multiple directories, but halt after completing current directory
- // if at least one match is made. Remembers which directories have been searched
- // in order to continue search using .FindWild() function later
- iErr = iFileFinder->FindWildByPath(KWildName, &KInputPathList, iFileList);
- iIndex = 0;
- }
-
- if(iErr == KErrNone)
- {
- iState = KParseFile;
- }
- else
- {
- iState = KEnd;
- }
- User::RequestComplete(s, KErrNone);
- SetActive();
- }
- break;
-
- case KParseFile:
- {
- ++iFilesProcessed;
- iErr = KErrNone;
-
- TParse fullEntry;
- fullEntry.Set((*iFileList)[iIndex++].iName,& iFileFinder->File(),NULL);
- iInputFileName = fullEntry.FullName(); // extract individual path + name from list
- SetOutputFileName(); // output name is based on input one
-
- iOutputMsg = KStartFile;
- iOutputMsg.Append(iInputFileName); // display full path
- test.Start(iOutputMsg); // print to console
-
- // test console automatically places output on a new line, for output
- // to error file we need to add white space ready for next line
- iOutputMsg.Append(KOutputNewLine);
- iErrorFile.Write(DES_AS_8_BIT(iOutputMsg)); // print to error file
-
- // schedule Parser active object for call to it's RunL function
- if (testConfig->DataMode() == CTestConfig::EBufferData)
- {
- // We're testing the buffering API...
- // Create a data supplier object and pass it in to the parser
- delete iDataSupplier;
- iDataSupplier = NULL;
- iDataSupplier = CTestDataSupplier::NewL(iSession, iInputFileName);
- iParser->ParseSource(iDataSupplier);
- }
- else
- {
- if( iUseFileHandle )
- {
- RFile file;
- User::LeaveIfError(file.Open(iSession, iInputFileName, EFileRead | EFileShareReadersOnly));
- // No function declaration of ParseFile() that take RFile Object parameter
- // iParser->ParseFile(file);
- iParser->ParseFile(iSession, iInputFileName);
- }
- else
- {
- // We're testing the file mode so parse the file.
- iParser->ParseFile(iSession, iInputFileName);
- }
- }
-
- iState = KCheckResults;
- iStatus = KRequestPending;
- SetActive();
- }
- break;
-
- case KCheckResults:
- {
- // when execution begins again one parse followed by a compose would have
- // completed for the current file, handle any error messages generated here
- iErr = iParser->Error();
- TInt severity = iParser->ErrorSeverity();
- if(iErr != KErrNone)
- {
- iOutputMsg = KParseError;
- AppendErrorStr(iErr, iOutputMsg);
- AppendSeverityStr(severity, iOutputMsg);
- iOutputMsg.Append(KOutputNewLine);
-
- // IF there are no more errors for this file bung in an
- // extra line to make output more prominent
- if(iComposer->Error() == KErrNone)
- {
- iOutputMsg.Append(KOutputNewLine);
- }
- test.Printf(iOutputMsg); // print to console
- iErrorFile.Write(DES_AS_8_BIT(iOutputMsg)); // print to error file
-
- if(iErr == KErrNoMemory)
- {
- memoryError = ETrue;
- }
- }
-
- iErr = iComposer->Error();
- severity = iComposer->ErrorSeverity();
- if(iErr != KErrNone)
- {
- iOutputMsg = KComposeError;
- AppendErrorStr(iErr, iOutputMsg);
- AppendSeverityStr(severity, iOutputMsg);
- iOutputMsg.Append(KOutputNewLine);
- iOutputMsg.Append(KOutputNewLine);
- test.Printf(iOutputMsg);
- iErrorFile.Write(DES_AS_8_BIT(iOutputMsg));
-
- if(iErr == KErrNoMemory)
- {
- memoryError = ETrue;
- }
- }
-
- test.End();
-
- // if the OOM condition occured during Parsing or Composing
- if(memoryError)
- {
- User::Leave(KErrNoMemory);
- }
-
- iState = KParseFile;
-
- if(iIndex >= iFileList->Count())
- {
- // fileList must be deleted after each loop prior to being passed
- // back to fileFinder (unnecessary after KErrNotFound)
- delete iFileList;
- iFileList = 0; // Just in case it doesn't get set in the FindWild
-
- // continue wildcard search for next directory in list
- iErr = iFileFinder->FindWild(iFileList);
- iIndex = 0;
- if(iErr != KErrNone)
- iState = KEnd;
- }
-
- SetActive();
- User::RequestComplete(s, KErrNone);
- }
- break;
-
- default:
- case KEnd:
- {
- TTime endTime;
- TTimeIntervalSeconds interval;
- endTime.UniversalTime();
- endTime.SecondsFrom(iStartTime, interval);
-
- TBuf<100> time;
- _LIT(KComposeTime, "Total time for composing: %d microseconds\n");
- time.Format(KComposeTime, iComposeTime);
- iErrorFile.Write(DES_AS_8_BIT(time));
-
- _LIT(KTimeTaken, "Total time for tests: %d seconds");
- time.Format(KTimeTaken, interval.Int());
- iErrorFile.Write(DES_AS_8_BIT(time));
-
-
- delete iFileFinder;
- delete iDataSupplier;
- CActiveScheduler::Stop();
- }
- break;
- }
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::AppendErrorStr(TInt aError, TDes& aOutputMsg)
- {
- switch(aError)
- {
- case KErrXMLBadAttributeValue:
- aOutputMsg.Append(_L("Bad Attribute Value")); break;
-
- case KErrXMLBadAttributeName:
- aOutputMsg.Append(_L("Bad Attribute Name")); break;
-
- case KErrXMLInvalidChild:
- aOutputMsg.Append(_L("Invalid Child")); break;
-
- case KErrXMLBadNesting:
- aOutputMsg.Append(_L("Bad Nesting")); break;
-
- case KErrXMLIncomplete:
- aOutputMsg.Append(_L("Incomplete")); break;
-
- case KErrXMLBadElementName:
- aOutputMsg.Append(_L("Bad Element Name")); break;
-
- case KErrXMLDuplicateDocTypeTags:
- aOutputMsg.Append(_L("Duplicate DocType Tags")); break;
-
- case KErrXMLDuplicateVersionTags:
- aOutputMsg.Append(_L("Duplicate Version Tags")); break;
-
- case KErrXMLDuplicateRootElements:
- aOutputMsg.Append(_L("Duplicate Root Elements")); break;
-
- case KErrXMLMissingDocTypeTag:
- aOutputMsg.Append(_L("Missing DocType Tag")); break;
-
- case KErrXMLMissingVersionTag:
- aOutputMsg.Append(_L("Missing Version Tag")); break;
-
- case KErrXMLDuplicateAttributeName:
- aOutputMsg.Append(_L("Duplicate Attribute Name")); break;
-
- case KErrXMLMultipleRootElements:
- aOutputMsg.Append(_L("Mulitiple Root Elements")); break;
-
- case KErrXMLCorruptFile:
- aOutputMsg.Append(_L("Corrupt File")); break;
-
- case KErrXMLIllegalCharacter:
- aOutputMsg.Append(_L("Illegal Character")); break;
-
- case KErrXMLBadEntity:
- aOutputMsg.Append(_L("Malformed Entity")); break;
-
- case KErrXMLInvalidElement:
- aOutputMsg.Append(_L("Invalid Element")); break;
-
- case KErrXMLInvalidAttribute:
- aOutputMsg.Append(_L("Invalid Attribute")); break;
-
- case KErrPathNotFound:
- aOutputMsg.Append(_L("File Path Not Found")); break;
-
- case KErrNoMemory:
- aOutputMsg.Append(_L("Memory Allocation Failure")); break;
-
- case KErrNotSupported:
- aOutputMsg.Append(_L("Not Supported")); break;
-
- default:
- aOutputMsg.Append(_L("Unknown Error")); break;
- }
- }
-
-//===================================================================================
-void CSmilTranslatorTestUtils::AppendSeverityStr(TInt aSeverity, TDes& aOutputMsg)
- {
- aOutputMsg.Append(_L(", Severity "));
- switch(aSeverity)
- {
- case EXMLFatal:
- aOutputMsg.Append(_L("Fatal"));
- break;
- case EXMLIndeterminate:
- aOutputMsg.Append(_L("Indeterminate"));
- break;
- case EXMLWorkable:
- aOutputMsg.Append(_L("Workable"));
- break;
- case EXMLNone:
- aOutputMsg.Append(_L("None"));
- break;
- default:
- aOutputMsg.Append(_L("Unknown"));
- break;
- }
- }
-//===================================================================================
-
-void CSmilTranslatorTestUtils::ParseFileCompleteL()
-// call back function called from Parser::RunL()
- {
- // iXMLDoc ends up owned by this class, must delete off the old one on each pass.
- delete iXMLDoc;
- iXMLDoc = NULL;
-
- // get parsed file, don't worry about errors, composer should be robust enough to handle bad files
- iXMLDoc = iParser->DetachXMLDoc();
-
- iComposerState = EComposing;
- TRequestStatus *s = &iStatus;
-
- iStartComposeTime.UniversalTime();
-
- // create output dir if doesn't exist - this api ignores the file name (ignores everything after final '/')
- fileSystem.MkDirAll(iOutputFileName);
-
- // schedule composer active object for call to it's RunL function
-
- if( iUseFileHandle )
- {
- RFile file;
- TInt fileError = file.Replace(iSession, iOutputFileName, EFileWrite | EFileStream);
-
- if( fileError==KErrNone )
- {
- // No function declaration of ComposeFile() that take RFile Object parameter
-// iErr = iComposer->ComposeFile(file, iXMLDoc, filetype);
- iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
- }
- else
- {
- // if a file error has occured, we need to set the internal error state
- // and can only do this by trying to compose again with the filepath so
- // it fails internally
- iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
- }
- }
- else
- {
- iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
- }
-
- // we are waiting on this event...
- User::RequestComplete(s, KErrNone);
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::ComposeFileCompleteL()
-// call back function called from Composer::RunL()
- {
- TTime timeNow;
- timeNow.UniversalTime();
- TTimeIntervalMicroSeconds timeForCompose = timeNow.MicroSecondsFrom(iStartComposeTime);
- iComposeTime += timeForCompose.Int64();
-
- if (iComposerState == ESizing)
- {
- // Check the size of the file that has been written against the size calulated by the
- // call to CMDXMLComposer::CalculateFileSize
-
- RFile outputXMLFile;
- outputXMLFile.Open(iSession, iOutputFileName, EFileRead);
-
- TInt actualSize;
- User::LeaveIfError(outputXMLFile.Size(actualSize));
-
- if (iSize != actualSize)
- {
- // The calculated file size doesn't match the real file size, this test has failed
- TBuf<255> outputMsg;
-
- outputMsg.Append(KOutputNewLine);
- outputMsg.Append(_L("Test Failed - The calculated file size doesn't match the actual size."));
- outputMsg.Append(KOutputNewLine);
-
- test.Printf(outputMsg); // print to console
- iErrorFile.Write(DES_AS_8_BIT(outputMsg)); // print to error file
- }
-
- outputXMLFile.Close();
-
- // If we are sizing then stop the active scheduler. Once the scheduler is stopped
- // and this function exits, program control resumes where the scheduler was started
- // in RunTestL.
-// CActiveScheduler::Stop();
- }
-
- else if (iComposerState == EComposing)
- {
- // The XML file has been composed. Now we need to run the sizing function to check
- // that we can calculate the size correctly.
-
- // Set the state to sizing and run the sizing operation...
- iComposerState = ESizing;
-
- // Calculate the file size and wait for the callback to this function again.
- iComposer->CalculateFileSize(iSize, iXMLDoc, testConfig->FileType());
- }
- }
-
-//===================================================================================
-
-void CSmilTranslatorTestUtils::SetOutputFileName()
- {
- TInt offset;
-
- iOutputFileName = iInputFileName;
- if((offset = iOutputFileName.Find(KTestFindStr)) != KErrNotFound)
- {
- iOutputFileName.Replace(offset, TPtrC(KTestFindStr).Length(), KTestReplaceStr);
- }
- }
-
-//===================================================================================
-
-//
-// TestHarness implementation
-//
-
-
-
-LOCAL_C TInt startTestL()
- {
- TInt err = KErrNone;
-
- // we may need to make some output dirs if they don't already exist
- fileSystem.Connect();
-
- scheduler = new (ELeave) CActiveScheduler;
- CleanupStack::PushL(scheduler);
- CActiveScheduler::Install( scheduler );
-
- CSmilTranslatorTestUtils* ttu=CSmilTranslatorTestUtils::NewLC();
-
- // suspend execution until active object scheduler is finished
- CActiveScheduler::Start();
-
- if (ttu->FilesProcessed()==0)
- err=KErrNotFound;
-
- fileSystem.Close();
- CleanupStack::PopAndDestroy(2, scheduler); //scheduler, as well as the object
- //placed on the stack by CSmilTranslatorTestUtils::NewLC();
- return err;
- }
-
-LOCAL_C TInt doMainL()
- {
- testConfig = CTestConfig::NewLC();
-
- // set command line options
- TInt err=testConfig->ProcessCommandLineL();
- if(err!=KErrNone)
- return err;
-
- // users specified -h: display help to console and abort
- if (testConfig->NeedsHelp())
- {
- testConfig->DisplayHelp();
- test.Getch();
- return KErrNone;
- }
-
- // user specified -i: let them override settings inside the console
- if (testConfig->IsInteractive())
- testConfig->InteractiveMode();
-
-#ifdef DEBUG_SMILTRANSLATORTEST_
- testConfig->Dump();
-#endif
-
- TInt returnCode = KErrNone;
-
- // performance Performance Test
- if (testConfig->TestType() == CTestConfig::EPerformance)
- {
- TInt loopFor = 0;
- do
- {
- loopFor++;
- returnCode=startTestL(); // Qualified: false leavescan error
- }
- while(loopFor!=testConfig->PerformanceTestIterations() && returnCode == KErrNone);
- }
- else if (testConfig->TestType()==CTestConfig::EMemory)
- {
- TInt after = 0;
- do
- {
- after++;
- User::__DbgSetAllocFail(RHeap::EUser, RHeap::EDeterministic, after);
- returnCode=startTestL();
- }
- while(returnCode != KErrNone);
- }
- // Assume user wants a basic test
- else
- {
- returnCode=startTestL();
- }
-
- CleanupStack::Pop(testConfig);
- return returnCode;
- }
-void CopyFileL()
- {
- RFs fs;
- fs.Connect();
- CleanupClosePushL(fs);
-
- CFileMan* fileMan = CFileMan::NewL(fs);
- CleanupStack::PushL(fileMan);
-
- // Do the file copy
- //User::LeaveIfError(fileMan->Copy(_L("z:\\gmxmltest.txt"),_L("c:\\gmxmltest.txt"),CFileMan::EOverWrite));
- //User::LeaveIfError(fileMan->Copy(_L("z:\\legacyminidomparsertest"),_L("c:\\legacyminidomparsertest"),CFileMan::EOverWrite|CFileMan::ERecurse));
-
- CleanupStack::PopAndDestroy(2);
- }
-
-GLDEF_C TInt E32Main()
- {
- __UHEAP_MARK;
- theCleanup=CTrapCleanup::New();
- test.Start(_L("Smil Translator"));
- TRAPD(err,CopyFileL());
- test(err == KErrNone);
- TInt returnCode=KErrNone;
- TRAP(returnCode,returnCode=doMainL());
- test(returnCode==KErrNone);
- delete testConfig;
- delete theCleanup;
- test.End();
- test.Close();
- __UHEAP_MARKEND;
- User::Heap().Check();
- return(KErrNone);
- }
-
-// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,32 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Messaging - GMXML
+// Generic XML parser and composer
+//
+//
+
+/**
+ @file
+*/
+
+
+PRJ_PLATFORMS
+DEFAULT
+
+// Subproject builds
+#include "../xmldom/group/bld.inf"
+#include "../xmlparser/group/bld.inf"
+#include "../rom/bld.inf"
+
+PRJ_MMPFILES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/group/syslibs_legacyminidomparser.history.xml Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<relnotes name="SMIL Parser">
+ <purpose>
+ SMIL parsing implemented via generic XML Parser / Composer with a "mini-DOM" API able to perform syntax checking against simple DTDs. Replaces SMIL Translater implementation of 7.0s.
+ </purpose>
+
+ <defect number="DEF143070" title="Header File missing in legacyminidomparser after header relocation sf changes" revision="013">
+ include f32file.h in gmxmlparser.h
+ </defect>
+
+ <deliverystep number="1842" name="CR1934: Messaging: Moving XML Parser" osproject="SymTB9.2" revision="012">
+ <cr number="1934" title="Restructuring of the MCL">Adding SMIL parser into webservices-xml package.</cr>
+ <milestone project="GT0539" number="3.4" />
+ </deliverystep>
+
+ <deliverystep number="1903" name="PREQ2621: Relocating header files" osproject="SymTB9.2" revision="011">
+ <milestone project="GT0539" number="3.3" />
+ <preq number="2621" title="Relocating header files">Relocating Header files for XML API</preq>
+ </deliverystep>
+
+ <defect number="DEF138034" title="GMXML parser could cause stray event panics" revision="010">
+ stray scanner defect.
+ </defect>
+
+ <deliverystep number="1462" name="Splitting mixed header files for Messaging" osproject="SymTB92" revision="009">
+ <preq number="2510" title=" Splitting mixed header files for Messaging">
+ Mixed header files will now contain only published All or published Partner or internal
+ </preq>
+ <milestone project="GT0465" number="3.5"/>
+ </deliverystep>
+
+ <defect number="DEF128078" title="@prototype tags in messaging" revision="008">
+ Added IM tag message server.
+ </defect>
+ <defect number="PDEF126520" title="[Folder name missing characters" revision="007">
+ written a new api which handles the case when there is quotation in file name.
+ </defect>
+
+ <defect number="DEF125067" title="[coverity] - CHECKED_RETURN - messaging/gmxml/xmlparser/src/gmxmlparser.cpp" revision="006">
+ Checked the if condition is not false for the AppendChild function.
+ </defect>
+
+ <defect number="PDEF115899" title="xmlparser panics when out of memory" revision="005">
+ Added a new exported leaving function. This is BR approved and BR number is BR2302.3
+ </defect>
+
+ <defect number="DEF108002" title="Warnings generated with checksource build " revision="004">
+ Added condition to differentiate the winscw and armv5 def files for case sensitive
+ </defect>
+
+ <defect number="DEF105400" title="Add missing IM tags to Messaging public header files" revision="003">
+ Added IM tag for all given header files.
+ </defect>
+
+ <defect number="INC105134" title="GmXML consumes whitespace characters" revision="002">
+ Now GmXML component restrict for eating white spaces
+ </defect>
+
+ <deliverystep number="500" name="Messaging file name changes to support GNU compiler for Linux" osproject="Oghma" revision="001">
+ <preq number="1182" title="GNU Make-based build system">
+ GNU Make-based build system
+ </preq>
+ <milestone project="GT0342" number="3.3"/>
+ </deliverystep>
+</relnotes>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/group/syslibs_legacyminidomparser.mrp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+component syslibs_legacyminidomparser
+source \sf\os\xmlsrv\xml\legacyminidomparser
+binary \sf\os\xmlsrv\xml\legacyminidomparser\GROUP all
+exports \sf\os\xmlsrv\xml\legacyminidomparser\GROUP
+
+notes_source \component_defs\release.src
+
+
+ipr E
+ipr T \sf\os\xmlsrv\xml\legacyminidomparser\XMLParser\test
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/rom/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,21 @@
+// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// Gmxml
+//
+//
+
+PRJ_EXPORTS
+
+../Rom/legacyminidomparser.iby /epoc32/rom/include/legacyminidomparser.iby
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/rom/legacyminidomparser.iby Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,24 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __LEGACYMINIDOMPARSER_IBY__
+#define __LEGACYMINIDOMPARSER_IBY__
+
+file=ABI_DIR\BUILD_DIR\XMLDOM.dll sys\bin\XMLDOM.dll
+file=ABI_DIR\BUILD_DIR\xmlparser.dll sys\bin\xmlparser.dll
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/bmarm/V2_XMLDOMU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,62 @@
+EXPORTS
+ PlaceholderForRemovedExport1__14CMDXMLDocumentR7MXMLDtd @ 1 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd &)
+ AppendL__19CMDXMLCharacterDataR7TDesC16 @ 2 NONAME R3UNUSED ; CMDXMLCharacterData::AppendL(TDesC16 &)
+ AttributeDetails__13CMDXMLElementiR7TPtrC16T2 @ 3 NONAME ; CMDXMLElement::AttributeDetails(int, TPtrC16 &, TPtrC16 &)
+ CanElementHaveChildren__C14CMDXMLDocumentRC7TDesC16 @ 4 NONAME R3UNUSED ; CMDXMLDocument::CanElementHaveChildren(TDesC16 const &) const
+ CheckChildren__13CMDXMLElement @ 5 NONAME R3UNUSED ; CMDXMLElement::CheckChildren(void)
+ CheckChildren__19CMDXMLCharacterData @ 6 NONAME R3UNUSED ; CMDXMLCharacterData::CheckChildren(void)
+ CheckImmediateChildren__13CMDXMLElement @ 7 NONAME R3UNUSED ; CMDXMLElement::CheckImmediateChildren(void)
+ Data__19CMDXMLCharacterData @ 8 NONAME R3UNUSED ; CMDXMLCharacterData::Data(void)
+ E32Dll__F10TDllReason @ 9 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
+ FindIndex__13CMDXMLElementRC7TDesC16 @ 10 NONAME R3UNUSED ; CMDXMLElement::FindIndex(TDesC16 const &)
+ GetAttribute__C13CMDXMLElementRC7TDesC16R7TPtrC16 @ 11 NONAME R3UNUSED ; CMDXMLElement::GetAttribute(TDesC16 const &, TPtrC16 &) const
+ InsertBefore__10CMDXMLNodeP10CMDXMLNodeT1 @ 12 NONAME R3UNUSED ; CMDXMLNode::InsertBefore(CMDXMLNode *, CMDXMLNode *)
+ InsertL__19CMDXMLCharacterDataiR7TDesC16 @ 13 NONAME R3UNUSED ; CMDXMLCharacterData::InsertL(int, TDesC16 &)
+ IsAttributeSpecified__C13CMDXMLElementRC7TDesC16 @ 14 NONAME R3UNUSED ; CMDXMLElement::IsAttributeSpecified(TDesC16 const &) const
+ Length__19CMDXMLCharacterData @ 15 NONAME R3UNUSED ; CMDXMLCharacterData::Length(void)
+ NewLC__10CMDXMLTextP14CMDXMLDocument @ 16 NONAME R3UNUSED ; CMDXMLText::NewLC(CMDXMLDocument *)
+ NewLC__13CMDXMLCommentP14CMDXMLDocument @ 17 NONAME R3UNUSED ; CMDXMLComment::NewLC(CMDXMLDocument *)
+ NewLC__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 18 NONAME ; CMDXMLElement::NewLC(int, CMDXMLDocument *, TPtrC16)
+ NewLC__14CMDXMLDocumentR7MXMLDtd @ 19 NONAME R3UNUSED ; CMDXMLDocument::NewLC(MXMLDtd &)
+ NewLC__18CMDXMLCDATASectionP14CMDXMLDocument @ 20 NONAME R3UNUSED ; CMDXMLCDATASection::NewLC(CMDXMLDocument *)
+ NewLC__21CMDXMLDocumentElementP14CMDXMLDocument @ 21 NONAME R3UNUSED ; CMDXMLDocumentElement::NewLC(CMDXMLDocument *)
+ NewLC__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 22 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewLC(CMDXMLDocument *)
+ NewL__10CMDXMLTextP14CMDXMLDocument @ 23 NONAME R3UNUSED ; CMDXMLText::NewL(CMDXMLDocument *)
+ NewL__13CMDXMLCommentP14CMDXMLDocument @ 24 NONAME R3UNUSED ; CMDXMLComment::NewL(CMDXMLDocument *)
+ NewL__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 25 NONAME ; CMDXMLElement::NewL(int, CMDXMLDocument *, TPtrC16)
+ NewL__14CMDXMLDocumentR7MXMLDtd @ 26 NONAME R3UNUSED ; CMDXMLDocument::NewL(MXMLDtd &)
+ NewL__18CMDXMLCDATASectionP14CMDXMLDocument @ 27 NONAME R3UNUSED ; CMDXMLCDATASection::NewL(CMDXMLDocument *)
+ NewL__21CMDXMLDocumentElementP14CMDXMLDocument @ 28 NONAME R3UNUSED ; CMDXMLDocumentElement::NewL(CMDXMLDocument *)
+ NewL__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 29 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewL(CMDXMLDocument *)
+ NextSameTypeSibling__10CMDXMLNode @ 30 NONAME R3UNUSED ; CMDXMLNode::NextSameTypeSibling(void)
+ NodeName__10CMDXMLNode @ 31 NONAME R3UNUSED ; CMDXMLNode::NodeName(void)
+ NumAttributes__13CMDXMLElement @ 32 NONAME R3UNUSED ; CMDXMLElement::NumAttributes(void)
+ PreviousSameTypeSibling__10CMDXMLNode @ 33 NONAME R3UNUSED ; CMDXMLNode::PreviousSameTypeSibling(void)
+ RemoveAttribute__13CMDXMLElementRC7TDesC16 @ 34 NONAME R3UNUSED ; CMDXMLElement::RemoveAttribute(TDesC16 const &)
+ RemoveChild__10CMDXMLNodeP10CMDXMLNode @ 35 NONAME R3UNUSED ; CMDXMLNode::RemoveChild(CMDXMLNode *)
+ ReplaceChild__10CMDXMLNodeP10CMDXMLNodeT1 @ 36 NONAME R3UNUSED ; CMDXMLNode::ReplaceChild(CMDXMLNode *, CMDXMLNode *)
+ ReplaceL__19CMDXMLCharacterDataiiR7TDesC16 @ 37 NONAME ; CMDXMLCharacterData::ReplaceL(int, int, TDesC16 &)
+ SetAttributeL__13CMDXMLElementRC7TDesC16T1 @ 38 NONAME R3UNUSED ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &)
+ SetDataL__19CMDXMLCharacterDataR7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLCharacterData::SetDataL(TDesC16 &)
+ SetDocTypeTagL__14CMDXMLDocumentRC7TDesC16 @ 40 NONAME R3UNUSED ; CMDXMLDocument::SetDocTypeTagL(TDesC16 const &)
+ SetNodeNameL__10CMDXMLNodeRC7TDesC16 @ 41 NONAME R3UNUSED ; CMDXMLNode::SetNodeNameL(TDesC16 const &)
+ SetVersionTagL__14CMDXMLDocumentRC7TDesC16 @ 42 NONAME R3UNUSED ; CMDXMLDocument::SetVersionTagL(TDesC16 const &)
+ ValidElementNameL__C14CMDXMLDocumentRC7TDesC16 @ 43 NONAME R3UNUSED ; CMDXMLDocument::ValidElementNameL(TDesC16 const &) const
+ "_._10CMDXMLNode" @ 44 NONAME R3UNUSED ; CMDXMLNode::~CMDXMLNode(void)
+ "_._10CMDXMLText" @ 45 NONAME R3UNUSED ; CMDXMLText::~CMDXMLText(void)
+ "_._13CMDXMLComment" @ 46 NONAME R3UNUSED ; CMDXMLComment::~CMDXMLComment(void)
+ "_._13CMDXMLElement" @ 47 NONAME R3UNUSED ; CMDXMLElement::~CMDXMLElement(void)
+ "_._14CMDXMLDocument" @ 48 NONAME R3UNUSED ; CMDXMLDocument::~CMDXMLDocument(void)
+ "_._18CMDXMLCDATASection" @ 49 NONAME R3UNUSED ; CMDXMLCDATASection::~CMDXMLCDATASection(void)
+ "_._19CMDXMLCharacterData" @ 50 NONAME R3UNUSED ; CMDXMLCharacterData::~CMDXMLCharacterData(void)
+ "_._21CMDXMLDocumentElement" @ 51 NONAME R3UNUSED ; CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
+ "_._27CMDXMLProcessingInstruction" @ 52 NONAME R3UNUSED ; CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
+ __13CMDXMLElementiP14CMDXMLDocument @ 53 NONAME R3UNUSED ; CMDXMLElement::CMDXMLElement(int, CMDXMLDocument *)
+ AppendChild__10CMDXMLNodeP10CMDXMLNode @ 54 NONAME R3UNUSED ; CMDXMLNode::AppendChild(CMDXMLNode *)
+ FirstChildOfType__13CMDXMLElementRC7TDesC16 @ 55 NONAME R3UNUSED ; CMDXMLElement::FirstChildOfType(TDesC16 const &)
+ LastChildOfType__13CMDXMLElementRC7TDesC16 @ 56 NONAME R3UNUSED ; CMDXMLElement::LastChildOfType(TDesC16 const &)
+ NewLC__14CMDXMLDocument @ 57 NONAME R3UNUSED ; CMDXMLDocument::NewLC(void)
+ NewL__14CMDXMLDocument @ 58 NONAME R3UNUSED ; CMDXMLDocument::NewL(void)
+ PlaceholderForRemovedExport2__14CMDXMLDocument @ 59 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport2(void)
+ SetAttributeL__13CMDXMLElementRC7TDesC16T1i @ 60 NONAME ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &, int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/bmarm/XMLDOMu.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,62 @@
+EXPORTS
+ PlaceholderForRemovedExport1__14CMDXMLDocumentR7MXMLDtd @ 1 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd &)
+ AppendL__19CMDXMLCharacterDataR7TDesC16 @ 2 NONAME R3UNUSED ; CMDXMLCharacterData::AppendL(TDesC16 &)
+ AttributeDetails__13CMDXMLElementiR7TPtrC16T2 @ 3 NONAME ; CMDXMLElement::AttributeDetails(int, TPtrC16 &, TPtrC16 &)
+ CanElementHaveChildren__C14CMDXMLDocumentRC7TDesC16 @ 4 NONAME R3UNUSED ; CMDXMLDocument::CanElementHaveChildren(TDesC16 const &) const
+ CheckChildren__13CMDXMLElement @ 5 NONAME R3UNUSED ; CMDXMLElement::CheckChildren(void)
+ CheckChildren__19CMDXMLCharacterData @ 6 NONAME R3UNUSED ; CMDXMLCharacterData::CheckChildren(void)
+ CheckImmediateChildren__13CMDXMLElement @ 7 NONAME R3UNUSED ; CMDXMLElement::CheckImmediateChildren(void)
+ Data__19CMDXMLCharacterData @ 8 NONAME R3UNUSED ; CMDXMLCharacterData::Data(void)
+ E32Dll__F10TDllReason @ 9 NONAME R3UNUSED ; E32Dll(TDllReason)
+ FindIndex__13CMDXMLElementRC7TDesC16 @ 10 NONAME R3UNUSED ; CMDXMLElement::FindIndex(TDesC16 const &)
+ GetAttribute__C13CMDXMLElementRC7TDesC16R7TPtrC16 @ 11 NONAME R3UNUSED ; CMDXMLElement::GetAttribute(TDesC16 const &, TPtrC16 &) const
+ InsertBefore__10CMDXMLNodeP10CMDXMLNodeT1 @ 12 NONAME R3UNUSED ; CMDXMLNode::InsertBefore(CMDXMLNode *, CMDXMLNode *)
+ InsertL__19CMDXMLCharacterDataiR7TDesC16 @ 13 NONAME R3UNUSED ; CMDXMLCharacterData::InsertL(int, TDesC16 &)
+ IsAttributeSpecified__C13CMDXMLElementRC7TDesC16 @ 14 NONAME R3UNUSED ; CMDXMLElement::IsAttributeSpecified(TDesC16 const &) const
+ Length__19CMDXMLCharacterData @ 15 NONAME R3UNUSED ; CMDXMLCharacterData::Length(void)
+ NewLC__10CMDXMLTextP14CMDXMLDocument @ 16 NONAME R3UNUSED ; CMDXMLText::NewLC(CMDXMLDocument *)
+ NewLC__13CMDXMLCommentP14CMDXMLDocument @ 17 NONAME R3UNUSED ; CMDXMLComment::NewLC(CMDXMLDocument *)
+ NewLC__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 18 NONAME ; CMDXMLElement::NewLC(int, CMDXMLDocument *, TPtrC16)
+ NewLC__14CMDXMLDocumentR7MXMLDtd @ 19 NONAME R3UNUSED ; CMDXMLDocument::NewLC(MXMLDtd &)
+ NewLC__18CMDXMLCDATASectionP14CMDXMLDocument @ 20 NONAME R3UNUSED ; CMDXMLCDATASection::NewLC(CMDXMLDocument *)
+ NewLC__21CMDXMLDocumentElementP14CMDXMLDocument @ 21 NONAME R3UNUSED ; CMDXMLDocumentElement::NewLC(CMDXMLDocument *)
+ NewLC__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 22 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewLC(CMDXMLDocument *)
+ NewL__10CMDXMLTextP14CMDXMLDocument @ 23 NONAME R3UNUSED ; CMDXMLText::NewL(CMDXMLDocument *)
+ NewL__13CMDXMLCommentP14CMDXMLDocument @ 24 NONAME R3UNUSED ; CMDXMLComment::NewL(CMDXMLDocument *)
+ NewL__13CMDXMLElementiP14CMDXMLDocumentG7TPtrC16 @ 25 NONAME ; CMDXMLElement::NewL(int, CMDXMLDocument *, TPtrC16)
+ NewL__14CMDXMLDocumentR7MXMLDtd @ 26 NONAME R3UNUSED ; CMDXMLDocument::NewL(MXMLDtd &)
+ NewL__18CMDXMLCDATASectionP14CMDXMLDocument @ 27 NONAME R3UNUSED ; CMDXMLCDATASection::NewL(CMDXMLDocument *)
+ NewL__21CMDXMLDocumentElementP14CMDXMLDocument @ 28 NONAME R3UNUSED ; CMDXMLDocumentElement::NewL(CMDXMLDocument *)
+ NewL__27CMDXMLProcessingInstructionP14CMDXMLDocument @ 29 NONAME R3UNUSED ; CMDXMLProcessingInstruction::NewL(CMDXMLDocument *)
+ NextSameTypeSibling__10CMDXMLNode @ 30 NONAME R3UNUSED ; CMDXMLNode::NextSameTypeSibling(void)
+ NodeName__10CMDXMLNode @ 31 NONAME R3UNUSED ; CMDXMLNode::NodeName(void)
+ NumAttributes__13CMDXMLElement @ 32 NONAME R3UNUSED ; CMDXMLElement::NumAttributes(void)
+ PreviousSameTypeSibling__10CMDXMLNode @ 33 NONAME R3UNUSED ; CMDXMLNode::PreviousSameTypeSibling(void)
+ RemoveAttribute__13CMDXMLElementRC7TDesC16 @ 34 NONAME R3UNUSED ; CMDXMLElement::RemoveAttribute(TDesC16 const &)
+ RemoveChild__10CMDXMLNodeP10CMDXMLNode @ 35 NONAME R3UNUSED ; CMDXMLNode::RemoveChild(CMDXMLNode *)
+ ReplaceChild__10CMDXMLNodeP10CMDXMLNodeT1 @ 36 NONAME R3UNUSED ; CMDXMLNode::ReplaceChild(CMDXMLNode *, CMDXMLNode *)
+ ReplaceL__19CMDXMLCharacterDataiiR7TDesC16 @ 37 NONAME ; CMDXMLCharacterData::ReplaceL(int, int, TDesC16 &)
+ SetAttributeL__13CMDXMLElementRC7TDesC16T1 @ 38 NONAME R3UNUSED ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &)
+ SetDataL__19CMDXMLCharacterDataR7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLCharacterData::SetDataL(TDesC16 &)
+ SetDocTypeTagL__14CMDXMLDocumentRC7TDesC16 @ 40 NONAME R3UNUSED ; CMDXMLDocument::SetDocTypeTagL(TDesC16 const &)
+ SetNodeNameL__10CMDXMLNodeRC7TDesC16 @ 41 NONAME R3UNUSED ; CMDXMLNode::SetNodeNameL(TDesC16 const &)
+ SetVersionTagL__14CMDXMLDocumentRC7TDesC16 @ 42 NONAME R3UNUSED ; CMDXMLDocument::SetVersionTagL(TDesC16 const &)
+ ValidElementNameL__C14CMDXMLDocumentRC7TDesC16 @ 43 NONAME R3UNUSED ; CMDXMLDocument::ValidElementNameL(TDesC16 const &) const
+ "_._10CMDXMLNode" @ 44 NONAME R3UNUSED ; CMDXMLNode::~CMDXMLNode(void)
+ "_._10CMDXMLText" @ 45 NONAME R3UNUSED ; CMDXMLText::~CMDXMLText(void)
+ "_._13CMDXMLComment" @ 46 NONAME R3UNUSED ; CMDXMLComment::~CMDXMLComment(void)
+ "_._13CMDXMLElement" @ 47 NONAME R3UNUSED ; CMDXMLElement::~CMDXMLElement(void)
+ "_._14CMDXMLDocument" @ 48 NONAME R3UNUSED ; CMDXMLDocument::~CMDXMLDocument(void)
+ "_._18CMDXMLCDATASection" @ 49 NONAME R3UNUSED ; CMDXMLCDATASection::~CMDXMLCDATASection(void)
+ "_._19CMDXMLCharacterData" @ 50 NONAME R3UNUSED ; CMDXMLCharacterData::~CMDXMLCharacterData(void)
+ "_._21CMDXMLDocumentElement" @ 51 NONAME R3UNUSED ; CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
+ "_._27CMDXMLProcessingInstruction" @ 52 NONAME R3UNUSED ; CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
+ __13CMDXMLElementiP14CMDXMLDocument @ 53 NONAME R3UNUSED ; CMDXMLElement::CMDXMLElement(int, CMDXMLDocument *)
+ AppendChild__10CMDXMLNodeP10CMDXMLNode @ 54 NONAME R3UNUSED ; CMDXMLNode::AppendChild(CMDXMLNode *)
+ FirstChildOfType__13CMDXMLElementRC7TDesC16 @ 55 NONAME R3UNUSED ; CMDXMLElement::FirstChildOfType(TDesC16 const &)
+ LastChildOfType__13CMDXMLElementRC7TDesC16 @ 56 NONAME R3UNUSED ; CMDXMLElement::LastChildOfType(TDesC16 const &)
+ NewLC__14CMDXMLDocument @ 57 NONAME R3UNUSED ; CMDXMLDocument::NewLC(void)
+ NewL__14CMDXMLDocument @ 58 NONAME R3UNUSED ; CMDXMLDocument::NewL(void)
+ PlaceholderForRemovedExport2__14CMDXMLDocument @ 59 NONAME R3UNUSED ; CMDXMLDocument::PlaceholderForRemovedExport2(void)
+ SetAttributeL__13CMDXMLElementRC7TDesC16T1i @ 60 NONAME ; CMDXMLElement::SetAttributeL(TDesC16 const &, TDesC16 const &, int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/bwins/V2_XMLDOMU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,62 @@
+EXPORTS
+ ?PlaceholderForRemovedExport1@CMDXMLDocument@@AAEXAAVMXMLDtd@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport1(class MXMLDtd &)
+ ??0CMDXMLElement@@IAE@HPAVCMDXMLDocument@@@Z @ 2 NONAME ; protected: __thiscall CMDXMLElement::CMDXMLElement(int,class CMDXMLDocument *)
+ ??1CMDXMLCDATASection@@UAE@XZ @ 3 NONAME ; public: virtual __thiscall CMDXMLCDATASection::~CMDXMLCDATASection(void)
+ ??1CMDXMLCharacterData@@UAE@XZ @ 4 NONAME ; public: virtual __thiscall CMDXMLCharacterData::~CMDXMLCharacterData(void)
+ ??1CMDXMLComment@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComment::~CMDXMLComment(void)
+ ??1CMDXMLDocument@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLDocument::~CMDXMLDocument(void)
+ ??1CMDXMLDocumentElement@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
+ ??1CMDXMLElement@@UAE@XZ @ 8 NONAME ; public: virtual __thiscall CMDXMLElement::~CMDXMLElement(void)
+ ??1CMDXMLNode@@UAE@XZ @ 9 NONAME ; public: virtual __thiscall CMDXMLNode::~CMDXMLNode(void)
+ ??1CMDXMLProcessingInstruction@@UAE@XZ @ 10 NONAME ; public: virtual __thiscall CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
+ ??1CMDXMLText@@UAE@XZ @ 11 NONAME ; public: virtual __thiscall CMDXMLText::~CMDXMLText(void)
+ ?AppendChild@CMDXMLNode@@QAEHPAV1@@Z @ 12 NONAME ; public: int __thiscall CMDXMLNode::AppendChild(class CMDXMLNode *)
+ ?AppendL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 13 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::AppendL(class TDesC16 &)
+ ?AttributeDetails@CMDXMLElement@@QAEHHAAVTPtrC16@@0@Z @ 14 NONAME ; public: int __thiscall CMDXMLElement::AttributeDetails(int,class TPtrC16 &,class TPtrC16 &)
+ ?CanElementHaveChildren@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 15 NONAME ; public: int __thiscall CMDXMLDocument::CanElementHaveChildren(class TDesC16 const &)const
+ ?CheckChildren@CMDXMLCharacterData@@UAEHXZ @ 16 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::CheckChildren(void)
+ ?CheckChildren@CMDXMLElement@@UAEHXZ @ 17 NONAME ; public: virtual int __thiscall CMDXMLElement::CheckChildren(void)
+ ?CheckImmediateChildren@CMDXMLElement@@MAEHXZ @ 18 NONAME ; protected: virtual int __thiscall CMDXMLElement::CheckImmediateChildren(void)
+ ?Data@CMDXMLCharacterData@@UAEAAVTDesC16@@XZ @ 19 NONAME ; public: virtual class TDesC16 & __thiscall CMDXMLCharacterData::Data(void)
+ ?E32Dll@@YAHW4TDllReason@@@Z @ 20 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
+ ?FindIndex@CMDXMLElement@@QAEHABVTDesC16@@@Z @ 21 NONAME ; public: int __thiscall CMDXMLElement::FindIndex(class TDesC16 const &)
+ ?FirstChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 22 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::FirstChildOfType(class TDesC16 const &)
+ ?GetAttribute@CMDXMLElement@@UBEHABVTDesC16@@AAVTPtrC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLElement::GetAttribute(class TDesC16 const &,class TPtrC16 &)const
+ ?InsertBefore@CMDXMLNode@@QAEHPAV1@0@Z @ 24 NONAME ; public: int __thiscall CMDXMLNode::InsertBefore(class CMDXMLNode *,class CMDXMLNode *)
+ ?InsertL@CMDXMLCharacterData@@UAEHHAAVTDesC16@@@Z @ 25 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::InsertL(int,class TDesC16 &)
+ ?IsAttributeSpecified@CMDXMLElement@@UBEHABVTDesC16@@@Z @ 26 NONAME ; public: virtual int __thiscall CMDXMLElement::IsAttributeSpecified(class TDesC16 const &)const
+ ?LastChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 27 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::LastChildOfType(class TDesC16 const &)
+ ?Length@CMDXMLCharacterData@@UAEHXZ @ 28 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::Length(void)
+ ?NewL@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 29 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 30 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 31 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(class MXMLDtd &)
+ ?NewL@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 32 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 33 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewL(int,class CMDXMLDocument *,class TPtrC16)
+ ?NewL@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 34 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 35 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewL(class CMDXMLDocument *)
+ ?NewLC@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 36 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 37 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 38 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(class MXMLDtd &)
+ ?NewLC@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 39 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 40 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewLC(int,class CMDXMLDocument *,class TPtrC16)
+ ?NewLC@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 41 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 42 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewLC(class CMDXMLDocument *)
+ ?NextSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 43 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::NextSameTypeSibling(void)
+ ?NodeName@CMDXMLNode@@QAE?AVTPtrC16@@XZ @ 44 NONAME ; public: class TPtrC16 __thiscall CMDXMLNode::NodeName(void)
+ ?NumAttributes@CMDXMLElement@@QAEHXZ @ 45 NONAME ; public: int __thiscall CMDXMLElement::NumAttributes(void)
+ ?PreviousSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 46 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::PreviousSameTypeSibling(void)
+ ?RemoveAttribute@CMDXMLElement@@UAEHABVTDesC16@@@Z @ 47 NONAME ; public: virtual int __thiscall CMDXMLElement::RemoveAttribute(class TDesC16 const &)
+ ?RemoveChild@CMDXMLNode@@QAEHPAV1@@Z @ 48 NONAME ; public: int __thiscall CMDXMLNode::RemoveChild(class CMDXMLNode *)
+ ?ReplaceChild@CMDXMLNode@@QAEHPAV1@0@Z @ 49 NONAME ; public: int __thiscall CMDXMLNode::ReplaceChild(class CMDXMLNode *,class CMDXMLNode *)
+ ?ReplaceL@CMDXMLCharacterData@@UAEHHHAAVTDesC16@@@Z @ 50 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::ReplaceL(int,int,class TDesC16 &)
+ ?SetAttributeL@CMDXMLElement@@UAEHABVTDesC16@@0@Z @ 51 NONAME ; public: virtual int __thiscall CMDXMLElement::SetAttributeL(class TDesC16 const &,class TDesC16 const &)
+ ?SetDataL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 52 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::SetDataL(class TDesC16 &)
+ ?SetDocTypeTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 53 NONAME ; public: int __thiscall CMDXMLDocument::SetDocTypeTagL(class TDesC16 const &)
+ ?SetNodeNameL@CMDXMLNode@@IAEXABVTDesC16@@@Z @ 54 NONAME ; protected: void __thiscall CMDXMLNode::SetNodeNameL(class TDesC16 const &)
+ ?SetVersionTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 55 NONAME ; public: int __thiscall CMDXMLDocument::SetVersionTagL(class TDesC16 const &)
+ ?ValidElementNameL@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 56 NONAME ; public: int __thiscall CMDXMLDocument::ValidElementNameL(class TDesC16 const &)const
+ ?PlaceholderForRemovedExport2@CMDXMLDocument@@AAEXXZ @ 57 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport2(void)
+ ?NewL@CMDXMLDocument@@SAPAV1@XZ @ 58 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(void)
+ ?NewLC@CMDXMLDocument@@SAPAV1@XZ @ 59 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(void)
+ ?SetAttributeL@CMDXMLElement@@QAEHABVTDesC16@@0H@Z @ 60 NONAME ; int CMDXMLElement::SetAttributeL(class TDesC16 const &, class TDesC16 const &, int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/bwins/XMLDOMU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,62 @@
+EXPORTS
+ ?PlaceholderForRemovedExport1@CMDXMLDocument@@AAEXAAVMXMLDtd@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport1(class MXMLDtd &)
+ ??0CMDXMLElement@@IAE@HPAVCMDXMLDocument@@@Z @ 2 NONAME ; protected: __thiscall CMDXMLElement::CMDXMLElement(int,class CMDXMLDocument *)
+ ??1CMDXMLCDATASection@@UAE@XZ @ 3 NONAME ; public: virtual __thiscall CMDXMLCDATASection::~CMDXMLCDATASection(void)
+ ??1CMDXMLCharacterData@@UAE@XZ @ 4 NONAME ; public: virtual __thiscall CMDXMLCharacterData::~CMDXMLCharacterData(void)
+ ??1CMDXMLComment@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComment::~CMDXMLComment(void)
+ ??1CMDXMLDocument@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLDocument::~CMDXMLDocument(void)
+ ??1CMDXMLDocumentElement@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLDocumentElement::~CMDXMLDocumentElement(void)
+ ??1CMDXMLElement@@UAE@XZ @ 8 NONAME ; public: virtual __thiscall CMDXMLElement::~CMDXMLElement(void)
+ ??1CMDXMLNode@@UAE@XZ @ 9 NONAME ; public: virtual __thiscall CMDXMLNode::~CMDXMLNode(void)
+ ??1CMDXMLProcessingInstruction@@UAE@XZ @ 10 NONAME ; public: virtual __thiscall CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction(void)
+ ??1CMDXMLText@@UAE@XZ @ 11 NONAME ; public: virtual __thiscall CMDXMLText::~CMDXMLText(void)
+ ?AppendChild@CMDXMLNode@@QAEHPAV1@@Z @ 12 NONAME ; public: int __thiscall CMDXMLNode::AppendChild(class CMDXMLNode *)
+ ?AppendL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 13 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::AppendL(class TDesC16 &)
+ ?AttributeDetails@CMDXMLElement@@QAEHHAAVTPtrC16@@0@Z @ 14 NONAME ; public: int __thiscall CMDXMLElement::AttributeDetails(int,class TPtrC16 &,class TPtrC16 &)
+ ?CanElementHaveChildren@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 15 NONAME ; public: int __thiscall CMDXMLDocument::CanElementHaveChildren(class TDesC16 const &)const
+ ?CheckChildren@CMDXMLCharacterData@@UAEHXZ @ 16 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::CheckChildren(void)
+ ?CheckChildren@CMDXMLElement@@UAEHXZ @ 17 NONAME ; public: virtual int __thiscall CMDXMLElement::CheckChildren(void)
+ ?CheckImmediateChildren@CMDXMLElement@@MAEHXZ @ 18 NONAME ; protected: virtual int __thiscall CMDXMLElement::CheckImmediateChildren(void)
+ ?Data@CMDXMLCharacterData@@UAEAAVTDesC16@@XZ @ 19 NONAME ; public: virtual class TDesC16 & __thiscall CMDXMLCharacterData::Data(void)
+ ?E32Dll@@YAHW4TDllReason@@@Z @ 20 NONAME ; int __cdecl E32Dll(enum TDllReason)
+ ?FindIndex@CMDXMLElement@@QAEHABVTDesC16@@@Z @ 21 NONAME ; public: int __thiscall CMDXMLElement::FindIndex(class TDesC16 const &)
+ ?FirstChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 22 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::FirstChildOfType(class TDesC16 const &)
+ ?GetAttribute@CMDXMLElement@@UBEHABVTDesC16@@AAVTPtrC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLElement::GetAttribute(class TDesC16 const &,class TPtrC16 &)const
+ ?InsertBefore@CMDXMLNode@@QAEHPAV1@0@Z @ 24 NONAME ; public: int __thiscall CMDXMLNode::InsertBefore(class CMDXMLNode *,class CMDXMLNode *)
+ ?InsertL@CMDXMLCharacterData@@UAEHHAAVTDesC16@@@Z @ 25 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::InsertL(int,class TDesC16 &)
+ ?IsAttributeSpecified@CMDXMLElement@@UBEHABVTDesC16@@@Z @ 26 NONAME ; public: virtual int __thiscall CMDXMLElement::IsAttributeSpecified(class TDesC16 const &)const
+ ?LastChildOfType@CMDXMLElement@@QAEPAV1@ABVTDesC16@@@Z @ 27 NONAME ; public: class CMDXMLElement * __thiscall CMDXMLElement::LastChildOfType(class TDesC16 const &)
+ ?Length@CMDXMLCharacterData@@UAEHXZ @ 28 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::Length(void)
+ ?NewL@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 29 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 30 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 31 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(class MXMLDtd &)
+ ?NewL@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 32 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 33 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewL(int,class CMDXMLDocument *,class TPtrC16)
+ ?NewL@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 34 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewL(class CMDXMLDocument *)
+ ?NewL@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 35 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewL(class CMDXMLDocument *)
+ ?NewLC@CMDXMLCDATASection@@SAPAV1@PAVCMDXMLDocument@@@Z @ 36 NONAME ; public: static class CMDXMLCDATASection * __cdecl CMDXMLCDATASection::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLComment@@SAPAV1@PAVCMDXMLDocument@@@Z @ 37 NONAME ; public: static class CMDXMLComment * __cdecl CMDXMLComment::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLDocument@@SAPAV1@AAVMXMLDtd@@@Z @ 38 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(class MXMLDtd &)
+ ?NewLC@CMDXMLDocumentElement@@SAPAV1@PAVCMDXMLDocument@@@Z @ 39 NONAME ; public: static class CMDXMLDocumentElement * __cdecl CMDXMLDocumentElement::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLElement@@SAPAV1@HPAVCMDXMLDocument@@VTPtrC16@@@Z @ 40 NONAME ; public: static class CMDXMLElement * __cdecl CMDXMLElement::NewLC(int,class CMDXMLDocument *,class TPtrC16)
+ ?NewLC@CMDXMLProcessingInstruction@@SAPAV1@PAVCMDXMLDocument@@@Z @ 41 NONAME ; public: static class CMDXMLProcessingInstruction * __cdecl CMDXMLProcessingInstruction::NewLC(class CMDXMLDocument *)
+ ?NewLC@CMDXMLText@@SAPAV1@PAVCMDXMLDocument@@@Z @ 42 NONAME ; public: static class CMDXMLText * __cdecl CMDXMLText::NewLC(class CMDXMLDocument *)
+ ?NextSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 43 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::NextSameTypeSibling(void)
+ ?NodeName@CMDXMLNode@@QAE?AVTPtrC16@@XZ @ 44 NONAME ; public: class TPtrC16 __thiscall CMDXMLNode::NodeName(void)
+ ?NumAttributes@CMDXMLElement@@QAEHXZ @ 45 NONAME ; public: int __thiscall CMDXMLElement::NumAttributes(void)
+ ?PreviousSameTypeSibling@CMDXMLNode@@IAEPAV1@XZ @ 46 NONAME ; protected: class CMDXMLNode * __thiscall CMDXMLNode::PreviousSameTypeSibling(void)
+ ?RemoveAttribute@CMDXMLElement@@UAEHABVTDesC16@@@Z @ 47 NONAME ; public: virtual int __thiscall CMDXMLElement::RemoveAttribute(class TDesC16 const &)
+ ?RemoveChild@CMDXMLNode@@QAEHPAV1@@Z @ 48 NONAME ; public: int __thiscall CMDXMLNode::RemoveChild(class CMDXMLNode *)
+ ?ReplaceChild@CMDXMLNode@@QAEHPAV1@0@Z @ 49 NONAME ; public: int __thiscall CMDXMLNode::ReplaceChild(class CMDXMLNode *,class CMDXMLNode *)
+ ?ReplaceL@CMDXMLCharacterData@@UAEHHHAAVTDesC16@@@Z @ 50 NONAME ; public: virtual int __thiscall CMDXMLCharacterData::ReplaceL(int,int,class TDesC16 &)
+ ?SetAttributeL@CMDXMLElement@@UAEHABVTDesC16@@0@Z @ 51 NONAME ; public: virtual int __thiscall CMDXMLElement::SetAttributeL(class TDesC16 const &,class TDesC16 const &)
+ ?SetDataL@CMDXMLCharacterData@@UAEXAAVTDesC16@@@Z @ 52 NONAME ; public: virtual void __thiscall CMDXMLCharacterData::SetDataL(class TDesC16 &)
+ ?SetDocTypeTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 53 NONAME ; public: int __thiscall CMDXMLDocument::SetDocTypeTagL(class TDesC16 const &)
+ ?SetNodeNameL@CMDXMLNode@@IAEXABVTDesC16@@@Z @ 54 NONAME ; protected: void __thiscall CMDXMLNode::SetNodeNameL(class TDesC16 const &)
+ ?SetVersionTagL@CMDXMLDocument@@QAEHABVTDesC16@@@Z @ 55 NONAME ; public: int __thiscall CMDXMLDocument::SetVersionTagL(class TDesC16 const &)
+ ?ValidElementNameL@CMDXMLDocument@@QBEHABVTDesC16@@@Z @ 56 NONAME ; public: int __thiscall CMDXMLDocument::ValidElementNameL(class TDesC16 const &)const
+ ?PlaceholderForRemovedExport2@CMDXMLDocument@@AAEXXZ @ 57 NONAME ; private: void __thiscall CMDXMLDocument::PlaceholderForRemovedExport2(void)
+ ?NewL@CMDXMLDocument@@SAPAV1@XZ @ 58 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewL(void)
+ ?NewLC@CMDXMLDocument@@SAPAV1@XZ @ 59 NONAME ; public: static class CMDXMLDocument * __cdecl CMDXMLDocument::NewLC(void)
+ ?SetAttributeL@CMDXMLElement@@QAEHABVTDesC16@@0H@Z @ 60 NONAME ; int CMDXMLElement::SetAttributeL(class TDesC16 const &, class TDesC16 const &, int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/eabi/V2_XMLDOMu.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,101 @@
+EXPORTS
+ _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
+ _ZN10CMDXMLNode11AppendChildEPS_ @ 2 NONAME
+ _ZN10CMDXMLNode11RemoveChildEPS_ @ 3 NONAME
+ _ZN10CMDXMLNode12InsertBeforeEPS_S0_ @ 4 NONAME
+ _ZN10CMDXMLNode12ReplaceChildEPS_S0_ @ 5 NONAME
+ _ZN10CMDXMLNode12SetNodeNameLERK7TDesC16 @ 6 NONAME
+ _ZN10CMDXMLNode19NextSameTypeSiblingEv @ 7 NONAME
+ _ZN10CMDXMLNode23PreviousSameTypeSiblingEv @ 8 NONAME
+ _ZN10CMDXMLNode8NodeNameEv @ 9 NONAME
+ _ZN10CMDXMLNodeD0Ev @ 10 NONAME
+ _ZN10CMDXMLNodeD1Ev @ 11 NONAME
+ _ZN10CMDXMLNodeD2Ev @ 12 NONAME
+ _ZN10CMDXMLText4NewLEP14CMDXMLDocument @ 13 NONAME
+ _ZN10CMDXMLText5NewLCEP14CMDXMLDocument @ 14 NONAME
+ _ZN10CMDXMLTextD0Ev @ 15 NONAME
+ _ZN10CMDXMLTextD1Ev @ 16 NONAME
+ _ZN10CMDXMLTextD2Ev @ 17 NONAME
+ _ZN13CMDXMLComment4NewLEP14CMDXMLDocument @ 18 NONAME
+ _ZN13CMDXMLComment5NewLCEP14CMDXMLDocument @ 19 NONAME
+ _ZN13CMDXMLCommentD0Ev @ 20 NONAME
+ _ZN13CMDXMLCommentD1Ev @ 21 NONAME
+ _ZN13CMDXMLCommentD2Ev @ 22 NONAME
+ _ZN13CMDXMLElement13CheckChildrenEv @ 23 NONAME
+ _ZN13CMDXMLElement13NumAttributesEv @ 24 NONAME
+ _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_ @ 25 NONAME
+ _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_i @ 26 NONAME
+ _ZN13CMDXMLElement15LastChildOfTypeERK7TDesC16 @ 27 NONAME
+ _ZN13CMDXMLElement15RemoveAttributeERK7TDesC16 @ 28 NONAME
+ _ZN13CMDXMLElement16AttributeDetailsEiR7TPtrC16S1_ @ 29 NONAME
+ _ZN13CMDXMLElement16FirstChildOfTypeERK7TDesC16 @ 30 NONAME
+ _ZN13CMDXMLElement22CheckImmediateChildrenEv @ 31 NONAME
+ _ZN13CMDXMLElement4NewLEiP14CMDXMLDocument7TPtrC16 @ 32 NONAME
+ _ZN13CMDXMLElement5NewLCEiP14CMDXMLDocument7TPtrC16 @ 33 NONAME
+ _ZN13CMDXMLElement9FindIndexERK7TDesC16 @ 34 NONAME
+ _ZN13CMDXMLElementC1EiP14CMDXMLDocument @ 35 NONAME
+ _ZN13CMDXMLElementC2EiP14CMDXMLDocument @ 36 NONAME
+ _ZN13CMDXMLElementD0Ev @ 37 NONAME
+ _ZN13CMDXMLElementD1Ev @ 38 NONAME
+ _ZN13CMDXMLElementD2Ev @ 39 NONAME
+ _ZN14CMDXMLDocument14SetDocTypeTagLERK7TDesC16 @ 40 NONAME
+ _ZN14CMDXMLDocument14SetVersionTagLERK7TDesC16 @ 41 NONAME
+ _ZN14CMDXMLDocument28PlaceholderForRemovedExport1ER7MXMLDtd @ 42 NONAME
+ _ZN14CMDXMLDocument28PlaceholderForRemovedExport2Ev @ 43 NONAME
+ _ZN14CMDXMLDocument4NewLER7MXMLDtd @ 44 NONAME
+ _ZN14CMDXMLDocument4NewLEv @ 45 NONAME
+ _ZN14CMDXMLDocument5NewLCER7MXMLDtd @ 46 NONAME
+ _ZN14CMDXMLDocument5NewLCEv @ 47 NONAME
+ _ZN14CMDXMLDocumentD0Ev @ 48 NONAME
+ _ZN14CMDXMLDocumentD1Ev @ 49 NONAME
+ _ZN14CMDXMLDocumentD2Ev @ 50 NONAME
+ _ZN18CMDXMLCDATASection4NewLEP14CMDXMLDocument @ 51 NONAME
+ _ZN18CMDXMLCDATASection5NewLCEP14CMDXMLDocument @ 52 NONAME
+ _ZN18CMDXMLCDATASectionD0Ev @ 53 NONAME
+ _ZN18CMDXMLCDATASectionD1Ev @ 54 NONAME
+ _ZN18CMDXMLCDATASectionD2Ev @ 55 NONAME
+ _ZN19CMDXMLCharacterData13CheckChildrenEv @ 56 NONAME
+ _ZN19CMDXMLCharacterData4DataEv @ 57 NONAME
+ _ZN19CMDXMLCharacterData6LengthEv @ 58 NONAME
+ _ZN19CMDXMLCharacterData7AppendLER7TDesC16 @ 59 NONAME
+ _ZN19CMDXMLCharacterData7InsertLEiR7TDesC16 @ 60 NONAME
+ _ZN19CMDXMLCharacterData8ReplaceLEiiR7TDesC16 @ 61 NONAME
+ _ZN19CMDXMLCharacterData8SetDataLER7TDesC16 @ 62 NONAME
+ _ZN19CMDXMLCharacterDataD0Ev @ 63 NONAME
+ _ZN19CMDXMLCharacterDataD1Ev @ 64 NONAME
+ _ZN19CMDXMLCharacterDataD2Ev @ 65 NONAME
+ _ZN21CMDXMLDocumentElement4NewLEP14CMDXMLDocument @ 66 NONAME
+ _ZN21CMDXMLDocumentElement5NewLCEP14CMDXMLDocument @ 67 NONAME
+ _ZN21CMDXMLDocumentElementD0Ev @ 68 NONAME
+ _ZN21CMDXMLDocumentElementD1Ev @ 69 NONAME
+ _ZN21CMDXMLDocumentElementD2Ev @ 70 NONAME
+ _ZN27CMDXMLProcessingInstruction4NewLEP14CMDXMLDocument @ 71 NONAME
+ _ZN27CMDXMLProcessingInstruction5NewLCEP14CMDXMLDocument @ 72 NONAME
+ _ZN27CMDXMLProcessingInstructionD0Ev @ 73 NONAME
+ _ZN27CMDXMLProcessingInstructionD1Ev @ 74 NONAME
+ _ZN27CMDXMLProcessingInstructionD2Ev @ 75 NONAME
+ _ZNK13CMDXMLElement12GetAttributeERK7TDesC16R7TPtrC16 @ 76 NONAME
+ _ZNK13CMDXMLElement20IsAttributeSpecifiedERK7TDesC16 @ 77 NONAME
+ _ZNK14CMDXMLDocument17ValidElementNameLERK7TDesC16 @ 78 NONAME
+ _ZNK14CMDXMLDocument22CanElementHaveChildrenERK7TDesC16 @ 79 NONAME
+ _ZTI10CMDXMLNode @ 80 NONAME ; #<TI>#
+ _ZTI10CMDXMLText @ 81 NONAME ; #<TI>#
+ _ZTI13CMDXMLComment @ 82 NONAME ; #<TI>#
+ _ZTI13CMDXMLElement @ 83 NONAME ; #<TI>#
+ _ZTI14CMDXMLDocument @ 84 NONAME ; #<TI>#
+ _ZTI18CMDXMLCDATASection @ 85 NONAME ; #<TI>#
+ _ZTI19CMDXMLCharacterData @ 86 NONAME ; #<TI>#
+ _ZTI21CMDXMLDocumentElement @ 87 NONAME ; #<TI>#
+ _ZTI27CMDXMLProcessingInstruction @ 88 NONAME ; #<TI>#
+ _ZTV10CMDXMLNode @ 89 NONAME ; #<VT>#
+ _ZTV10CMDXMLText @ 90 NONAME ; #<VT>#
+ _ZTV13CMDXMLComment @ 91 NONAME ; #<VT>#
+ _ZTV13CMDXMLElement @ 92 NONAME ; #<VT>#
+ _ZTV14CMDXMLDocument @ 93 NONAME ; #<VT>#
+ _ZTV18CMDXMLCDATASection @ 94 NONAME ; #<VT>#
+ _ZTV19CMDXMLCharacterData @ 95 NONAME ; #<VT>#
+ _ZTV21CMDXMLDocumentElement @ 96 NONAME ; #<VT>#
+ _ZTV27CMDXMLProcessingInstruction @ 97 NONAME ; #<VT>#
+ _ZTI14CMDXMLDummyDtd @ 98 NONAME ; #<TI>#
+ _ZTV14CMDXMLDummyDtd @ 99 NONAME ; #<VT>#
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/eabi/XMLDOMu.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,101 @@
+EXPORTS
+ _Z6E32Dll10TDllReason @ 1 NONAME
+ _ZN10CMDXMLNode11AppendChildEPS_ @ 2 NONAME
+ _ZN10CMDXMLNode11RemoveChildEPS_ @ 3 NONAME
+ _ZN10CMDXMLNode12InsertBeforeEPS_S0_ @ 4 NONAME
+ _ZN10CMDXMLNode12ReplaceChildEPS_S0_ @ 5 NONAME
+ _ZN10CMDXMLNode12SetNodeNameLERK7TDesC16 @ 6 NONAME
+ _ZN10CMDXMLNode19NextSameTypeSiblingEv @ 7 NONAME
+ _ZN10CMDXMLNode23PreviousSameTypeSiblingEv @ 8 NONAME
+ _ZN10CMDXMLNode8NodeNameEv @ 9 NONAME
+ _ZN10CMDXMLNodeD0Ev @ 10 NONAME
+ _ZN10CMDXMLNodeD1Ev @ 11 NONAME
+ _ZN10CMDXMLNodeD2Ev @ 12 NONAME
+ _ZN10CMDXMLText4NewLEP14CMDXMLDocument @ 13 NONAME
+ _ZN10CMDXMLText5NewLCEP14CMDXMLDocument @ 14 NONAME
+ _ZN10CMDXMLTextD0Ev @ 15 NONAME
+ _ZN10CMDXMLTextD1Ev @ 16 NONAME
+ _ZN10CMDXMLTextD2Ev @ 17 NONAME
+ _ZN13CMDXMLComment4NewLEP14CMDXMLDocument @ 18 NONAME
+ _ZN13CMDXMLComment5NewLCEP14CMDXMLDocument @ 19 NONAME
+ _ZN13CMDXMLCommentD0Ev @ 20 NONAME
+ _ZN13CMDXMLCommentD1Ev @ 21 NONAME
+ _ZN13CMDXMLCommentD2Ev @ 22 NONAME
+ _ZN13CMDXMLElement13CheckChildrenEv @ 23 NONAME
+ _ZN13CMDXMLElement13NumAttributesEv @ 24 NONAME
+ _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_ @ 25 NONAME
+ _ZN13CMDXMLElement13SetAttributeLERK7TDesC16S2_i @ 26 NONAME
+ _ZN13CMDXMLElement15LastChildOfTypeERK7TDesC16 @ 27 NONAME
+ _ZN13CMDXMLElement15RemoveAttributeERK7TDesC16 @ 28 NONAME
+ _ZN13CMDXMLElement16AttributeDetailsEiR7TPtrC16S1_ @ 29 NONAME
+ _ZN13CMDXMLElement16FirstChildOfTypeERK7TDesC16 @ 30 NONAME
+ _ZN13CMDXMLElement22CheckImmediateChildrenEv @ 31 NONAME
+ _ZN13CMDXMLElement4NewLEiP14CMDXMLDocument7TPtrC16 @ 32 NONAME
+ _ZN13CMDXMLElement5NewLCEiP14CMDXMLDocument7TPtrC16 @ 33 NONAME
+ _ZN13CMDXMLElement9FindIndexERK7TDesC16 @ 34 NONAME
+ _ZN13CMDXMLElementC1EiP14CMDXMLDocument @ 35 NONAME
+ _ZN13CMDXMLElementC2EiP14CMDXMLDocument @ 36 NONAME
+ _ZN13CMDXMLElementD0Ev @ 37 NONAME
+ _ZN13CMDXMLElementD1Ev @ 38 NONAME
+ _ZN13CMDXMLElementD2Ev @ 39 NONAME
+ _ZN14CMDXMLDocument14SetDocTypeTagLERK7TDesC16 @ 40 NONAME
+ _ZN14CMDXMLDocument14SetVersionTagLERK7TDesC16 @ 41 NONAME
+ _ZN14CMDXMLDocument28PlaceholderForRemovedExport1ER7MXMLDtd @ 42 NONAME
+ _ZN14CMDXMLDocument28PlaceholderForRemovedExport2Ev @ 43 NONAME
+ _ZN14CMDXMLDocument4NewLER7MXMLDtd @ 44 NONAME
+ _ZN14CMDXMLDocument4NewLEv @ 45 NONAME
+ _ZN14CMDXMLDocument5NewLCER7MXMLDtd @ 46 NONAME
+ _ZN14CMDXMLDocument5NewLCEv @ 47 NONAME
+ _ZN14CMDXMLDocumentD0Ev @ 48 NONAME
+ _ZN14CMDXMLDocumentD1Ev @ 49 NONAME
+ _ZN14CMDXMLDocumentD2Ev @ 50 NONAME
+ _ZN18CMDXMLCDATASection4NewLEP14CMDXMLDocument @ 51 NONAME
+ _ZN18CMDXMLCDATASection5NewLCEP14CMDXMLDocument @ 52 NONAME
+ _ZN18CMDXMLCDATASectionD0Ev @ 53 NONAME
+ _ZN18CMDXMLCDATASectionD1Ev @ 54 NONAME
+ _ZN18CMDXMLCDATASectionD2Ev @ 55 NONAME
+ _ZN19CMDXMLCharacterData13CheckChildrenEv @ 56 NONAME
+ _ZN19CMDXMLCharacterData4DataEv @ 57 NONAME
+ _ZN19CMDXMLCharacterData6LengthEv @ 58 NONAME
+ _ZN19CMDXMLCharacterData7AppendLER7TDesC16 @ 59 NONAME
+ _ZN19CMDXMLCharacterData7InsertLEiR7TDesC16 @ 60 NONAME
+ _ZN19CMDXMLCharacterData8ReplaceLEiiR7TDesC16 @ 61 NONAME
+ _ZN19CMDXMLCharacterData8SetDataLER7TDesC16 @ 62 NONAME
+ _ZN19CMDXMLCharacterDataD0Ev @ 63 NONAME
+ _ZN19CMDXMLCharacterDataD1Ev @ 64 NONAME
+ _ZN19CMDXMLCharacterDataD2Ev @ 65 NONAME
+ _ZN21CMDXMLDocumentElement4NewLEP14CMDXMLDocument @ 66 NONAME
+ _ZN21CMDXMLDocumentElement5NewLCEP14CMDXMLDocument @ 67 NONAME
+ _ZN21CMDXMLDocumentElementD0Ev @ 68 NONAME
+ _ZN21CMDXMLDocumentElementD1Ev @ 69 NONAME
+ _ZN21CMDXMLDocumentElementD2Ev @ 70 NONAME
+ _ZN27CMDXMLProcessingInstruction4NewLEP14CMDXMLDocument @ 71 NONAME
+ _ZN27CMDXMLProcessingInstruction5NewLCEP14CMDXMLDocument @ 72 NONAME
+ _ZN27CMDXMLProcessingInstructionD0Ev @ 73 NONAME
+ _ZN27CMDXMLProcessingInstructionD1Ev @ 74 NONAME
+ _ZN27CMDXMLProcessingInstructionD2Ev @ 75 NONAME
+ _ZNK13CMDXMLElement12GetAttributeERK7TDesC16R7TPtrC16 @ 76 NONAME
+ _ZNK13CMDXMLElement20IsAttributeSpecifiedERK7TDesC16 @ 77 NONAME
+ _ZNK14CMDXMLDocument17ValidElementNameLERK7TDesC16 @ 78 NONAME
+ _ZNK14CMDXMLDocument22CanElementHaveChildrenERK7TDesC16 @ 79 NONAME
+ _ZTI10CMDXMLNode @ 80 NONAME ; #<TI>#
+ _ZTI10CMDXMLText @ 81 NONAME ; #<TI>#
+ _ZTI13CMDXMLComment @ 82 NONAME ; #<TI>#
+ _ZTI13CMDXMLElement @ 83 NONAME ; #<TI>#
+ _ZTI14CMDXMLDocument @ 84 NONAME ; #<TI>#
+ _ZTI18CMDXMLCDATASection @ 85 NONAME ; #<TI>#
+ _ZTI19CMDXMLCharacterData @ 86 NONAME ; #<TI>#
+ _ZTI21CMDXMLDocumentElement @ 87 NONAME ; #<TI>#
+ _ZTI27CMDXMLProcessingInstruction @ 88 NONAME ; #<TI>#
+ _ZTV10CMDXMLNode @ 89 NONAME ; #<VT>#
+ _ZTV10CMDXMLText @ 90 NONAME ; #<VT>#
+ _ZTV13CMDXMLComment @ 91 NONAME ; #<VT>#
+ _ZTV13CMDXMLElement @ 92 NONAME ; #<VT>#
+ _ZTV14CMDXMLDocument @ 93 NONAME ; #<VT>#
+ _ZTV18CMDXMLCDATASection @ 94 NONAME ; #<VT>#
+ _ZTV19CMDXMLCharacterData @ 95 NONAME ; #<VT>#
+ _ZTV21CMDXMLDocumentElement @ 96 NONAME ; #<VT>#
+ _ZTV27CMDXMLProcessingInstruction @ 97 NONAME ; #<VT>#
+ _ZTI14CMDXMLDummyDtd @ 98 NONAME ; #<TI>#
+ _ZTV14CMDXMLDummyDtd @ 99 NONAME ; #<VT>#
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,41 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_PLATFORMS
+ DEFAULT
+
+PRJ_MMPFILES
+ xmldom.mmp
+
+
+PRJ_EXPORTS
+ ../inc/gmxmlcdatasection.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcdatasection.h)
+ ../inc/gmxmlcharacterData.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcharacterdata.h)
+ ../inc/gmxmlcomment.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcomment.h)
+ ../inc/gmxmldocument.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmldocument.h)
+ ../inc/gmxmldomconstants.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmldomconstants.h)
+ ../inc/gmxmldocumentelement.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmldocumentelement.h)
+ ../inc/gmxmlelement.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlelement.h)
+ ../inc/gmxmlnode.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlnode.h)
+ ../inc/gmxmlprocessinginstruction.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlprocessinginstruction.h)
+ ../inc/gmxmltext.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmltext.h)
+ #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#ifdef SYMBIAN_OLD_EXPORT_LOCATION
+ ../inc/gmxmldummydtd.h /epoc32/include/gmxmldummydtd.h
+#endif
+ #endif
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/group/xmldom.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,49 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// xmldom.dll XML DOM support
+//
+//
+
+/**
+ @file
+*/
+
+TARGET xmldom.dll
+TARGETTYPE dll
+
+CAPABILITY All -TCB
+UID 0x1000008d 0x101F9117
+VENDORID 0x70000001
+
+SOURCEPATH ../src
+SOURCE gmxmlcdatasection.cpp
+SOURCE gmxmlcharacterdata.cpp
+SOURCE gmxmlcomment.cpp
+SOURCE gmxmldocument.cpp
+SOURCE gmxmldocumentelement.cpp
+SOURCE gmxmlelement.cpp
+SOURCE gmxmlnode.cpp
+SOURCE gmxmlprocessinginstruction.cpp
+SOURCE gmxmltext.cpp
+
+
+
+USERINCLUDE ../inc
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+LIBRARY euser.lib
+LIBRARY bafl.lib
+
+DEFFILE V2_XMLDOM.DEF
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlcdatasection.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,67 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLCDATA_H__
+#define __GMXMLCDATA_H__
+
+#include <e32base.h>
+
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <gmxmldocument.h>
+#endif
+
+class CMDXMLCDATASection : public CMDXMLCharacterData
+/** A CDATA section of an XML file.
+
+Objects of this type hold text, including characters that would otherwise
+be regarded as markup. They cannot have child nodes.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLCDATASection, leaving the object on the
+ cleanup stack.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @leave KErrNoMemory Memory allocation failed
+ @return The new CMDXMCDATASection */
+ IMPORT_C static CMDXMLCDATASection* NewLC( CMDXMLDocument* aOwnerDocument );
+
+ /** Allocates and constructs a new CMDXMLCDATASection.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @leave KErrNoMemory Memory allocation failed
+ @return The new CMDXMCDATASection */
+ IMPORT_C static CMDXMLCDATASection* NewL( CMDXMLDocument* aOwnerDocument );
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLCDATASection();
+
+
+protected:
+ /*
+ * Constructor
+ * @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ */
+ CMDXMLCDATASection( CMDXMLDocument* aOwnerDocument );
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlcharacterdata.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,104 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLCHARACTERDATA_H__
+#define __GMXMLCHARACTERDATA_H__
+
+#include <e32base.h>
+
+#include <gmxmlnode.h>
+
+class CMDXMLCharacterData : public CMDXMLNode
+/** Base class for text sections, such as CDATA sections, comments and processing
+instructions, of an XML file.
+
+Objects with this interface contain text, but cannot have child nodes.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLCharacterData();
+
+ /** Gets the text of the section.
+
+ @return The text of the section */
+ IMPORT_C virtual TDesC& Data();
+
+ /** Sets the whole of the section text.
+
+ @param aData Text to set
+ @leave KErrNoMemory Memory allocation failed */
+ IMPORT_C virtual void SetDataL( TDesC& aData );
+
+ /** Gets the length of the section text.
+
+ @return Returns the length of the text */
+ IMPORT_C virtual TInt Length();
+
+ /** Appends text to the section.
+
+ @param aData The text to append.
+ @leave KErrNoMemory Memory allocation failed */
+ IMPORT_C virtual void AppendL( TDesC& aData );
+
+ /** Inserts text at a specified point in the section.
+
+ @param aInsertPos The position at which to insert the text. 0 means insert
+ at the start.
+ @param aData Text to insert
+ @leave KErrNoMemory Memory allocation failed
+ @return Returns KErrNone if successful or KErrNotFound if the insert position
+ is out of range */
+ IMPORT_C virtual TInt InsertL( TInt aInsertPos, TDesC& aData );
+
+ /** Replaces a block of text in the section.
+
+ @param aInsertPos The position at which to insert the text. 0 means insert
+ at the start.
+ @param aLength The number of characters to replace
+ @param aData The text to insert
+ @leave KErrNoMemory Memory allocation failed
+ @return Returns KErrNone if successful or KErrNotFoundif the replace block
+ is out of range */
+ IMPORT_C virtual TInt ReplaceL( TInt aInsertPos, TInt aLength, TDesC& aData );
+
+
+ /** Check the children of this node for validity.
+
+ For a character data section, there can be no children so this is always true.
+
+ @return Always true. */
+ IMPORT_C virtual TBool CheckChildren();
+
+protected:
+ /*
+ * Constructor
+ * @param aNodeType The node type of the derived object
+ * @param aOwnerDocument The Document at the root of the DOM tree.
+ */
+ CMDXMLCharacterData( TDOMNodeType aNodeType, CMDXMLDocument* aOwnerDocument );
+
+private:
+ HBufC* iData; // Buffer to hold the actual text of the CDATA section
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlcomment.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,65 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLCOMMENT_H__
+#define __GMXMLCOMMENT_H__
+
+#include <e32base.h>
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <gmxmldocument.h>
+#endif
+
+class CMDXMLComment : public CMDXMLCharacterData
+/** A comment section of an XML file.
+
+Objects with this interface contain text, but cannot have child nodes.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLComment, leaving the object on the cleanup
+ stack.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return New CMDXMComment
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLComment* NewLC( CMDXMLDocument* aOwnerDocument );
+
+ /** Allocates and constructs a new CMDXMLComment.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return New CMDXMComment
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLComment* NewL( CMDXMLDocument* aOwnerDocument );
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLComment();
+
+
+protected:
+ /*
+ * Constructor
+ * @param aOwnerDocument The document at the root of the DOM tree
+ */
+ CMDXMLComment( CMDXMLDocument* aOwnerDocument );
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmldocument.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,220 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the CMDXMLDocument class which
+// is the root class for a Mini-DOM tree.
+//
+//
+/**
+ * @file
+ * @publishedPartner
+ * @released
+ */
+
+#ifndef __GMXMLDOCUMENT_H__
+#define __GMXMLDOCUMENT_H__
+
+#include <e32base.h>
+
+#include <e32std.h>
+#include <badesca.h>
+
+class CMDXMLElement;
+class MXMLDtd;
+
+/**
+MXMLDtd is a mixin class. If User wants to derive from MXMLDtd class ,
+then one should not derive from any other class at the same time.
+i.e A class can not derive from CBase at all using MXMLDtd.
+
+Interface for DTD defintion classes.
+A class derived from this interface can be used by CMDXMLParser or CMDXMLComposer
+to check that the data conforms to a specific DTD.
+@publishedPartner
+@released
+*/
+class MXMLDtd
+
+ {
+
+public:
+ /** Tests if an element name is valid in the DTD.
+
+ @param aElement The element name to be tested
+ @return ETrue the if element name valid, else EFalse
+ @leave KErrNoMemory Out of memory */
+ virtual TBool IsValidElementL(const TDesC& aElement) const = 0;
+
+ /** Tests if an attribute name and value is valid in DTD.
+
+ @param aElement The element to which the attributes belong
+ @param aAttribute The attribute to be tested
+ @param aAttributeValue The attribute value to be tested
+ @return KErrNone if the name and value are valid, KXMLBadAttributeName if the
+ attribute name is invalid, or KXMLBadAttributeValue if the attribute value
+ is invalid
+ @leave KErrNoMemory Out of memory */
+ virtual TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const = 0;
+
+ /** Tests if the parent/child relationship is valid in DTD.
+
+ @param aParentElement The name of the parent element to be tested
+ @param aChildElements An array of child element names to be tested
+ @return ETrue if parent/child relationship is valid
+ @leave KErrNoMemory Out of memory */
+ virtual TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const = 0;
+
+ /** Tests it is valid for a particular element to have children.
+
+ @param aElement The name of the element to be tested
+ @return ETrue if it is valid for the element to have children */
+ virtual TBool CanElementHaveChildren(const TDesC& aElement) const = 0;
+ };
+
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+class CMDXMLDocument : public CBase
+/** An XML document.
+
+An object of this type owns the root element of a DOM tree and is not itself
+an XML node.
+@publishedPartner
+@released
+ */
+{
+public:
+
+ /**
+ Allocates and constructs a new CMDXMLDocument.
+ @param iDtdRepresentation DTD for the document
+ @return The new CMDXMLDocument object
+ @leave KErrNoMemory Out of memory
+ */
+ IMPORT_C static CMDXMLDocument* NewL(MXMLDtd& iDtdRepresentation);
+
+
+ /**
+ Allocates and constructs a new CMDXMLDocument, leaving the object on the cleanup stack.
+ @param iDtdRepresentation DTD for the document
+ @return The new CMDXMLDocument object
+ @leave KErrNoMemory Out of memory
+ */
+ IMPORT_C static CMDXMLDocument* NewLC(MXMLDtd& iDtdRepresentation);
+
+
+ /** Allocates and constructs a new CMDXMLDocument, without specifying a DTD.
+
+ Documents created using this function will not be able to validate the XML.
+
+ @return The new CMDXMLDocument
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLDocument* NewL();
+
+
+ /** Allocates and constructs a new CMDXMLDocument, without specifying a DTD,
+ leaving the object on the cleanup stack.
+
+ Documents created using this function will not be able to validate the XML.
+
+ @return The new CMDXMLDocument
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLDocument* NewLC();
+
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLDocument();
+
+ /** Gets the root element of the DOM tree.
+
+ @return The root element of the DOM tree */
+ inline CMDXMLElement* DocumentElement() {return iRootElement;}
+
+
+ /** Sets the document's XML version processing instruction.
+
+ @param aVersionTag The XML version processing instruction. This must begin
+ with <?xml and end with >, for example <?xml version="1.0"?>.
+ @return ETrue if successful, EFalse if the parameter format is not correct
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C TBool SetVersionTagL(const TDesC& aVersionTag);
+
+ /** Sets the document's DOCTYPE declaration.
+
+ @param aDocTypeTag The XML DOCTYPE declaration. This must begin<!DOCTYPE and
+ end >.
+ @return ETrue if operation succeeds, EFalse if the parameter format is not
+ correct
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C TBool SetDocTypeTagL(const TDesC& aDocTypeTag);
+
+ /** Tests whether an element name is valid for the document.
+
+ @param aElement The element name to be tested
+ @return True the if element name valid, else false
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C TBool ValidElementNameL(const TDesC& aElement) const;
+
+ /**
+ Tests whether it is valid for a particular element to have children.
+ @param aElement the name of the element to be tested
+ @return ETrue if it is valid for element to have children
+ */
+
+ IMPORT_C TBool CanElementHaveChildren(const TDesC& aElement) const;
+ /** Gets the document's XML version processing instruction.
+
+ @return The document's XML version processing instruction. */
+ inline const TDesC& VersionTag() const {return *iVersionTag;}
+
+ /** Gets the document's DOCTYPE declaration.
+
+ @return The document's DOCTYPE declaration. */
+ inline const TDesC& DocTypeTag() const {return *iDocTypeTag;}
+
+ /** Gets a reference to the MXMLDtd object to use for DTD validation checking.
+
+ @return DTD */
+ const MXMLDtd& CMDXMLDocument::DtdRepresentation() const;
+
+
+private:
+ CMDXMLDocument(MXMLDtd& aDtdRepresentation);
+ CMDXMLDocument();
+
+ /*
+ * sets the root elememnt of the DOM tree.
+ */
+ inline void SetDocumentElement(CMDXMLElement* aRootElement) {iRootElement = aRootElement;}
+
+ void ConstructL();
+
+ IMPORT_C void PlaceholderForRemovedExport1(MXMLDtd& aDtdRepresentation);
+ IMPORT_C void PlaceholderForRemovedExport2();
+
+private:
+ CMDXMLElement* iRootElement; // Root element node of the DOM tree
+
+protected:
+ /** XML Version text */
+ HBufC* iVersionTag; // XML Version text
+ /** Document type text */
+ HBufC* iDocTypeTag; // Document type text
+
+private:
+ MXMLDtd* iDtdRepresentation;
+ TBool iOwnsDtd;
+};
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmldocumentelement.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,65 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the CMDXMLDocumentElement class.
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLDOCUMENTELEMENT_H__
+#define __GMXMLDOCUMENTELEMENT_H__
+
+#include <e32base.h>
+#include <gmxmlelement.h>
+
+class CMDXMLDocumentElement : public CMDXMLElement
+/** A dummy XML element for use as the top level element by the document.
+
+This is required to handle parsing badly-formed XML documents.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLDocumentElement, leaving the object on
+ the cleanup stack.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @leave KErrNoMemory Out of memory
+ @return The new CMDXMLDocumentElement */
+ IMPORT_C static CMDXMLDocumentElement* NewLC( CMDXMLDocument* aOwnerDocument);
+
+ /** Allocates and constructs a new CMDXMLDocumentElement.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @leave KErrNoMemory Out of memory
+ @return The new CMDXMLDocumentElement */
+ IMPORT_C static CMDXMLDocumentElement* NewL( CMDXMLDocument* aOwnerDocument);
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLDocumentElement();
+
+
+protected: //construction
+ /*
+ * Constructor
+ * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
+ */
+ CMDXMLDocumentElement( CMDXMLDocument* aOwnerDocument );
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmldomconstants.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,61 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains generic XML constants
+//
+//
+
+/**
+ @file
+ @publishedPartner
+ @released
+*/
+
+#ifndef __GMXMLDOMCONSTANTS_H__
+#define __GMXMLDOMCONSTANTS_H__
+
+#include <e32base.h>
+
+
+// Error codes
+/**
+* Starting value for all the component's error codes.
+* @publishedPartner
+* @released
+*/
+const TInt KErrXMLBase = -9000;
+/**
+* XML attribute value error code.
+* @publishedPartner
+* @released
+*/
+const TInt KErrXMLBadAttributeValue = KErrXMLBase - 1;
+/**
+* XML attribute name error code.
+* @publishedPartner
+* @released
+*/
+const TInt KErrXMLBadAttributeName = KErrXMLBase - 2;
+/**
+* Invalid XML child element error code.
+* @publishedPartner
+* @released
+*/
+const TInt KErrXMLInvalidChild = KErrXMLBase - 3;
+
+
+
+_LIT(KXMLDocumentElementNodeName, "documentelement");
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmldummydtd.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,72 @@
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the CMDXMLDocument when no
+// DTD is mentioned.
+//
+//
+/**
+ * @file
+ * @internalComponent
+ * @released
+ */
+
+#ifndef __GMXMLDUMMYDTD_H__
+#define __GMXMLDUMMYDTD_H__
+
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "GMXMLDocument.h"
+#endif
+
+_LIT(KXMLCDATASectionNodeName, "#cdata-section");
+_LIT(KXMLCommentNodeName, "comment");
+_LIT(KXMLProcessingInstructionNodeName, "processing_instruction");
+_LIT(KXMLTextNodeName, "#text");
+_LIT(KXMLDefaultVersionTag, "<?xml version=\"1.0\" ?>");
+_LIT(KXMLDefaultDocTypeTag, "<!DOCTYPE smil SYSTEM \"mms_smil.dtd\">");
+_LIT(KXMLVersion, "<?xml");
+_LIT(KXMLEndTag, ">");
+_LIT(KXMLDocumentTypes, "<!DOCTYPE");
+
+/**
+* ELement whose enumerated type has not been set.
+* @internalTechnology
+* @released
+*/
+const TInt KXMLUndefinedElement = -1;
+
+// Used as panic category and number when a removed export is called
+_LIT(KLDRIMPORT, "LDR-IMPORT");
+
+/**
+* @internalTechnology
+* @released
+*/
+const TInt KLdrImportedOrdinalDoesNotExist = 2;
+
+class CMDXMLDummyDtd : public MXMLDtd
+/*
+This class is used internally when no DTD is supplied to CMDXMLDocument.
+*/
+/**
+@internalComponent
+@released
+*/
+ {
+ TBool IsValidElementL(const TDesC& aElement) const;
+ TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const;
+ TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const;
+ TBool CanElementHaveChildren(const TDesC& aElement) const;
+ };
+
+#endif //__GMXMLDUMMYDTD_H__
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlelement.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,194 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the CMDXMLElement class.
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLELEMENT_H__
+#define __GMXMLELEMENT_H__
+
+#include <e32base.h>
+#include <badesca.h>
+#include <gmxmlnode.h>
+
+
+// forward references
+class CMDXMLEntityConverter;
+class CMDXMLComposer;
+
+
+// Constants for the initial and terminal states
+const TInt KXMLMinJump = 5; // Don't do binary chop below this size. Not a critical value.
+
+class CMDXMLElement : public CMDXMLNode
+/** Generic XML element, and base class for particular XML element types.
+
+It provides access to the element tag name and its attribute list. Attributes are
+stored as name-value pairs.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLElement, leaving the object on the cleanup
+ stack.
+
+ @param aCanHaveChildren Set to true if the element can have children
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @param aTagName Name of the tag for the element
+ @leave KErrNoMemory Out of memory
+ @return The new CMDXMLElement */
+ IMPORT_C static CMDXMLElement* NewLC( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName );
+
+ /** Allocates and constructs a new CMDXMLElement.
+
+ @param aCanHaveChildren Set to true if the element can have children
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @param aTagName Name of the tag for the element
+ @leave KErrNoMemory Out of memory
+ @return The new CMDXMLElement */
+ IMPORT_C static CMDXMLElement* NewL( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName );
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLElement();
+
+ // Attribute handling routines.
+
+ /** Gets a specified attribute value.
+
+ @param aAttributeName Name of the attribute to get
+ @param aAttributeValue On return, the value of the attribute
+ @return KErrNone if successful, KErrNotFound if the named attribute is not set. */
+ IMPORT_C virtual TInt GetAttribute(const TDesC& aAttributeName, TPtrC& aAttributeValue ) const;
+
+ /** Checks the validity of an attribute and adds it to the DOM if it's valid.
+
+ @param aAttributeName Name of the attribute to set
+ @param aAttributeValue Value of the attribute
+ @leave KErrNoMemory Out of memory
+ @return KErrNone if successful, KErrNotSupported if an invalid attribute name
+ or attribute value. */
+ IMPORT_C virtual TInt SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue);
+
+ /** Checks the validity of an attribute and adds it to the DOM. The aStoreInvalid
+ parameter is used to control whether invalid attributes are added to the DOM.
+ @param aAttributeName Name of the attribute to set
+ @param aAttributeValue Value of the attribute
+ @param aStoreInvalid If set to EFalse only attributes that are found to be valid will be added to
+ the DOM. Set to ETrue to store all attributes in the DOM, even those that are invalid.
+ @leave KErrNoMemory Out of memory
+ @return KErrNone if successful, KErrNotSupported if an invalid attribute name
+ or attribute value. */
+ IMPORT_C TInt SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue, TBool aStoreInvalid);
+
+ /** Removes a specified attribute.
+
+ @param aAttributeName Name of the attribute to remove
+ @return KErrNone if successful, KErrNotFound if the named attribute is not
+ present. */
+ IMPORT_C virtual TInt RemoveAttribute(const TDesC& aAttributeName);
+
+ /** Tests if a specified attribute is set.
+
+ @param aAttributeName Name of the attribute to test
+ @return True if the named attribute has a value set, false if not */
+ IMPORT_C virtual TBool IsAttributeSpecified(const TDesC& aAttributeName) const;
+
+
+ /** Checks the children of this node for validity.
+
+ It checks that the list of child elements conforms to those allowed by the DTD.
+
+ In a generic CMDXMLElement object, this is always true as it has no basis
+ for a meaningful check. As well as checking the list of direct children, it
+ calls CheckChildren() for each child element. It does not check child nodes
+ that are not elements, as they cannot have children.
+
+ @return True if the node has valid children */
+ IMPORT_C virtual TBool CheckChildren();
+
+// maybe these should be node functions ?
+ /** Gets a pointer to the first child of a given type if any, otherwise returns
+ NULL.
+
+ @param aElementType Name of element type to return
+ @return First child element */
+ IMPORT_C CMDXMLElement* FirstChildOfType(const TDesC& aElementType);
+
+ /** Gets a pointer to the last child of a given type if any, otherwise returns
+ NULL.
+
+ @param aElementType Name of element type to return
+ @return Last child element */
+ IMPORT_C CMDXMLElement* LastChildOfType(const TDesC& aElementType);
+
+
+
+protected: //construction
+ /**
+ * Constructor
+ * @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
+ * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
+ */
+ IMPORT_C CMDXMLElement( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument );
+
+ void ConstructL();
+protected:
+ /**
+ * Check the immediate children of this element - i.e. the first level of children only
+ * The default implementation returns true - derived classes can override with
+ * DTD-specific checks.
+ * @return True if immediate children are valid
+ */
+ IMPORT_C virtual TBool CheckImmediateChildren();
+
+private:
+ TBool DoCheckImmediateChildrenL();
+
+
+public:
+ /** Finds an attribute and returns the index of it.
+
+ @param aAttName The attribute to search for
+ @return The index of the attribute if found, or KErrNotFound */
+ IMPORT_C TInt FindIndex(const TDesC &aAttName);
+
+
+ /** Gets the name and value of an attribute at a given index.
+
+ @param Index The array index of the element for which details are required
+ @param aAttributeName The attribute name returned
+ @param aAttributeValue The attribute value returned
+ @return KErrNone if index is valid, else KErrNotFound */
+ IMPORT_C TInt AttributeDetails(TInt Index, TPtrC& aAttributeName, TPtrC& aAttributeValue);
+
+ /** Gets the number of attributes that this element has.
+
+ @return The number of attributes held by the element */
+ IMPORT_C TInt NumAttributes();
+
+protected:
+ /** Store attribute names */
+ CDesCArraySeg* iDescAttName; // Store Attribute Names
+ /** Store attribute values */
+ CDesCArraySeg* iDescAttValue; // Store Attribute Values
+
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlnode.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,235 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the CMDXMLNode class which
+// is the base class for the Mini-DOM.
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLNODE_H__
+#define __GMXMLNODE_H__
+
+#include <e32base.h>
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <gmxmldocument.h>
+#endif
+
+// forward references
+class CMDXMLComposer;
+class CMDXMLDocument;
+class CMDXMLEntityConverter;
+
+class CMDXMLNode : public CBase
+/** Abstract base class for DOM node classes.
+
+It stores the node type and name, and manages a list of child nodes. The node
+name and type are set in the derived class's constructor and cannot be changed.
+
+The list of child nodes is managed as a doubly-linked list, not an array
+or similar structure.
+
+Derived classes that are not allowed children override the operations to manipulate
+the child list.
+@publishedPartner
+@released
+*/
+{
+public:
+ // XML DOM Node Types - The actual values are taken from the DOM definition but we only use some of them.
+ /** XML DOM node types.
+
+ The values are taken from the DOM definition, but only some of them are used
+ for the SMIL API.
+@publishedPartner
+@released
+*/
+ enum TDOMNodeType
+ {
+ EElementNode=1, //< Element
+ ETextNode=3, //< Text
+ ECDATASectionNode=4, //< CDATA Section
+ EProcessingInstructionNode=7, //< Processing Instruction
+ ECommentNode=8, //< Comment
+ EDocumentNode=9 //< Document
+ };
+
+ /** Destructor.
+
+ When a node is deleted, it:
+
+ 1. links its previous and next siblings
+
+ 2. deletes all its children
+
+ 3. corrects its parents first and last child pointers if necessary */
+ IMPORT_C virtual ~CMDXMLNode();
+
+ /** Gets the node type of the node.
+
+ @return The node type of the node */
+ inline TDOMNodeType NodeType() {return iNodeType;}
+
+ /** Gets the name of the node.
+
+ @return The name of the node */
+ IMPORT_C TPtrC NodeName();
+
+ /** Tests if the node can have child nodes.
+
+ @return True if the node can have child nodes, false otherwise */
+ inline TBool CanHaveChildNodes() {return iCanHaveChildren;}
+
+ /** Tests if the node has any child nodes.
+
+ @return True if the node has any child nodes, false otherwise */
+ inline TBool HasChildNodes() {return (iFirstChildPtr != NULL);}
+
+ /** Gets a pointer to the document which is the owner of the DOM tree.
+
+ @return A pointer to the document which is the owner of the DOM tree */
+ inline CMDXMLDocument* OwnerDocument() {return (CMDXMLDocument*)iOwnerDocument;}
+
+ /** Gets a pointer to the first child node, if any.
+
+ @return A pointer to the first child node if any, otherwise NULL */
+ inline CMDXMLNode* FirstChild() {return iFirstChildPtr;}
+
+ /** Gets a pointer to the last child node, if any.
+
+ @return A pointer to the last child node if any, otherwise NULL */
+ inline CMDXMLNode* LastChild() {return iLastChildPtr;}
+
+ /** Gets a pointer to the next sibling node, if any.
+
+ @return A pointer to the next sibling node if any, otherwise NULL */
+ inline CMDXMLNode* NextSibling() {return iNextSiblingPtr;}
+
+ /** Gets a pointer to the previous sibling node, if any.
+
+ @return A pointer to the previous sibling node if any, otherwise NULL */
+ inline CMDXMLNode* PreviousSibling() {return iPrevSiblingPtr;}
+
+ /** Gets a pointer to the parent node, if any.
+
+ @return A pointer to the parent node if any, otherwise NULL (only at root
+ of tree) */
+ inline CMDXMLNode* ParentNode() {return iParentPtr;}
+
+ /** Gets the element type as an enumerated value.
+
+ This function is quicker to use than NodeName().
+
+ @return A CMDXMLNode::TDomNodeType value identifying the node type */
+ inline TInt ElementType() {return iElementType;}
+
+ /** Removes a child from the list of child nodes.
+
+ The child node is not deleted: that is the responsibility of the caller.
+
+ @param aChildToRemove Pointer to child to remove from the list
+ @return KErrNone if sucessful or KErrNotFound if the referenced child node
+ is not found */
+ IMPORT_C TInt RemoveChild(CMDXMLNode* aChildToRemove);
+
+ /** Inserts a new child node at a specific point in the child list.
+
+ @param aInsertBeforeChild Pointer to the element before which the new child
+ should be inserted. UseNULL to insert at the start of the list.
+ @param aChildToInsert Pointer to the new child node to insert
+ @return KErrNone if successful, KErrNotSupported if the node cannot have children
+ or KErrNotFound if it cannot find the child before which to insert */
+ IMPORT_C TInt InsertBefore(CMDXMLNode* aInsertBeforeChild, CMDXMLNode* aChildToInsert);
+
+ /** Appends a new child at the end of the child list.
+
+ @param aChildToInsert Pointer to the new child node to append.
+ @return KErrNone if successful or KErrNotSupported if the node cannot have
+ children */
+ IMPORT_C TInt AppendChild(CMDXMLNode* aChildToInsert);
+
+ /** Inserts a new child node while removing an existing one.
+
+ The old child is not deleted.
+
+ @param aChildToInsert Pointer to the new child node to insert
+ @param aChildToReplace Pointer to the child node to be replaced
+ @return KErrNone if successful, KErrNotSupported if the node cannot have children
+ or KErrNotFound if it cannot find the child to replace. */
+ IMPORT_C TInt ReplaceChild(CMDXMLNode* aChildToInsert, CMDXMLNode* aChildToReplace);
+
+
+ /** Checks the children of this node for validity.
+
+ @return True if the children are valid according to the DTD. */
+ IMPORT_C virtual TBool CheckChildren()=0;
+
+protected:
+ /*
+ * The node type will normally be hard-wired in any derived class constructor.
+ * The node name and HaveChildren flag will normally be hard-wired in a derived class constructor unless it
+ * covers a generic element.
+ * @param aNodeType The tpe of node to be created
+ * @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
+ * @param aOwnerDocument Pointer to the document at the root of the DOM tree - if NULL then assume this is the root
+ */
+ CMDXMLNode( TDOMNodeType aNodeType, TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument );
+
+// make these public? sjr
+ /**
+ * Gets a pointer to the previous sibling node of the same type if any,
+ * otherwise returns NULL
+ * @return Previous sibling node
+ */
+ IMPORT_C CMDXMLNode* PreviousSameTypeSibling();
+
+ /**
+ * Gets a pointer to the next sibling node of the same type if any,
+ * otherwise returns NULL
+ * @return Next sibling node
+ */
+ IMPORT_C CMDXMLNode* NextSameTypeSibling();
+
+ /**
+ * Set the node name - normally on creation
+ * @param aNodeName The node name - commonly an element tag name - _not_ any unique identifier
+ * @leave Can Leave due to OOM
+ */
+ IMPORT_C void SetNodeNameL(const TDesC& aNodeName);
+
+ /**
+ * Sets the enumerated element type (same information as node name but faster to access)
+ */
+ inline void SetElementType( TInt aElementType ) {iElementType = aElementType;}
+
+protected:
+ CMDXMLDocument* iOwnerDocument; //< Pointer to owning document
+
+
+private:
+ TInt iElementType; // Enumerated element type
+ TDOMNodeType iNodeType; // Node type
+ HBufC* iNodeName; // Name of the node, e.g. element tag name - not unique id
+ CMDXMLNode* iParentPtr; // Pointer to parent node if any
+ CMDXMLNode* iFirstChildPtr; // Pointer to first child node if any
+ CMDXMLNode* iLastChildPtr; // Pointer to last child node if any
+ CMDXMLNode* iNextSiblingPtr; // Pointer to next sibling if any
+ CMDXMLNode* iPrevSiblingPtr; // Pointer to previous sibling if any
+ TBool iCanHaveChildren; // true if this node is allowed to have children
+};
+
+#endif
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmlprocessinginstruction.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,65 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// GMXMLProcessing Instruction.h
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLPROCINSTR_H__
+#define __GMXMLPROCINSTR_H__
+
+#include <e32base.h>
+#include <gmxmlcharacterdata.h>
+
+class CMDXMLProcessingInstruction : public CMDXMLCharacterData
+/** A processing instruction section of an XML file.
+
+It has text and a place in the object tree, but has no children.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLProcessingInstruction, leaving the object
+ on the cleanup stack.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return The new CMDXMLProcessingInstruction
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLProcessingInstruction* NewLC( CMDXMLDocument* aOwnerDocument );
+
+ /** Allocates and constructs a new CMDXMLProcessingInstruction.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return The new CMDXMLProcessingInstruction
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLProcessingInstruction* NewL( CMDXMLDocument* aOwnerDocument );
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLProcessingInstruction();
+
+
+protected:
+ /*
+ * Constructor
+ * @param aOwnerDocument The document at the root of the DOM tree
+ */
+ CMDXMLProcessingInstruction( CMDXMLDocument* aOwnerDocument );
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/inc/gmxmltext.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,63 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLTEXT_H__
+#define __GMXMLTEXT_H__
+
+#include <e32base.h>
+#include <gmxmlcharacterdata.h>
+
+class CMDXMLText : public CMDXMLCharacterData
+/** A text section of an XML file.
+
+Objects of this type hold text. They cannot have child nodes.
+@publishedPartner
+@released
+*/
+{
+public:
+ /** Allocates and constructs a new CMDXMLText, leaving the object on the cleanup
+ stack.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return The new CMDXMLText
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLText* NewLC( CMDXMLDocument* aOwnerDocument );
+
+ /** Allocates and constructs a new CMDXMLText.
+
+ @param aOwnerDocument Pointer to the document at the root of the DOM tree
+ @return The new CMDXMLText
+ @leave KErrNoMemory Out of memory */
+ IMPORT_C static CMDXMLText* NewL( CMDXMLDocument* aOwnerDocument );
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLText();
+
+
+protected:
+ /*
+ * Constructor
+ * @param aOwnerDocument The document at the root of the DOM tree
+ */
+ CMDXMLText( CMDXMLDocument* aOwnerDocument );
+};
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlcdatasection.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,73 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLCDATASection.cpp
+// @file
+// This class represents a CDATA section of an XML file -
+// basically it is a chunk of text which has a place in the
+// object tree but has no children.
+//
+//
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlcharacterdata.h>
+#include <gmxmlcdatasection.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+EXPORT_C CMDXMLCDATASection* CMDXMLCDATASection::NewLC( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMCDATASection
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLCDATASection* secPtr = new(ELeave) CMDXMLCDATASection( aOwnerDocument );
+ CleanupStack::PushL( secPtr );
+ const TDesC& nodeName = KXMLCDATASectionNodeName;
+ secPtr->SetNodeNameL( nodeName );
+ return secPtr;
+ }
+
+EXPORT_C CMDXMLCDATASection* CMDXMLCDATASection::NewL( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMCDATASection
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLCDATASection* secPtr = CMDXMLCDATASection::NewLC( aOwnerDocument );
+ CleanupStack::Pop(1); // secPtr
+ return secPtr;
+ }
+
+CMDXMLCDATASection::CMDXMLCDATASection( CMDXMLDocument* aOwnerDocument ):
+CMDXMLCharacterData( ECDATASectionNode, aOwnerDocument)
+//
+// Constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+//
+ {
+ }
+
+EXPORT_C CMDXMLCDATASection::~CMDXMLCDATASection()
+ {
+ }
+
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlcharacterdata.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,159 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLCharacterData.cpp
+// @file
+// This class represents a text section of an XML file -
+// basically it is a chunk of text which has a place in the
+// object tree but has no children.
+//
+//
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlcharacterdata.h>
+
+CMDXMLCharacterData::CMDXMLCharacterData( TDOMNodeType aNodeType, CMDXMLDocument* aOwnerDocument ):
+CMDXMLNode( aNodeType, false, aOwnerDocument)
+//
+// Constructor
+// @param aNodeType The node type of the derived object
+// @param aOwnerDocument The Document at the root of the DOM tree.
+//
+ {
+ }
+
+EXPORT_C CMDXMLCharacterData::~CMDXMLCharacterData()
+ {
+ delete iData;
+ }
+
+EXPORT_C TDesC& CMDXMLCharacterData::Data()
+//
+// @return Returns the text of the Character Data section
+//
+ {
+ return *iData;
+ }
+
+EXPORT_C void CMDXMLCharacterData::SetDataL( TDesC& aData )
+//
+// Sets the whole of the Character Data section text
+// @param aData Text to set.
+// @leave Can Leave due to OOM
+//
+ {
+ if( iData != NULL )
+ {
+ delete iData;
+ iData = NULL;
+ }
+ iData = aData.AllocL();
+ }
+
+EXPORT_C TInt CMDXMLCharacterData::Length()
+//
+// @return Returns the length of the text
+//
+ {
+ return iData->Length();;
+ }
+
+EXPORT_C void CMDXMLCharacterData::AppendL( TDesC& aData )
+//
+// Appends text to the Character Data section
+// @param aData Text to append
+// @leave Can Leave due to OOM
+//
+ {
+ TInt newLength = aData.Length() + iData->Length();
+ if(newLength > iData->Des().MaxLength())
+ {
+ HBufC* newData = HBufC::NewMaxL(newLength);
+ newData->Des().Copy(iData->Des());
+ delete iData;
+ iData = newData;
+ }
+ iData->Des().Append(aData);
+ }
+
+EXPORT_C TInt CMDXMLCharacterData::InsertL( TInt aInsertPos, TDesC& aData )
+//
+// Inserts text at a point in the Character Data section
+// @param aInsertPos The position to insert the text (0 means insert at the start)
+// @param aData Text to insert
+// @leave Can Leave due to OOM
+// @return Returns KErrNone if successful or KErrNotFound if the insert position is out of range
+//
+ {
+ TInt retVal = KErrNone;
+ if((aInsertPos >= 0) && (aInsertPos < iData->Length()))
+ {
+ TInt newLength = aData.Length() + iData->Length();
+ if(newLength > iData->Des().MaxLength())
+ {
+ HBufC* newData = HBufC::NewMaxL(newLength);
+ newData->Des().Copy(iData->Des());
+ delete iData;
+ iData = newData;
+ }
+ iData->Des().Insert(aInsertPos, aData);
+ }
+ else
+ {
+ retVal = KErrNotFound;
+ }
+ return retVal;
+ }
+
+EXPORT_C TInt CMDXMLCharacterData::ReplaceL( TInt aInsertPos, TInt aLength, TDesC& aData )
+//
+// Replaces a block of text in the Character Data section
+// @param aInsertPos The position to insert the text (0 means insert at the start)
+// @param aLength The number of characters to replace
+// @param aData Text to insert
+// @leave Can Leave due to OOM
+// @return Returns KErrNone if successful or KErrNotFound if the replace block is out of range
+//
+ {
+ TInt retVal = KErrNone;
+ if((aInsertPos >= 0) && (aInsertPos < iData->Length()) && (aLength >= 0))
+ {
+ TInt newLength = aData.Length() + iData->Length() - aLength;
+ if(newLength > iData->Des().MaxLength())
+ {
+ HBufC* newData = HBufC::NewMaxL(newLength);
+ newData->Des().Copy(iData->Des());
+ delete iData;
+ iData = newData;
+ }
+ iData->Des().Replace(aInsertPos, aLength, aData);
+ }
+ else
+ {
+ retVal = KErrNotFound;
+ }
+ return retVal;
+ }
+
+EXPORT_C TBool CMDXMLCharacterData::CheckChildren()
+//
+// Check the children of this node for legality - must be defined based on DTD.
+// For a Character Data section there can be no children so this always returns true.
+// @return True if the node has legitimate children
+//
+ {
+ return true;
+ }
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlcomment.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,74 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLComment.cpp
+// @file
+// This class represents a Comment section of an XML file -
+// basically it is a chunk of text which has a place in the
+// object tree but has no children.
+//
+//
+
+#include <f32file.h>
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlcharacterdata.h>
+#include <gmxmlcomment.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+EXPORT_C CMDXMLComment* CMDXMLComment::NewLC( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMComment
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComment* secPtr = new(ELeave) CMDXMLComment( aOwnerDocument );
+ CleanupStack::PushL( secPtr );
+ const TDesC& nodeName = KXMLCommentNodeName;
+ secPtr->SetNodeNameL( nodeName );
+ return secPtr;
+ }
+
+EXPORT_C CMDXMLComment* CMDXMLComment::NewL( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComment* secPtr = CMDXMLComment::NewLC( aOwnerDocument );
+ CleanupStack::Pop(1); // secPtr
+ return secPtr;
+ }
+
+CMDXMLComment::CMDXMLComment( CMDXMLDocument* aOwnerDocument ):
+CMDXMLCharacterData( ECommentNode, aOwnerDocument)
+//
+// Constructor
+// @param aOwnerDocument The document at the root of the DOM tree
+//
+ {
+ }
+
+EXPORT_C CMDXMLComment::~CMDXMLComment()
+ {
+ }
+
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmldocument.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,238 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLDocument.CPP
+// @file
+// This file contains the implementation of the CMDXMLDocument class which
+// is the root class for a Mini-DOM tree.
+//
+//
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlelement.h>
+#include <gmxmldocument.h>
+#include <gmxmldocumentelement.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+//
+// Global functions //
+//
+
+
+CMDXMLDocument::CMDXMLDocument(MXMLDtd& aDtdRepresentation) : iDtdRepresentation(&aDtdRepresentation)
+//
+// Constructor
+//
+ {
+ }
+
+CMDXMLDocument::CMDXMLDocument()
+//
+// Constructor
+//
+ {
+ }
+
+
+EXPORT_C CMDXMLDocument::~CMDXMLDocument()
+ {
+ delete iRootElement;
+ delete iVersionTag;
+ delete iDocTypeTag;
+
+ if (iOwnsDtd)
+ // If the DTD is a dummy DTD created by this document then it should be deleted.
+ {
+ delete iDtdRepresentation;
+ }
+ }
+
+EXPORT_C CMDXMLDocument* CMDXMLDocument::NewL(MXMLDtd& aDtdRepresentation)
+//
+// Factory function
+// @return Returns the created CMDXMLDocument
+// @leave Can Leave due to OOM
+//
+ {
+ CMDXMLDocument* self = CMDXMLDocument::NewLC(aDtdRepresentation);
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+
+EXPORT_C CMDXMLDocument* CMDXMLDocument::NewLC(MXMLDtd& aDtdRepresentation)
+//
+// Factory function
+// @return Returns the created CMDXMLDocument
+// @leave Can Leave due to OOM
+//
+ {
+ CMDXMLDocument* self = new(ELeave) CMDXMLDocument(aDtdRepresentation);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+/**
+ * Factory function - Without taking a DTD
+ * Documents created using this function will not be able to validate the XML.
+ * @return Returns the created CMDXMLDocument
+ * @leave Can Leave due to OOM
+ */
+EXPORT_C CMDXMLDocument* CMDXMLDocument::NewL()
+ {
+ CMDXMLDocument* self = CMDXMLDocument::NewLC();
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+
+/**
+ * Factory function - Without taking a DTD
+ * Documents created using this function will not be able to validate the XML.
+ * @return Returns the created CMDXMLDocument
+ * @leave Can Leave due to OOM
+ */
+EXPORT_C CMDXMLDocument* CMDXMLDocument::NewLC()
+ {
+ CMDXMLDocument* self = new(ELeave) CMDXMLDocument();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+
+void CMDXMLDocument::ConstructL()
+ {
+// Default XML Version & Doc tags being set
+// Can be reset externally
+ iVersionTag = TPtrC(KXMLDefaultVersionTag).AllocL();
+ iDocTypeTag = TPtrC(KXMLDefaultDocTypeTag).AllocL();
+
+ iRootElement = CMDXMLDocumentElement::NewL(this);
+
+ if (iDtdRepresentation == NULL)
+ // If no DTD has been provided then use the dummy DTD
+ {
+ iDtdRepresentation = new (ELeave) CMDXMLDummyDtd;
+ iOwnsDtd = ETrue;
+ }
+ }
+
+
+EXPORT_C TBool CMDXMLDocument::SetVersionTagL(const TDesC& aVersionTag)
+//
+// @param replacement tag, this must be complete, starting <?xml and finishing >
+// @return ETrue if operation succeeds, EFalse if formal parameter does not
+// begin with <?xml or does not end with an >
+// @leave can Leave due to OOM
+//
+ {
+ TBool returnValue = EFalse;
+
+ // if correct tag frame
+ if(aVersionTag.Left(TPtrC(KXMLVersion).Length()) == KXMLVersion
+ && aVersionTag.Right(TPtrC(KXMLEndTag).Length()) == KXMLEndTag)
+ {
+ delete iVersionTag;
+ iVersionTag = NULL;
+ iVersionTag = aVersionTag.AllocL();
+ returnValue = ETrue;
+ }
+
+ return returnValue;
+ }
+
+EXPORT_C TBool CMDXMLDocument::SetDocTypeTagL(const TDesC& aDocTypeTag)
+//
+// @param replacement tag, this must be complete, starting <!DOCTYPE and finishing >
+// @return ETrue if operation succeeds, EFalse if formal parameter does not
+// begin with <!DOCTYPE or does not end with an angle bracket
+// @leave can Leave due to OOM
+//
+ {
+ TBool returnValue = EFalse;
+
+ // if correct tag frame
+ if(aDocTypeTag.Left(TPtrC(KXMLDocumentTypes).Length()) == KXMLDocumentTypes
+ && aDocTypeTag.Right(TPtrC(KXMLEndTag).Length()) == KXMLEndTag)
+ {
+ delete iDocTypeTag;
+ iDocTypeTag = NULL;
+ iDocTypeTag = aDocTypeTag.AllocL();
+ returnValue = ETrue;
+ }
+
+ return returnValue;
+ }
+
+
+
+EXPORT_C TBool CMDXMLDocument::ValidElementNameL(const TDesC& aElement) const
+//
+// Function to determine whether an Element name is valid for Document
+// @return ETrue the if element name valid - else EFalse
+// @param aElement the element name to be tested
+// @leave can leave due to OOM
+//
+ {
+ return iDtdRepresentation->IsValidElementL(aElement);
+ }
+
+
+EXPORT_C TBool CMDXMLDocument::CanElementHaveChildren(const TDesC& aElement) const
+ {
+ return iDtdRepresentation->CanElementHaveChildren(aElement);
+ }
+
+EXPORT_C void CMDXMLDocument::PlaceholderForRemovedExport1(MXMLDtd& /*aDtdRepresentation*/)
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+EXPORT_C void CMDXMLDocument::PlaceholderForRemovedExport2()
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+const MXMLDtd& CMDXMLDocument::DtdRepresentation() const
+// Returns a reference to the dtd class responsible for validation
+// @return Returns a reference to MXMLDtd class that should be used for Dtd validation checking
+ {
+ return *iDtdRepresentation;
+ }
+
+
+TBool CMDXMLDummyDtd::IsValidElementL(const TDesC& /*aElement*/) const
+ {
+ return ETrue;
+ }
+
+TInt CMDXMLDummyDtd::IsValidAttributeForElementL(const TDesC& /*aElement*/, const TDesC& /*aAttribute*/, const TDesC& /*aAttributeValue*/) const
+ {
+ return KErrNone;
+ }
+
+TBool CMDXMLDummyDtd::AreValidChildElementsL(const TDesC& /*aParentElement*/, const CDesCArray& /*aChildElements*/) const
+ {
+ return ETrue;
+ }
+
+TBool CMDXMLDummyDtd::CanElementHaveChildren(const TDesC& /*aElement*/) const
+ {
+ return ETrue;
+ }
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmldocumentelement.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,75 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLDocumentElement.CPP
+// @file
+// This file contains the implementation of the CMDXMLDocumentElement class.
+// This class represents a generic XML element with attributes
+// stored as name-value pairs. DTD-specific element classes
+// will store their attributes as member variables.
+//
+//
+
+#include <gmxmldomconstants.h>
+#include <gmxmldocument.h>
+#include <gmxmldocumentelement.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+EXPORT_C CMDXMLDocumentElement* CMDXMLDocumentElement::NewLC( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLDocumentElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLDocumentElement* elPtr = new(ELeave) CMDXMLDocumentElement( aOwnerDocument );
+ CleanupStack::PushL( elPtr );
+ elPtr->ConstructL();
+ elPtr->SetNodeNameL( KXMLDocumentElementNodeName );
+ return elPtr;
+ }
+
+EXPORT_C CMDXMLDocumentElement* CMDXMLDocumentElement::NewL( CMDXMLDocument* aOwnerDocument)
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLDocumentElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLDocumentElement* elPtr = CMDXMLDocumentElement::NewLC( aOwnerDocument);
+ CleanupStack::Pop(1); // elPtr
+ return elPtr;
+ }
+
+CMDXMLDocumentElement::CMDXMLDocumentElement( CMDXMLDocument* aOwnerDocument ):
+CMDXMLElement( ETrue, aOwnerDocument)
+//
+// Constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+//
+ {
+ }
+
+EXPORT_C CMDXMLDocumentElement::~CMDXMLDocumentElement()
+ {
+ }
+
+
+
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlelement.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,378 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLElement.CPP
+// @file
+// This file contains the implementation of the CMDXMLElement class.
+// This class represents a generic XML element with attributes
+// stored as name-value pairs. DTD-specific element classes
+// will store their attributes as member variables.
+//
+//
+
+#include <f32file.h>
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmldocument.h>
+#include <gmxmlelement.h>
+
+
+EXPORT_C CMDXMLElement* CMDXMLElement::NewLC( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName )
+//
+// Two phase constructor
+// @param aCanHaveChildren Flag to indicate if the node represents a node
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @param aTagName Name of the tag used to create the element
+// @return Created CMDXMLElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLElement* elPtr = new(ELeave) CMDXMLElement( aCanHaveChildren, aOwnerDocument );
+ CleanupStack::PushL( elPtr );
+ elPtr->SetNodeNameL( aTagName );
+ elPtr->ConstructL();
+ return elPtr;
+ }
+
+EXPORT_C CMDXMLElement* CMDXMLElement::NewL( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument, TPtrC aTagName )
+//
+// Two phase constructor
+// @param aCanHaveChildren Flag to indicate if the node represents a node
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @param aTagName Name of the tag used to create the element
+// @return Created CMDXMLElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLElement* elPtr = CMDXMLElement::NewLC( aCanHaveChildren, aOwnerDocument, aTagName );
+ CleanupStack::Pop(elPtr);
+ return elPtr;
+ }
+
+EXPORT_C CMDXMLElement::CMDXMLElement( TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument ):
+CMDXMLNode( EElementNode, aCanHaveChildren, aOwnerDocument)
+//
+// Constructor
+// @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+//
+ {
+ // No other work to do.
+ }
+
+void CMDXMLElement::ConstructL()
+/**
+ * 2nd-phase constructor. Initialises this object's member data.
+ *
+ * @leave KErrXxx Standard EPOC error codes if allocation or construction of the object's members fails
+ */
+ {
+ iDescAttName = new (ELeave) CDesCArraySeg(1);
+ iDescAttValue = new (ELeave) CDesCArraySeg(1);
+
+ }
+
+EXPORT_C CMDXMLElement::~CMDXMLElement()
+/**
+ * C++ destructor
+ */
+ {
+ // Delete the array of attribute name-value pairs.
+ if(iDescAttName)
+ delete iDescAttName;
+
+ if(iDescAttValue)
+ delete iDescAttValue;
+
+ }
+
+
+EXPORT_C TInt CMDXMLElement::GetAttribute(const TDesC& aAttributeName, TPtrC& aAttributeValue) const
+//
+// Returns the attribute value if it is set.
+// @param aAttributeName Name of attribute to return
+// @param aAttributeValue Value of attribute returned
+// @return Returns KErrNone if successful, KErrNotFound if the named attribute
+// is not set or KErrNotSupported if the named attribute doesn't exist.
+//
+ {
+ TInt returnValue = KErrNone;
+
+ TInt index;
+ TInt attributeFound;
+ attributeFound = iDescAttName->Find(aAttributeName,index);
+
+ if(attributeFound == 0)
+ {
+ aAttributeValue.Set(iDescAttValue->MdcaPoint(index));
+ }
+ else
+ returnValue = KErrNotSupported;
+
+ return returnValue;
+
+ }
+
+EXPORT_C TInt CMDXMLElement::SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue)
+//
+// Sets the attribute value.if it is valid
+// @param aAttributeName Name of attribute to set
+// @param aAttributeValue Value of attribute
+// @return Returns KErrNone if successful, KErrNotSupported if a DTD-specific class.
+// @leave Can Leave due to OOM
+//
+ {
+ return SetAttributeL(aAttributeName, aAttributeValue, EFalse);
+ }
+
+EXPORT_C TInt CMDXMLElement::SetAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue, TBool aStoreInvalid)
+//
+// Checks an attribute for validity and adds it to the DOM. The aStoreInvalid parameter is used to control whether invalid
+// attributes are added to the DOM.
+// @param aAttributeName Name of attribute to set
+// @param aAttributeValue Value of attribute
+// @param aStoreInvalid If set to ETrue all attributes will be stored in the DOM. Otherwise only those that are valid will be.
+// @return Returns KErrNone if successful, KErrNotSupported if a DTD-specific class.
+// @leave Can Leave due to OOM
+//
+ {
+ TInt returnValue = (iOwnerDocument->DtdRepresentation()).IsValidAttributeForElementL(NodeName(), aAttributeName, aAttributeValue);
+
+ if(returnValue == KErrNone || aStoreInvalid)
+ {
+ iDescAttName->AppendL(aAttributeName);
+ iDescAttValue->AppendL(aAttributeValue);
+ }
+
+ return returnValue;
+ }
+
+EXPORT_C TInt CMDXMLElement::RemoveAttribute(const TDesC& aAttributeName)
+//
+// Removes the named attribute if present.
+// @param aAttributeName Name of attribute to set
+// @return Returns KErrNone if successful, KErrNotFound if the named attribute is not set, KErrNotSupported if a DTD-specific class.
+//
+ {
+ TInt returnValue = KErrNone;
+
+ TInt index;
+ TInt attributeFound;
+ attributeFound = iDescAttName->Find(aAttributeName,index);
+
+ if(attributeFound == 0)
+ {
+ iDescAttName->Delete(index);
+ iDescAttValue->Delete(index);
+ }
+ else
+ returnValue = KErrNotFound;
+
+ return returnValue;
+ }
+
+
+EXPORT_C TBool CMDXMLElement::IsAttributeSpecified(const TDesC& aAttributeName) const
+//
+// Finds out whether or not the named attribute is set
+// @param aAttributeName Name of attribute that is subject of the enquiry.
+// @return true of the named attribute has a value set, false if not
+//
+ {
+ TBool returnValue = EFalse;
+
+ if(iDescAttName)
+ {
+ TInt index = 0;
+ TInt found = 0;
+ found = iDescAttName->Find(aAttributeName,index);
+ if(found == 0)
+ returnValue = ETrue;
+ }
+
+ return returnValue;
+ }
+
+
+
+
+
+EXPORT_C TBool CMDXMLElement::CheckImmediateChildren()
+// Check the immediate children of this element - i.e. the first level of children only
+// If the document has not been constructed with a pointer to a MXMLDtd object then a default ETrue will be returned
+// Otherwise the MXMLDtd object is used to validate immediate children - returns ETrue if valid
+// @return True if immediate children are valid
+ {
+ TBool returnValue = ETrue;
+ TRAPD(error,returnValue = DoCheckImmediateChildrenL());
+ if(error != KErrNone)
+ {
+ return EFalse;
+ }
+ return returnValue;
+ }
+
+TBool CMDXMLElement::DoCheckImmediateChildrenL()
+ {
+ TBool returnValue = ETrue;
+
+ // Create an array of this elements immediate children
+ CDesCArray* children = new (ELeave) CDesCArrayFlat(3);
+ CleanupStack::PushL(children);
+
+ if (HasChildNodes())
+ {
+ CMDXMLNode* childPtr;
+ childPtr = FirstChild();
+ // Cycle through the siblings
+ while (childPtr != NULL)
+ {
+ if( childPtr->NodeType() == EElementNode )
+ children->AppendL(childPtr->NodeName());
+ childPtr = childPtr->NextSibling();
+ }
+ returnValue = OwnerDocument()->DtdRepresentation().AreValidChildElementsL(this->NodeName(),*children);
+ }
+
+ // Do a DTD specific check to see if the children are valid
+ CleanupStack::PopAndDestroy(); // children
+
+ return returnValue;
+ }
+
+EXPORT_C TBool CMDXMLElement::CheckChildren()
+//
+// Check the children of this node for legality - must be defined based on DTD.
+// This function checks that the list of child elements
+// conforms to those allowed by the DTD.
+// As well as checking the list of direct children, it
+// calls CheckChildren for each child element which is an
+// element (it does not call this for child nodes which are
+// not elements as they cannot have children).
+// @return True if the node has legitimate children
+//
+ {
+ TBool retVal= CheckImmediateChildren();
+ if( retVal && HasChildNodes() )
+ {
+ CMDXMLNode* childPtr;
+ childPtr = FirstChild();
+ while((childPtr != NULL) && (retVal != false))
+ {
+ if( childPtr->NodeType() == EElementNode )
+ {
+ retVal = childPtr->CheckChildren();
+ }
+ childPtr = childPtr->NextSibling();
+ }
+ }
+
+ return retVal;
+ }
+
+
+EXPORT_C TInt CMDXMLElement::FindIndex(const TDesC &aAttName)
+//
+// Find an attribute and return the index of it
+// @param aAttName the string to search for
+// @return returns the index of the string if found or KErrNotFound
+//
+ {
+ TInt index = KErrNotFound;
+
+ if(iDescAttName)
+ {
+ TInt found = 0;
+ found = iDescAttName->Find(aAttName,index);
+ if(found != 0)
+ index = KErrNotFound;
+ }
+
+ return index;
+
+
+ }
+
+
+EXPORT_C TInt CMDXMLElement::AttributeDetails(TInt aIndex, TPtrC& aAttributeName, TPtrC& aAttributeValue)
+//
+// Retrieves the Name and Value of an attribute at a given index
+// @param aIndex the array index of the element for which details are required
+// @param aAttributeName the attribute name returned
+// @param aAttributeValue the attribute value returned
+// @return returns KErrNone if index is valid else KErrNotFound
+//
+
+ {
+ TInt error = KErrNone;
+ if (iDescAttName->Count() < aIndex)
+ error = KErrNotFound;
+ else
+ {
+ aAttributeValue.Set(iDescAttValue->MdcaPoint(aIndex));
+ aAttributeName.Set(iDescAttName->MdcaPoint(aIndex));
+ }
+ return error;
+ }
+
+
+
+EXPORT_C TInt CMDXMLElement::NumAttributes()
+//
+// Retrieves the Number od Attributes that this element has
+// @return returns the number of attributes held by the element
+//
+ {
+ return iDescAttName->Count();
+ }
+
+
+EXPORT_C CMDXMLElement* CMDXMLElement::FirstChildOfType(const TDesC& aElementType)
+// @return Returns a pointer to the first child of a given type if any, otherwise returns NULL
+// @param aElementType Name of element type to return
+ {
+ CMDXMLElement* retVal = NULL;
+ CMDXMLNode* nodePtr = FirstChild();
+ while((nodePtr != NULL) && (nodePtr->NodeName()).Compare(aElementType) != 0)
+ {
+ nodePtr = nodePtr->NextSibling();
+ }
+ if( nodePtr != NULL )
+ {
+ retVal = (CMDXMLElement*)nodePtr;
+ }
+ return retVal;
+
+ }
+
+EXPORT_C CMDXMLElement* CMDXMLElement::LastChildOfType(const TDesC& aElementType)
+// @return Returns a pointer to the last child of a given type if any, otherwise returns NULL
+// @param aElementType Name of element type to return
+
+ {
+ CMDXMLElement* retVal = NULL;
+ CMDXMLNode* nodePtr = LastChild();
+ while((nodePtr != NULL) && (nodePtr->NodeName()).Compare(aElementType) != 0)
+ {
+ nodePtr = nodePtr->PreviousSibling();
+ }
+ if( nodePtr != NULL )
+ {
+ retVal = (CMDXMLElement*)nodePtr;
+ }
+ return retVal;
+ }
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlnode.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,399 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLNode.CPP
+// @file
+// This file contains the implementation of the CMDXMLNode class which
+// is the base class for the Mini-DOM.
+// This class forms the basis for the Mini-DOM. It is a
+// pure abstract class and it's sole concern is the node
+// type and name and the management of the list of child
+// nodes.
+// The node name and type are set in the constructor and
+// cannot be changed thereafter.
+// The list of child nodes is managed as a doubly-linked
+// list, not an array or similar structure. Derived
+// classes which are not allowed children will override the
+// operations to manipulate the child list.
+//
+//
+
+#include <gmxmlnode.h>
+#include <gmxmldomconstants.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+CMDXMLNode::CMDXMLNode( TDOMNodeType aNodeType, TBool aCanHaveChildren, CMDXMLDocument* aOwnerDocument ):
+ iElementType(KXMLUndefinedElement),
+ iNodeType(aNodeType),
+ iCanHaveChildren(aCanHaveChildren)
+//
+// The node type will normally be hard-wired in any derived class constructor.
+// The node name and HaveChildren flag will normally be hard-wired in a derived class constructor unless it
+// covers a generic element.
+// @param aNodeType The tpe of node to be created
+// @param aCanHaveChildren Flag to indicate if the node represents a node which is allowed children
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+//
+ {
+ iOwnerDocument = aOwnerDocument;
+ }
+
+EXPORT_C CMDXMLNode::~CMDXMLNode()
+//
+// When this node is deleted it will links its previous and next siblings across the gap, will
+// delete all of its children and will correct its parents first and last child pointers if necessary.
+//
+ {
+ // Perform housekeeping on parent and siblings - shouldn't be necessary as the links to
+ // this element should have been removed first or we are in a tree delete but
+ // let's be helpful anyway.
+ if((iNextSiblingPtr != NULL) && (iNextSiblingPtr->iPrevSiblingPtr == this))
+ {
+ iNextSiblingPtr->iPrevSiblingPtr = iPrevSiblingPtr;
+ }
+ if((iPrevSiblingPtr != NULL) && (iPrevSiblingPtr->iNextSiblingPtr == this))
+ {
+ iPrevSiblingPtr->iNextSiblingPtr = iNextSiblingPtr;
+ }
+ if( iParentPtr != NULL )
+ {
+ if(iParentPtr->iFirstChildPtr == this)
+ {
+ iParentPtr->iFirstChildPtr = iNextSiblingPtr;
+ }
+ if(iParentPtr->iLastChildPtr == this)
+ {
+ iParentPtr->iLastChildPtr = iPrevSiblingPtr;
+ }
+ }
+
+ // Delete all children
+ CMDXMLNode* childToDelete;
+ CMDXMLNode* nextChild;
+ childToDelete = iFirstChildPtr;
+ while( childToDelete != NULL )
+ {
+ nextChild = childToDelete->iNextSiblingPtr;
+ delete childToDelete;
+ childToDelete = nextChild;
+ }
+
+ delete iNodeName;
+ iNodeName = NULL;
+ }
+
+EXPORT_C void CMDXMLNode::SetNodeNameL( const TDesC& aNodeName)
+//
+// @param aNodeName The name of the node.
+// @leave Can Leave due to OOM
+//
+ {
+ iNodeName = HBufC::NewMaxL(aNodeName.Length());
+ TPtr nodeAccess = iNodeName->Des();
+ nodeAccess = aNodeName;
+ }
+
+EXPORT_C TPtrC CMDXMLNode::NodeName()
+//
+// @return Returns the name of the node
+//
+ {
+ TPtrC retVal = iNodeName->Des();
+ return retVal;
+ }
+
+
+EXPORT_C CMDXMLNode* CMDXMLNode::PreviousSameTypeSibling()
+//
+// @return Returns a pointer to the previous sibling node of the same type if any,
+// oherwise returns NULL
+//
+ {
+ CMDXMLNode* nodePtr = iPrevSiblingPtr;
+ while((nodePtr != NULL) && nodePtr->iElementType != iElementType)
+ {
+ nodePtr = nodePtr->iPrevSiblingPtr;
+ }
+ return nodePtr;
+ }
+
+EXPORT_C CMDXMLNode* CMDXMLNode::NextSameTypeSibling()
+//
+// @return Returns a pointer to the next sibling node of the same type if any,
+// oherwise returns NULL
+//
+ {
+ CMDXMLNode* nodePtr = iNextSiblingPtr;
+ while((nodePtr != NULL) && nodePtr->iElementType != iElementType)
+ {
+ nodePtr = nodePtr->iNextSiblingPtr;
+ }
+ return nodePtr;
+ }
+
+EXPORT_C TInt CMDXMLNode::RemoveChild(CMDXMLNode* aChildToRemove)
+//
+// Removes a child from the list of child nodes. The child node is not deleted - that is the responsibility of the caller
+// @param aChildToRemove Pointer to child to remove from the list
+// @return Returns KERRNone if sucessful or KErrNotFound if the referenced child node is not found
+//
+ {
+ TInt retVal=KErrNone;
+
+ if(aChildToRemove == NULL)
+ {
+ retVal = KErrNotFound;
+ }
+ else if( !iCanHaveChildren )
+ {
+ retVal = KErrXMLInvalidChild;
+ }
+ else if( aChildToRemove->iParentPtr != this )
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ {
+ if(iFirstChildPtr == NULL)
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ {
+ if( aChildToRemove == iFirstChildPtr)
+ {
+ if( aChildToRemove == iLastChildPtr )
+ { // Only child so just zero pointers
+ iFirstChildPtr = NULL;
+ iLastChildPtr = NULL;
+ }
+ else
+ { // First but not only child
+ iFirstChildPtr->iNextSiblingPtr->iPrevSiblingPtr = NULL;
+ iFirstChildPtr = iFirstChildPtr->iNextSiblingPtr;
+ }
+ }
+ else if( aChildToRemove == iLastChildPtr )
+ { // Last but not only child
+ iLastChildPtr->iPrevSiblingPtr->iNextSiblingPtr = NULL;
+ iLastChildPtr = iLastChildPtr->iPrevSiblingPtr;
+ }
+ else
+ { // Not first or last so somewhere in the list
+ CMDXMLNode* nodeBefore = iFirstChildPtr;
+ while((nodeBefore->iNextSiblingPtr != NULL) &&
+ (nodeBefore->iNextSiblingPtr != aChildToRemove))
+ {
+ nodeBefore = nodeBefore->iNextSiblingPtr;
+ }
+ if( nodeBefore->iNextSiblingPtr != aChildToRemove )
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ {
+ nodeBefore->iNextSiblingPtr = aChildToRemove->iNextSiblingPtr;
+ aChildToRemove->iNextSiblingPtr->iPrevSiblingPtr = nodeBefore;
+ }
+ }
+ }
+ }//end if
+
+ if( retVal == KErrNone )
+ { // Having cleared this node off the list, clear its own pointers
+ aChildToRemove->iPrevSiblingPtr = NULL;
+ aChildToRemove->iNextSiblingPtr = NULL;
+ aChildToRemove->iParentPtr = NULL;
+ }
+ return retVal;
+ }
+
+EXPORT_C TInt CMDXMLNode::InsertBefore(CMDXMLNode* aInsertBeforeChild, CMDXMLNode* aChildToInsert)
+//
+// Inserts a new child node at a specific point in the child list.
+// @param aInsertBeforeChild Pointer to the element before which the new child should be inserted (NULL to insert at the start of the list)
+// @param aChildToInsert Pointer to the new child node to insert.
+// @return Returns KErrNone if successful, KErrXMLInvalidChild if the node cannot have children or KErrNotFound if it cannot fnd the child before which to insert
+//
+ {
+ TInt retVal = KErrNone;
+
+ if(aChildToInsert == NULL)
+ {
+ retVal = KErrNotSupported;
+ }
+ else if( !iCanHaveChildren )
+ {
+ retVal = KErrXMLInvalidChild ;
+ }
+ else if(iFirstChildPtr == NULL && aInsertBeforeChild != NULL)
+ {
+ retVal = KErrNotFound;
+ }
+ else if((aInsertBeforeChild == NULL) || (aInsertBeforeChild == iFirstChildPtr))
+ { // Insert at start of list
+ aChildToInsert->iParentPtr = this;
+ if(iFirstChildPtr != NULL)
+ {
+ iFirstChildPtr->iPrevSiblingPtr = aChildToInsert;
+ aChildToInsert->iNextSiblingPtr = iFirstChildPtr;
+ }
+ else
+ {
+ iLastChildPtr = aChildToInsert;
+ aChildToInsert->iNextSiblingPtr = NULL;
+ }
+ iFirstChildPtr = aChildToInsert;
+ }
+ else
+ { // Find the insert before child as a check.
+ CMDXMLNode* nodeBefore = iFirstChildPtr;
+ while((nodeBefore->iNextSiblingPtr != NULL) &&
+ (nodeBefore->iNextSiblingPtr != aInsertBeforeChild))
+ {
+ nodeBefore = nodeBefore->iNextSiblingPtr;
+ }
+ if( nodeBefore->iNextSiblingPtr != aInsertBeforeChild )
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ {
+ aChildToInsert->iParentPtr = this;
+ aChildToInsert->iNextSiblingPtr = nodeBefore->iNextSiblingPtr;
+ aChildToInsert->iPrevSiblingPtr = nodeBefore;
+ nodeBefore->iNextSiblingPtr = aChildToInsert;
+ aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
+ }
+ }
+ return retVal;
+ }
+
+EXPORT_C TInt CMDXMLNode::AppendChild(CMDXMLNode* aChildToInsert)
+//
+// Appends a new child at the end of the child list.
+// @param aChildToInsert Pointer to the new child node to append.
+// @return Returns KErrNone if successful or KErrXMLInvalidChild if the node cannot have children
+//
+ {
+ TInt retVal = KErrNone;
+
+ if(aChildToInsert == NULL)
+ {
+ retVal = KErrNotSupported;
+ }
+ else if( !iCanHaveChildren )
+ {
+ retVal = KErrXMLInvalidChild;
+ }
+ else
+ {
+ if(iFirstChildPtr == NULL)
+ {
+ iFirstChildPtr = aChildToInsert;
+ }
+
+ if(iLastChildPtr != NULL)
+ {
+ iLastChildPtr->iNextSiblingPtr = aChildToInsert;
+ }
+
+ aChildToInsert->iPrevSiblingPtr = iLastChildPtr;
+ iLastChildPtr = aChildToInsert;
+ aChildToInsert->iParentPtr = this;
+ }
+ return retVal;
+ }
+
+EXPORT_C TInt CMDXMLNode::ReplaceChild(CMDXMLNode* aChildToInsert, CMDXMLNode* aChildToReplace)
+//
+// Inserts a new child node while removing an existing one. The old child is not deleted.
+// @param aChildToInsert Pointer to the new child node to insert.
+// @param aChildToReplace Pointer to the child node to be replaced.
+// @return Returns KErrNone if successful, KErrXMLInvalidChild if the node cannot have children or KErrNotFound if it cannot fnd the child to replace.
+//
+ {
+ TInt retVal = KErrNone;
+
+ if(aChildToInsert == NULL)
+ {
+ retVal = KErrNotSupported;
+ }
+ else if(aChildToReplace == NULL)
+ {
+ retVal = KErrNotFound;
+ }
+ else if( !iCanHaveChildren )
+ {
+ retVal = KErrXMLInvalidChild ;
+ }
+ else
+ {
+ if((aChildToReplace == iFirstChildPtr) && (aChildToReplace == iLastChildPtr))
+ { // Replace only child
+ iFirstChildPtr = aChildToInsert;
+ iLastChildPtr = aChildToInsert;
+ }
+ else if(aChildToReplace == iFirstChildPtr)
+ { // Replace first but not only
+ aChildToInsert->iNextSiblingPtr = iFirstChildPtr->iNextSiblingPtr;
+ aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
+ iFirstChildPtr = aChildToInsert;
+ }
+ else if(aChildToReplace == iLastChildPtr)
+ { // Replace Last but not only
+ aChildToInsert->iPrevSiblingPtr = iLastChildPtr->iPrevSiblingPtr;
+ aChildToInsert->iPrevSiblingPtr->iNextSiblingPtr = aChildToInsert;
+ iLastChildPtr = aChildToInsert;
+ }
+ else if(iFirstChildPtr != NULL)
+ { // Replace in the middle of the list
+ CMDXMLNode* nodeBefore = iFirstChildPtr;
+ while((nodeBefore->iNextSiblingPtr != NULL) &&
+ (nodeBefore->iNextSiblingPtr != aChildToReplace))
+ {
+ nodeBefore = nodeBefore->iNextSiblingPtr;
+ }
+ if( nodeBefore->iNextSiblingPtr != aChildToReplace )
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ { // found so just cross link
+ aChildToInsert->iNextSiblingPtr = aChildToReplace->iNextSiblingPtr;
+ aChildToInsert->iPrevSiblingPtr = aChildToReplace->iPrevSiblingPtr;
+ aChildToInsert->iPrevSiblingPtr->iNextSiblingPtr = aChildToInsert;
+ aChildToInsert->iNextSiblingPtr->iPrevSiblingPtr = aChildToInsert;
+ }
+ }
+ else
+ {
+ retVal = KErrNotFound;
+ }
+ }
+
+ if( retVal == KErrNone )
+ { // Clear out the replaced node
+ aChildToReplace->iPrevSiblingPtr = NULL;
+ aChildToReplace->iNextSiblingPtr = NULL;
+ aChildToReplace->iParentPtr = NULL;
+ // Point the new child at its parent
+ aChildToInsert->iParentPtr = this;
+ }
+ return retVal;
+ }
+
+// End Of File
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmlprocessinginstruction.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,73 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLProcessingInstruction.cpp
+// @file
+// This class represents a CDATA section of an XML file -
+// basically it is a chunk of text which has a place in the
+// object tree but has no children.
+//
+//
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlcharacterdata.h>
+#include <gmxmlprocessinginstruction.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+EXPORT_C CMDXMLProcessingInstruction* CMDXMLProcessingInstruction::NewLC( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMProcessingInstruction
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLProcessingInstruction* secPtr = new(ELeave) CMDXMLProcessingInstruction( aOwnerDocument );
+ CleanupStack::PushL( secPtr );
+ const TDesC& nodeName = KXMLProcessingInstructionNodeName;
+ secPtr->SetNodeNameL( nodeName );
+ return secPtr;
+ }
+
+EXPORT_C CMDXMLProcessingInstruction* CMDXMLProcessingInstruction::NewL( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLElement
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLProcessingInstruction* secPtr = CMDXMLProcessingInstruction::NewLC( aOwnerDocument );
+ CleanupStack::Pop(1); // secPtr
+ return secPtr;
+ }
+
+CMDXMLProcessingInstruction::CMDXMLProcessingInstruction( CMDXMLDocument* aOwnerDocument ):
+CMDXMLCharacterData( EProcessingInstructionNode, aOwnerDocument)
+//
+// Constructor
+// @param aOwnerDocument The document at the root of the DOM tree
+//
+ {
+ }
+
+EXPORT_C CMDXMLProcessingInstruction::~CMDXMLProcessingInstruction()
+ {
+ }
+
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmldom/src/gmxmltext.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,75 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLText.cpp
+// @file
+// This class represents a text section of an XML file -
+// basically it is a chunk of text which has a place in the
+// object tree but has no children.
+//
+//
+
+#include <f32file.h>
+
+#include <gmxmldomconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmlcharacterdata.h>
+#include <gmxmltext.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+EXPORT_C CMDXMLText* CMDXMLText::NewLC( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLText
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLText* secPtr = new(ELeave) CMDXMLText( aOwnerDocument );
+ CleanupStack::PushL( secPtr );
+ const TDesC& nodeName = KXMLTextNodeName;
+ secPtr->SetNodeNameL( nodeName );
+ return secPtr;
+ }
+
+EXPORT_C CMDXMLText* CMDXMLText::NewL( CMDXMLDocument* aOwnerDocument )
+//
+// Two phase constructor
+// @param aOwnerDocument Pointer to the document at the root of the DOM tree
+// @return Created CMDXMLText
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLText* secPtr = CMDXMLText::NewLC( aOwnerDocument );
+ CleanupStack::Pop(1); // secPtr
+ return secPtr;
+ }
+
+CMDXMLText::CMDXMLText( CMDXMLDocument* aOwnerDocument ):
+CMDXMLCharacterData( ETextNode, aOwnerDocument)
+//
+// Constructor
+// @param aOwnerDocument The document at the root of the DOM tree
+//
+ {
+ }
+
+EXPORT_C CMDXMLText::~CMDXMLText()
+ {
+ }
+
+
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bmarm/V2_XMLPARSERU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,48 @@
+EXPORTS
+ __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
+ ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
+ ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
+ DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
+ DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
+ DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
+ E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
+ OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
+ OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
+ OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
+ OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
+ ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
+ RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
+ RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
+ PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
+ SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
+ "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
+ "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
+ "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
+ PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
+ PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
+ PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
+ Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
+ Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
+ EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
+ CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
+ OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
+ SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
+ SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
+ ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
+ ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
+ ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
+ SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+ SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bmarm/XMLPARSERU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,48 @@
+EXPORTS
+ __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
+ ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
+ ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
+ DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
+ DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
+ DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
+ E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ; E32Dll(TDllReason)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
+ OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
+ OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
+ OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
+ OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
+ ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
+ RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
+ RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
+ PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
+ SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
+ "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
+ "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
+ "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
+ PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
+ PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
+ PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
+ Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
+ Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
+ EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
+ CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
+ OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
+ SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
+ SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
+ ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
+ ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
+ ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
+ SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+ SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bmarm/v1.5_xmlparserU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,48 @@
+EXPORTS
+ __21CMDXMLEntityConverter @ 1 NONAME R3UNUSED ; CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ComposeEndTagL__14CMDXMLComposerR10CMDXMLNode @ 2 NONAME R3UNUSED ; CMDXMLComposer::ComposeEndTagL(CMDXMLNode &)
+ ComposeFile__14CMDXMLComposerG3RFsRC7TDesC16P14CMDXMLDocument12TXMLFileType @ 3 NONAME ; CMDXMLComposer::ComposeFile(RFs, TDesC16 const &, CMDXMLDocument *, TXMLFileType)
+ ComposeStartTagL__14CMDXMLComposerR10CMDXMLNode @ 4 NONAME R3UNUSED ; CMDXMLComposer::ComposeStartTagL(CMDXMLNode &)
+ DetachXMLDoc__12CMDXMLParser @ 5 NONAME R3UNUSED ; CMDXMLParser::DetachXMLDoc(void)
+ DoCancel__12CMDXMLParser @ 6 NONAME R3UNUSED ; CMDXMLParser::DoCancel(void)
+ DoCancel__14CMDXMLComposer @ 7 NONAME R3UNUSED ; CMDXMLComposer::DoCancel(void)
+ E32Dll__F10TDllReason @ 8 NONAME R3UNUSED ABSENT ; E32Dll(TDllReason)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserver @ 9 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *)
+ NewLC__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 10 NONAME R3UNUSED ; CMDXMLParser::NewLC(MMDXMLParserObserver *, MXMLDtd *)
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserver @ 11 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserver @ 12 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *)
+ NewL__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME R3UNUSED ; CMDXMLParser::NewL(MMDXMLParserObserver *, MXMLDtd *)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserver @ 14 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *)
+ OutputAttributeL__14CMDXMLComposerRC7TDesC16T1 @ 15 NONAME R3UNUSED ; CMDXMLComposer::OutputAttributeL(TDesC16 const &, TDesC16 const &)
+ OutputComposedTextL__21CMDXMLEntityConverterP14CMDXMLComposerRC7TDesC16 @ 16 NONAME R3UNUSED ; CMDXMLEntityConverter::OutputComposedTextL(CMDXMLComposer *, TDesC16 const &)
+ OutputEndOfElementTagL__14CMDXMLComposeri @ 17 NONAME R3UNUSED ; CMDXMLComposer::OutputEndOfElementTagL(int)
+ OutputStartOfElementTagL__14CMDXMLComposerRC7TDesC16 @ 18 NONAME R3UNUSED ; CMDXMLComposer::OutputStartOfElementTagL(TDesC16 const &)
+ ParseFile__12CMDXMLParserG3RFsRC7TDesC16 @ 19 NONAME R3UNUSED ; CMDXMLParser::ParseFile(RFs, TDesC16 const &)
+ RunError__12CMDXMLParseri @ 20 NONAME R3UNUSED ; CMDXMLParser::RunError(int)
+ RunError__14CMDXMLComposeri @ 21 NONAME R3UNUSED ; CMDXMLComposer::RunError(int)
+ PlaceholderForRemovedExport3__14CMDXMLComposer @ 22 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ SetError__12CMDXMLParseri21TXMLErrorCodeSeverity @ 23 NONAME R3UNUSED ; CMDXMLParser::SetError(int, TXMLErrorCodeSeverity)
+ SetError__14CMDXMLComposeri21TXMLErrorCodeSeverity @ 24 NONAME R3UNUSED ; CMDXMLComposer::SetError(int, TXMLErrorCodeSeverity)
+ "_._12CMDXMLParser" @ 25 NONAME R3UNUSED ; CMDXMLParser::~CMDXMLParser(void)
+ "_._14CMDXMLComposer" @ 26 NONAME R3UNUSED ; CMDXMLComposer::~CMDXMLComposer(void)
+ "_._21CMDXMLEntityConverter" @ 27 NONAME R3UNUSED ; CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ PlaceholderForRemovedExport1__12CMDXMLParserP20MMDXMLParserObserver @ 28 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver *)
+ PlaceholderForRemovedExport2__12CMDXMLParserP20MMDXMLParserObserverP7MXMLDtd @ 29 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver *, MXMLDtd *)
+ PlaceholderForRemovedExport1__14CMDXMLComposerP22MMDXMLComposerObserver @ 30 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver *)
+ PlaceholderForRemovedExport2__14CMDXMLComposer @ 31 NONAME R3UNUSED ; CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ PlaceholderForRemovedExport3__12CMDXMLParser @ 32 NONAME R3UNUSED ; CMDXMLParser::PlaceholderForRemovedExport3(void)
+ Error__C12CMDXMLParser @ 33 NONAME R3UNUSED ; CMDXMLParser::Error(void) const
+ Error__C14CMDXMLComposer @ 34 NONAME R3UNUSED ; CMDXMLComposer::Error(void) const
+ EntityConverter__C14CMDXMLComposer @ 35 NONAME R3UNUSED ; CMDXMLComposer::EntityConverter(void) const
+ NewLC__14CMDXMLComposerP22MMDXMLComposerObserveri @ 36 NONAME R3UNUSED ; CMDXMLComposer::NewLC(MMDXMLComposerObserver *, int)
+ NewL__14CMDXMLComposerP22MMDXMLComposerObserveri @ 37 NONAME R3UNUSED ; CMDXMLComposer::NewL(MMDXMLComposerObserver *, int)
+ CalculateFileSize__14CMDXMLComposerRiP14CMDXMLDocument12TXMLFileType @ 38 NONAME ; CMDXMLComposer::CalculateFileSize(int &, CMDXMLDocument *, TXMLFileType)
+ OutputDataL__14CMDXMLComposerRC7TDesC16 @ 39 NONAME R3UNUSED ; CMDXMLComposer::OutputDataL(TDesC16 const &)
+ SetEntityConverter__12CMDXMLParserP21CMDXMLEntityConverter @ 40 NONAME R3UNUSED ; CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter *)
+ SetEntityConverter__14CMDXMLComposerP21CMDXMLEntityConverter @ 41 NONAME R3UNUSED ; CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter *)
+ ErrorSeverity__C12CMDXMLParser @ 42 NONAME R3UNUSED ; CMDXMLParser::ErrorSeverity(void) const
+ ErrorSeverity__C14CMDXMLComposer @ 43 NONAME R3UNUSED ; CMDXMLComposer::ErrorSeverity(void) const
+ ParseSource__12CMDXMLParserP24MMDXMLParserDataProvider @ 44 NONAME R3UNUSED ; CMDXMLParser::ParseSource(MMDXMLParserDataProvider *)
+ SetSourceCharacterWidth__12CMDXMLParserQ212CMDXMLParser26TMDXMLParserInputCharWidth @ 45 NONAME R3UNUSED ; CMDXMLParser::SetSourceCharacterWidth(CMDXMLParser::TMDXMLParserInputCharWidth) SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+ SetStoreInvalid__12CMDXMLParseri @ 46 NONAME R3UNUSED ; CMDXMLParser::SetStoreInvalid(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bwins/V2_XMLPARSERU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,51 @@
+EXPORTS
+ ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
+ ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
+ ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
+ ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
+ ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
+ ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
+ ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
+ ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
+ ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
+ ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
+ ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
+ ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
+ ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
+ ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
+ ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
+ ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
+ ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
+ ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
+ ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
+ ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
+ ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
+ ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
+ ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
+ ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
+ ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
+ ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
+ ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
+ ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
+ ?ParseSourceL@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; void CMDXMLParser::ParseSourceL(class MMDXMLParserDataProvider *)
+ ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
+ ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
+ ?ComposeFile@CMDXMLComposer@@QAEHAAVRFile@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 47 NONAME ; int CMDXMLComposer::ComposeFile(class RFile &, class CMDXMLDocument *, enum TXMLFileType)
+ ?ParseFile@CMDXMLParser@@QAEHAAVRFile@@@Z @ 48 NONAME ; int CMDXMLParser::ParseFile(class RFile &)
+ ?SetWhiteSpaceHandlingMode@CMDXMLParser@@QAEXH@Z @ 49 NONAME ; void CMDXMLParser::SetWhiteSpaceHandlingMode(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bwins/XMLPARSERU.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,48 @@
+EXPORTS
+ ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
+ ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
+ ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
+ ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
+ ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
+ ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
+ ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
+ ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
+ ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
+ ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
+ ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
+ ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ; int __cdecl E32Dll(enum TDllReason)
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
+ ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
+ ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
+ ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
+ ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
+ ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
+ ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
+ ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
+ ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
+ ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
+ ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
+ ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
+ ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
+ ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
+ ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
+ ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
+ ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
+ ?ParseSource@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; public: void __thiscall CMDXMLParser::ParseSource(class MMDXMLParserDataProvider *)
+ ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
+ ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/bwins/v1.5_xmlparserU.def Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,48 @@
+EXPORTS
+ ?PlaceholderForRemovedExport1@CMDXMLComposer@@AAEXPAVMMDXMLComposerObserver@@@Z @ 1 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport1(class MMDXMLComposerObserver *)
+ ??0CMDXMLEntityConverter@@QAE@XZ @ 2 NONAME ; public: __thiscall CMDXMLEntityConverter::CMDXMLEntityConverter(void)
+ ?PlaceholderForRemovedExport1@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@@Z @ 3 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport1(class MMDXMLParserObserver *)
+ ?PlaceholderForRemovedExport2@CMDXMLParser@@AAEXPAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 4 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport2(class MMDXMLParserObserver *,class MXMLDtd *)
+ ??1CMDXMLComposer@@UAE@XZ @ 5 NONAME ; public: virtual __thiscall CMDXMLComposer::~CMDXMLComposer(void)
+ ??1CMDXMLEntityConverter@@UAE@XZ @ 6 NONAME ; public: virtual __thiscall CMDXMLEntityConverter::~CMDXMLEntityConverter(void)
+ ??1CMDXMLParser@@UAE@XZ @ 7 NONAME ; public: virtual __thiscall CMDXMLParser::~CMDXMLParser(void)
+ ?PlaceholderForRemovedExport2@CMDXMLComposer@@AAEXXZ @ 8 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport2(void)
+ ?ComposeEndTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 9 NONAME ; private: int __thiscall CMDXMLComposer::ComposeEndTagL(class CMDXMLNode &)
+ ?ComposeFile@CMDXMLComposer@@QAEHVRFs@@ABVTDesC16@@PAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 10 NONAME ; public: int __thiscall CMDXMLComposer::ComposeFile(class RFs,class TDesC16 const &,class CMDXMLDocument *,enum TXMLFileType)
+ ?ComposeStartTagL@CMDXMLComposer@@AAEHAAVCMDXMLNode@@@Z @ 11 NONAME ; private: int __thiscall CMDXMLComposer::ComposeStartTagL(class CMDXMLNode &)
+ ?DetachXMLDoc@CMDXMLParser@@QAEPAVCMDXMLDocument@@XZ @ 12 NONAME ; public: class CMDXMLDocument * __thiscall CMDXMLParser::DetachXMLDoc(void)
+ ?DoCancel@CMDXMLComposer@@EAEXXZ @ 13 NONAME ; private: virtual void __thiscall CMDXMLComposer::DoCancel(void)
+ ?DoCancel@CMDXMLParser@@EAEXXZ @ 14 NONAME ; private: virtual void __thiscall CMDXMLParser::DoCancel(void)
+ ?E32Dll@@YAHW4TDllReason@@@Z @ 15 NONAME ABSENT ; int __cdecl E32Dll(enum TDllReason)
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 16 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 17 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *)
+ ?NewL@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 18 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewL(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@@Z @ 19 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@@Z @ 20 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *)
+ ?NewLC@CMDXMLParser@@SAPAV1@PAVMMDXMLParserObserver@@PAVMXMLDtd@@@Z @ 21 NONAME ; public: static class CMDXMLParser * __cdecl CMDXMLParser::NewLC(class MMDXMLParserObserver *,class MXMLDtd *)
+ ?OutputAttributeL@CMDXMLComposer@@QAEHABVTDesC16@@0@Z @ 22 NONAME ; public: int __thiscall CMDXMLComposer::OutputAttributeL(class TDesC16 const &,class TDesC16 const &)
+ ?OutputComposedTextL@CMDXMLEntityConverter@@UAEHPAVCMDXMLComposer@@ABVTDesC16@@@Z @ 23 NONAME ; public: virtual int __thiscall CMDXMLEntityConverter::OutputComposedTextL(class CMDXMLComposer *,class TDesC16 const &)
+ ?OutputEndOfElementTagL@CMDXMLComposer@@QAEHH@Z @ 24 NONAME ; public: int __thiscall CMDXMLComposer::OutputEndOfElementTagL(int)
+ ?OutputStartOfElementTagL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 25 NONAME ; public: int __thiscall CMDXMLComposer::OutputStartOfElementTagL(class TDesC16 const &)
+ ?ParseFile@CMDXMLParser@@QAEHVRFs@@ABVTDesC16@@@Z @ 26 NONAME ; public: int __thiscall CMDXMLParser::ParseFile(class RFs,class TDesC16 const &)
+ ?RunError@CMDXMLComposer@@EAEHH@Z @ 27 NONAME ; private: virtual int __thiscall CMDXMLComposer::RunError(int)
+ ?RunError@CMDXMLParser@@EAEHH@Z @ 28 NONAME ; private: virtual int __thiscall CMDXMLParser::RunError(int)
+ ?PlaceholderForRemovedExport3@CMDXMLComposer@@AAEXXZ @ 29 NONAME ; private: void __thiscall CMDXMLComposer::PlaceholderForRemovedExport3(void)
+ ?PlaceholderForRemovedExport3@CMDXMLParser@@AAEXXZ @ 30 NONAME ; private: void __thiscall CMDXMLParser::PlaceholderForRemovedExport3(void)
+ ?SetError@CMDXMLComposer@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 31 NONAME ; private: void __thiscall CMDXMLComposer::SetError(int,enum TXMLErrorCodeSeverity)
+ ?SetError@CMDXMLParser@@AAEXHW4TXMLErrorCodeSeverity@@@Z @ 32 NONAME ; private: void __thiscall CMDXMLParser::SetError(int,enum TXMLErrorCodeSeverity)
+ ?Error@CMDXMLComposer@@QBEHXZ @ 33 NONAME ; int CMDXMLComposer::Error(void) const
+ ?Error@CMDXMLParser@@QBEHXZ @ 34 NONAME ; int CMDXMLParser::Error(void) const
+ ?EntityConverter@CMDXMLComposer@@QBEPAVCMDXMLEntityConverter@@XZ @ 35 NONAME ; public: class CMDXMLEntityConverter * __thiscall CMDXMLComposer::EntityConverter(void)const
+ ?NewL@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 36 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewL(class MMDXMLComposerObserver *,int)
+ ?NewLC@CMDXMLComposer@@SAPAV1@PAVMMDXMLComposerObserver@@H@Z @ 37 NONAME ; public: static class CMDXMLComposer * __cdecl CMDXMLComposer::NewLC(class MMDXMLComposerObserver *,int)
+ ?CalculateFileSize@CMDXMLComposer@@QAEHAAHPAVCMDXMLDocument@@W4TXMLFileType@@@Z @ 38 NONAME ; public: int __thiscall CMDXMLComposer::CalculateFileSize(int &,class CMDXMLDocument *,enum TXMLFileType)
+ ?OutputDataL@CMDXMLComposer@@QAEHABVTDesC16@@@Z @ 39 NONAME ; public: int __thiscall CMDXMLComposer::OutputDataL(class TDesC16 const &)
+ ?SetEntityConverter@CMDXMLComposer@@QAEXPAVCMDXMLEntityConverter@@@Z @ 40 NONAME ; public: void __thiscall CMDXMLComposer::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?SetEntityConverter@CMDXMLParser@@QAEXPAVCMDXMLEntityConverter@@@Z @ 41 NONAME ; public: void __thiscall CMDXMLParser::SetEntityConverter(class CMDXMLEntityConverter *)
+ ?ErrorSeverity@CMDXMLComposer@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 42 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLComposer::ErrorSeverity(void)const
+ ?ErrorSeverity@CMDXMLParser@@QBE?AW4TXMLErrorCodeSeverity@@XZ @ 43 NONAME ; public: enum TXMLErrorCodeSeverity __thiscall CMDXMLParser::ErrorSeverity(void)const
+ ?ParseSource@CMDXMLParser@@QAEXPAVMMDXMLParserDataProvider@@@Z @ 44 NONAME ; public: void __thiscall CMDXMLParser::ParseSource(class MMDXMLParserDataProvider *)
+ ?SetSourceCharacterWidth@CMDXMLParser@@QAEXW4TMDXMLParserInputCharWidth@1@@Z @ 45 NONAME ; public: void __thiscall CMDXMLParser::SetSourceCharacterWidth(enum CMDXMLParser::TMDXMLParserInputCharWidth)
+ ?SetStoreInvalid@CMDXMLParser@@QAEXH@Z @ 46 NONAME ; void CMDXMLParser::SetStoreInvalid(int)
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/eabi/v1.5_xmlparseru.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,63 @@
+EXPORTS
+ _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
+ _ZN12CMDXMLParser11ParseSourceEP24MMDXMLParserDataProvider @ 2 NONAME
+ _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
+ _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
+ _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
+ _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
+ _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
+ _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
+ _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
+ _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
+ _ZN12CMDXMLParserD0Ev @ 18 NONAME
+ _ZN12CMDXMLParserD1Ev @ 19 NONAME
+ _ZN12CMDXMLParserD2Ev @ 20 NONAME
+ _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
+ _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
+ _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
+ _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
+ _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
+ _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
+ _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
+ _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
+ _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
+ _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
+ _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
+ _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
+ _ZN14CMDXMLComposerD0Ev @ 40 NONAME
+ _ZN14CMDXMLComposerD1Ev @ 41 NONAME
+ _ZN14CMDXMLComposerD2Ev @ 42 NONAME
+ _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
+ _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
+ _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
+ _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
+ _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
+ _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
+ _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
+ _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
+ _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
+ _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
+ _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
+ _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
+ _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
+ _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
+ _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
+ _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
+ _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
+ _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
+ _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/eabi/v2_xmlparseru.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,66 @@
+EXPORTS
+ _Z6E32Dll10TDllReason @ 1 NONAME ABSENT
+ _ZN12CMDXMLParser12ParseSourceLEP24MMDXMLParserDataProvider @ 2 NONAME
+ _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
+ _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
+ _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
+ _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
+ _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
+ _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
+ _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
+ _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
+ _ZN12CMDXMLParserD0Ev @ 18 NONAME
+ _ZN12CMDXMLParserD1Ev @ 19 NONAME
+ _ZN12CMDXMLParserD2Ev @ 20 NONAME
+ _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
+ _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
+ _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
+ _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
+ _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
+ _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
+ _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
+ _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
+ _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
+ _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
+ _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
+ _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
+ _ZN14CMDXMLComposerD0Ev @ 40 NONAME
+ _ZN14CMDXMLComposerD1Ev @ 41 NONAME
+ _ZN14CMDXMLComposerD2Ev @ 42 NONAME
+ _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
+ _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
+ _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
+ _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
+ _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
+ _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
+ _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
+ _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
+ _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
+ _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
+ _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
+ _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
+ _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
+ _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
+ _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
+ _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
+ _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
+ _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
+ _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
+ _ZN12CMDXMLParser9ParseFileER5RFile @ 62 NONAME
+ _ZN14CMDXMLComposer11ComposeFileER5RFileP14CMDXMLDocument12TXMLFileType @ 63 NONAME
+ _ZN12CMDXMLParser25SetWhiteSpaceHandlingModeEi @ 64 NONAME
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/eabi/xmlparseru.DEF Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,63 @@
+EXPORTS
+ _Z6E32Dll10TDllReason @ 1 NONAME
+ _ZN12CMDXMLParser11ParseSourceEP24MMDXMLParserDataProvider @ 2 NONAME
+ _ZN12CMDXMLParser12DetachXMLDocEv @ 3 NONAME
+ _ZN12CMDXMLParser15SetStoreInvalidEi @ 4 NONAME
+ _ZN12CMDXMLParser18SetEntityConverterEP21CMDXMLEntityConverter @ 5 NONAME
+ _ZN12CMDXMLParser23SetSourceCharacterWidthENS_26TMDXMLParserInputCharWidthE @ 6 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport1EP20MMDXMLParserObserver @ 7 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport2EP20MMDXMLParserObserverP7MXMLDtd @ 8 NONAME
+ _ZN12CMDXMLParser28PlaceholderForRemovedExport3Ev @ 9 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserver @ 10 NONAME
+ _ZN12CMDXMLParser4NewLEP20MMDXMLParserObserverP7MXMLDtd @ 11 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserver @ 12 NONAME
+ _ZN12CMDXMLParser5NewLCEP20MMDXMLParserObserverP7MXMLDtd @ 13 NONAME
+ _ZN12CMDXMLParser8DoCancelEv @ 14 NONAME
+ _ZN12CMDXMLParser8RunErrorEi @ 15 NONAME
+ _ZN12CMDXMLParser8SetErrorEi21TXMLErrorCodeSeverity @ 16 NONAME
+ _ZN12CMDXMLParser9ParseFileE3RFsRK7TDesC16 @ 17 NONAME
+ _ZN12CMDXMLParserD0Ev @ 18 NONAME
+ _ZN12CMDXMLParserD1Ev @ 19 NONAME
+ _ZN12CMDXMLParserD2Ev @ 20 NONAME
+ _ZN14CMDXMLComposer11ComposeFileE3RFsRK7TDesC16P14CMDXMLDocument12TXMLFileType @ 21 NONAME
+ _ZN14CMDXMLComposer11OutputDataLERK7TDesC16 @ 22 NONAME
+ _ZN14CMDXMLComposer14ComposeEndTagLER10CMDXMLNode @ 23 NONAME
+ _ZN14CMDXMLComposer16ComposeStartTagLER10CMDXMLNode @ 24 NONAME
+ _ZN14CMDXMLComposer16OutputAttributeLERK7TDesC16S2_ @ 25 NONAME
+ _ZN14CMDXMLComposer17CalculateFileSizeERiP14CMDXMLDocument12TXMLFileType @ 26 NONAME
+ _ZN14CMDXMLComposer18SetEntityConverterEP21CMDXMLEntityConverter @ 27 NONAME
+ _ZN14CMDXMLComposer22OutputEndOfElementTagLEi @ 28 NONAME
+ _ZN14CMDXMLComposer24OutputStartOfElementTagLERK7TDesC16 @ 29 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport1EP22MMDXMLComposerObserver @ 30 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport2Ev @ 31 NONAME
+ _ZN14CMDXMLComposer28PlaceholderForRemovedExport3Ev @ 32 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserver @ 33 NONAME
+ _ZN14CMDXMLComposer4NewLEP22MMDXMLComposerObserveri @ 34 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserver @ 35 NONAME
+ _ZN14CMDXMLComposer5NewLCEP22MMDXMLComposerObserveri @ 36 NONAME
+ _ZN14CMDXMLComposer8DoCancelEv @ 37 NONAME
+ _ZN14CMDXMLComposer8RunErrorEi @ 38 NONAME
+ _ZN14CMDXMLComposer8SetErrorEi21TXMLErrorCodeSeverity @ 39 NONAME
+ _ZN14CMDXMLComposerD0Ev @ 40 NONAME
+ _ZN14CMDXMLComposerD1Ev @ 41 NONAME
+ _ZN14CMDXMLComposerD2Ev @ 42 NONAME
+ _ZN21CMDXMLEntityConverter19OutputComposedTextLEP14CMDXMLComposerRK7TDesC16 @ 43 NONAME
+ _ZN21CMDXMLEntityConverterC1Ev @ 44 NONAME
+ _ZN21CMDXMLEntityConverterC2Ev @ 45 NONAME
+ _ZN21CMDXMLEntityConverterD0Ev @ 46 NONAME
+ _ZN21CMDXMLEntityConverterD1Ev @ 47 NONAME
+ _ZN21CMDXMLEntityConverterD2Ev @ 48 NONAME
+ _ZNK12CMDXMLParser13ErrorSeverityEv @ 49 NONAME
+ _ZNK12CMDXMLParser5ErrorEv @ 50 NONAME
+ _ZNK14CMDXMLComposer13ErrorSeverityEv @ 51 NONAME
+ _ZNK14CMDXMLComposer15EntityConverterEv @ 52 NONAME
+ _ZNK14CMDXMLComposer5ErrorEv @ 53 NONAME
+ _ZTI12CMDXMLParser @ 54 NONAME ; #<TI>#
+ _ZTI14CMDXMLComposer @ 55 NONAME ; #<TI>#
+ _ZTI21CMDXMLEntityConverter @ 56 NONAME ; #<TI>#
+ _ZTV12CMDXMLParser @ 57 NONAME ; #<VT>#
+ _ZTV14CMDXMLComposer @ 58 NONAME ; #<VT>#
+ _ZTV21CMDXMLEntityConverter @ 59 NONAME ; #<VT>#
+ _ZTI26CMDXMLParserFileDataSource @ 60 NONAME ; #<TI>#
+ _ZTV26CMDXMLParserFileDataSource @ 61 NONAME ; #<VT>#
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,28 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_PLATFORMS
+ DEFAULT
+
+PRJ_EXPORTS
+ ../inc/gmxmlcomposer.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlcomposer.h)
+ ../inc/gmxmlparser.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmlparser.h)
+ ../inc/gmxmlconstants.h SYMBIAN_OS_LAYER_PUBLIC_EXPORT_PATH(gmxmlconstants.h)
+ ../inc/gmxmlentityconverter.h SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(gmxmlentityconverter.h)
+
+PRJ_MMPFILES
+ xmlparser.mmp
+
+#include "../test/group/bld.inf"
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/group/xmlparser.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,55 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// xmlparser.dll XML parser
+//
+//
+/**
+ @file
+*/
+
+TARGET xmlparser.dll
+TARGETTYPE dll
+
+CAPABILITY All -TCB
+UID 0x1000008d 0x101F9118
+VENDORID 0x70000001
+
+SOURCEPATH ../SRC
+SOURCE GMXMLComposer.cpp
+SOURCE GMXMLEntityConverter.cpp
+SOURCE GMXMLParser.cpp
+SOURCE GMXMLFileDataSource.cpp
+
+USERINCLUDE ../INC ../../XMLDom/INC
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+
+
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+LIBRARY charconv.lib
+LIBRARY bafl.lib
+LIBRARY xmldom.lib
+
+#ifdef WINSCW
+DEFFILE V2_XMLPARSER.DEF
+#else
+DEFFILE v2_xmlparser.DEF
+#endif
+
+SOURCEPATH ../STRINGS
+START STRINGTABLE XMLEntityReferences.st
+ EXPORTPATH /epoc32/include
+END
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/inc/gmxmlcomposer.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,317 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the generic CMDXMLComposer class
+// which is responsible for creating an XML file
+// from a given DOM structure.
+//
+//
+
+/**
+ @file
+*/
+
+
+#ifndef __GMXMLCOMPOSER_H__
+#define __GMXMLCOMPOSER_H__
+
+#include <e32base.h>
+#include <f32file.h>
+#include <gmxmlconstants.h>
+#include <charconv.h>
+
+//forward reference
+class CMDXMLDocument;
+class CMDXMLEntityConverter;
+class CMDXMLNode;
+
+class MMDXMLComposerObserver
+/** Abstract observer interface for notification when XML composition is complete.
+
+It should be implemented by users of CMDXMLComposer.
+
+@publishedPartner
+@released
+*/
+ {
+public:
+ /**
+ Call back function used to inform a client of the composer that the composer has completed.
+ */
+ virtual void ComposeFileCompleteL() = 0;
+ };
+
+
+class CMDXMLComposer: public CActive
+/** Creates an XML file from a given DOM structure.
+ @publishedPartner
+ @released
+ */
+ {
+public:
+ /** Destructor. */
+ IMPORT_C ~CMDXMLComposer();
+
+ /** Allocates and constructs a new XML composer.
+
+ @param aComposerObserver Composer observer
+ @leave KErrNoMemory Out of memory
+ @return New XML composer */
+ IMPORT_C static CMDXMLComposer* NewL(MMDXMLComposerObserver* aComposerObserver);
+
+ /** Allocates and constructs a new XML composer.
+
+ @param aComposerObserver Composer observer
+ @param aOutputProlog Whether to output Version and Doctype tags.
+ @leave KErrNoMemory Out of memory
+ @return New XML composer */
+ IMPORT_C static CMDXMLComposer* NewL(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
+
+
+ /** Allocates and constructs a new XML composer, leaving the object on the cleanup
+ stack.
+
+ @leave KErrNoMemory Out of memory
+ @param aComposerObserver Composer observer
+ @return New XML composer */
+ IMPORT_C static CMDXMLComposer* NewLC(MMDXMLComposerObserver* aComposerObserver);
+
+ /** Allocates and constructs a new XML composer, leaving the object on the cleanup
+ stack.
+
+ @leave KErrNoMemory Out of memory
+ @param aComposerObserver Composer observer
+ @param aOutputProlog Whether to output Version and Doctype tags.
+ @return New XML composer */
+ IMPORT_C static CMDXMLComposer* NewLC(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
+
+ /** Starts file composition.
+
+ This function must not be called when file sizing is in progress. If it is necessary to calulate
+ the size and generate the XML simultaneously then two instances of the composer should be used,
+ one for sizing and one for composition.
+
+ @param aRFs A file server session
+ @param aFileToCompose Name of the file to create
+ @param aDocument The document object to compose to the file
+ @param aFileType Type of the output file
+ @return KErrNone if successful */
+ IMPORT_C TInt ComposeFile(RFs aRFs, const TDesC& aFileToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType);
+
+ IMPORT_C TInt ComposeFile(RFile& aFileHandleToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType);
+
+ /** Starts calculating the size of the XML output without actually writing it to the file.
+
+ File size calculation is asyncronous, the size value is only updated when ComposeFileComplete
+ is called on the MMDXMLComposerObserver passed in in the NewL.
+
+ This function must not be called when file composition or another sizing operation is
+ in progress. If it is necessary to calulate the size and generate the XML simultaneously
+ then two instances of the composer should be used, one for sizing and one for composition.
+
+ @param aSize Will be set to the size of the XML document when composition has completed.
+ @param aDocument The document object to size
+ @param aFileType Type of the output file, required because it will affect the size of the XML
+ @return KErrNone if successful */
+
+ IMPORT_C TInt CalculateFileSize(TInt& aSize, CMDXMLDocument* aDocument, TXMLFileType aFileType);
+
+ /** Gets the composer's last error.
+
+ @return Error code */
+ IMPORT_C TInt Error() const;
+
+ /**
+ Get the severity of the most severe error found.
+ @return the maximum error severity
+ */
+ IMPORT_C TXMLErrorCodeSeverity ErrorSeverity() const;
+
+ //Defect fix for INC036136 - Enable the use of custom entity converters in GMXML
+ /** Outputs raw data.
+ it's only intended to be used from within a custom entity converter as
+ it relies on a Composer sesssion already being in progress
+
+ @param aData Data to output
+ @return KErrNone if successful, otherwise a file writing error.
+ */
+ IMPORT_C TInt OutputDataL(const TDesC& aData);
+
+ /**
+ * Sets the entity converter to be used
+ * and take ownership of the passed entity converter
+ * @param aEntityConverter The entity converter to be used
+ */
+ IMPORT_C void SetEntityConverter(CMDXMLEntityConverter* aEntityConverter);
+ //End Defect fix for INC036136
+
+public: // public functions used by other classes within the .dll, not for Export.
+ /** Gets the entity converter used by the composer.
+
+ @return The entity converter used by the composer. */
+ IMPORT_C CMDXMLEntityConverter* EntityConverter() const;
+
+ /** Outputs a comment.
+
+ @param aComment Comment to output
+ @return KErrNone if successful, otherwise a file writing error. */
+ TInt OutputCommentL(const TDesC& aComment);
+
+ /** Outputs a processing instruction.
+
+ @param aInstruction Processing instruction text to output
+ @return KErrNone if successful, otherwise a file writing error. */
+ TInt OutputProcessingInstructionL(const TDesC& aInstruction);
+
+ /** Outputs a CDATA section.
+
+ @param aCDataSection CDATA section to output
+ @return KErrNone if successful, otherwise a file writing error. */
+ TInt OutputCDataSectionL(const TDesC& aCDataSection);
+
+
+ /** Outputs a start of element tag.
+
+ @param aElementName The name of the tag to output
+ @return KErrNone if successful, otherwise a file writing error. */
+ IMPORT_C TInt OutputStartOfElementTagL(const TDesC& aElementName);
+
+ /** Outputs an end of element start tag (</).
+
+ @param aHasChildren True if the element has children
+ @return KErrNone if successful, otherwise a file writing error. */
+ IMPORT_C TInt OutputEndOfElementTagL(const TBool aHasChildren);
+
+ /** Output an end of element tag.
+
+ @param aElementName The name of the tag to output
+ @return KErrNone if successful, otherwise a file writing error. */
+ TInt OutputEndTagL(const TDesC& aElementName);
+
+ /** Outputs an attribute name and value.
+
+ @param aAttributeName Attribute name
+ @param aAttributeValue Attribute value
+ @return KErrNone if successful, otherwise a file writing error. */
+ IMPORT_C TInt OutputAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue);
+
+private:
+ /*
+ * BaseConstructL function to be called by dervived classes during their construction
+ */
+ void BaseConstructL();
+
+ /*
+ * RunError function inherited from CActive base class - intercepts any Leave from
+ * the RunL() function, sets an appropriate errorcode and calls ComposeFileCompleteL
+ */
+ IMPORT_C TInt RunError(TInt aError);
+
+ /*
+ * DoCancel function inherited from CActive base class
+ */
+ IMPORT_C virtual void DoCancel();
+
+ /*
+ * RunL function inherited from CActive base class - does the actual composition
+ * @leave can Leave due to OOM
+ */
+ virtual void RunL();
+
+ /*
+ * Function to write string to required file format - handles format conversion
+ * @param aStringToWrite the string to output
+ * @return returns KERRNone if successful or a file write error.
+ */
+ virtual TInt WriteFileL(const TDesC& aStringToWrite);
+
+ /*
+ * Function to flush output string to required file format - handles format conversion
+ * @return returns KERRNone if successful or a file write error.
+ */
+ virtual TInt FlushOutputBufferL();
+
+ /*
+ * Constructor
+ */
+ CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver);
+
+ /*
+ * Constructor
+ */
+ CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog);
+
+
+ /*
+ * Sets iError to new errorcode if more serious than any error so far encountered
+ */
+ IMPORT_C void SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity);
+
+
+ /*
+ * Outputs a start tag for the node which includes the
+ * tag name and all attribute name value pairs currently
+ * specified. If the node is an empty node then it
+ * makes the tag an empty node tag, otherwise it creates
+ * a start tag.
+ * @param aNode The Node for which the start tag is being written
+ * @return Returns KerrNone if successful or a file write error
+ */
+ IMPORT_C TInt ComposeStartTagL(CMDXMLNode& aNode);
+
+ /*
+ * Outputs an end tag for the node.
+ * @param aNode the node for which the tag is being written.
+ * @return Returns KerrNone if successful or a file write error
+ */
+
+
+ IMPORT_C TInt ComposeEndTagL(CMDXMLNode& aNode);
+
+ /*
+ * Second stage constructor
+ * @param aEntityStrings the string table which lists the entity references and conversion
+ */
+ void ConstructL();
+ TInt ComposeL();
+
+ void InitialiseCompose(CMDXMLDocument* aDocument, TXMLFileType aFileType);
+
+ IMPORT_C void PlaceholderForRemovedExport1(MMDXMLComposerObserver* aComposerObserver);
+ IMPORT_C void PlaceholderForRemovedExport2();
+ IMPORT_C void PlaceholderForRemovedExport3();
+ TInt ReplaceXmlCharactersL(const TDesC16& aXmlData, const TDesC& aString);
+
+private:
+ MMDXMLComposerObserver* iComposerObserver;
+ CMDXMLEntityConverter* iEntityConverter; // Entity converter to use
+ CMDXMLDocument* iXMLDoc; // XML document being composed
+ RFile iXMLFile; // File being composed
+ TXMLFileType iFileType; // Type of file being composed
+ TInt iError; // Current error
+ TXMLErrorCodeSeverity iSeverity; // ErrorCode severity
+ CCnvCharacterSetConverter* iCharconv;
+ TBuf<KWriteBufferLen> iOutputBuffer;
+ RFs iRFs; // File system to use
+ TBool iOutputProlog; // Whether to output Version and Doctype tags
+
+ TInt iSizeTally;
+ TInt* iSize;
+ TBool iOnlyCalculatingSize;
+
+#ifdef _DEBUG
+ TInt iIndentationLevel;
+#endif
+ };
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/inc/gmxmlconstants.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,141 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains generic XML constants
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLCONSTANTS_H__
+#define __GMXMLCONSTANTS_H__
+
+#include <e32base.h>
+#include <gmxmldomconstants.h>
+
+/** XML file type options.
+@publishedPartner
+@released
+*/
+enum TXMLFileType
+ {
+ /** ASCII file. */
+ EAscii = 1,
+ /** Unicode file. */
+ EUnicode = 2,
+ /** UTF8 file. */
+ EUtf8 = 3
+ };
+
+const TInt KReadBufferLen = 1024;
+const TInt KWriteBufferLen = 1024;
+
+// Error codes
+/** XML element nesting error code. */
+const TInt KErrXMLBadNesting = KErrXMLBase - 4;
+/** XML element incomplete error code. */
+const TInt KErrXMLIncomplete = KErrXMLBase - 5;
+/** XML element name error code. */
+const TInt KErrXMLBadElementName = KErrXMLBase - 6;
+/** Error code that indicates that more than one DOCTYPE tag has been encountered:
+the first one encountered will be used. */
+const TInt KErrXMLDuplicateDocTypeTags = KErrXMLBase - 7;
+/** Error code that indicates that more than one XML version tag has been encountered:
+the first one encountered will be used. */
+const TInt KErrXMLDuplicateVersionTags = KErrXMLBase - 8;
+/** Error code that indicates that more than one element has been encountered at
+the root of the document (there should be a single <smil> element). The resulting
+tree may be confused, but is provided rather than being discarded. */
+const TInt KErrXMLDuplicateRootElements = KErrXMLBase - 9;
+/** Error code that indicates that no DOCTYPE tag was encountered. */
+const TInt KErrXMLMissingDocTypeTag = KErrXMLBase - 10;
+/** Error code that indicates that no XML version tag was encountered. */
+const TInt KErrXMLMissingVersionTag = KErrXMLBase - 11;
+/** Error code that indicates that an element has two or more entries for the same
+attribute. */
+const TInt KErrXMLDuplicateAttributeName = KErrXMLBase - 12;
+/** Error code that indicates there is no single root element.
+
+This may be the result of two of more root elements being added incorrectly,
+or a missing root element leading to the child elements being assumed to be
+root nodes. */
+const TInt KErrXMLMultipleRootElements = KErrXMLBase - 13;
+/** Error code that indicates spurious characters have been found.
+
+This may occur as the result of a missing or an extra attribute or element
+delimiter. */
+const TInt KErrXMLCorruptFile = KErrXMLBase - 14;
+/** Error code that indicates a built-in entity or element / attribute delimiter
+is at an inappropriate place. */
+const TInt KErrXMLIllegalCharacter = KErrXMLBase - 15;
+const TInt KErrXMLBadEntity = KErrXMLBase - 16;
+/** Error code that indicates an element was found to be invalid by the DTD */
+const TInt KErrXMLInvalidElement = KErrXMLBase - 17;
+/** Error code that indicates an attribute was found to be invalid by the DTD */
+const TInt KErrXMLInvalidAttribute = KErrXMLBase - 18;
+
+/** Severity levels for XML composer and parser errors.
+@publishedPartner
+@released
+*/
+enum TXMLErrorCodeSeverity
+ {
+ /** Fatal error. */
+ EXMLFatal,
+ /** Severity level cannot be determined. */
+ EXMLIndeterminate,
+ /** Recoverable error. */
+ EXMLWorkable,
+ /** No error. */
+ EXMLNone
+ };
+
+
+_LIT(KNewLine, "\r\n");
+
+#ifdef _DEBUG
+ _LIT(KTab, " ");
+#endif
+
+_LIT(KXMLSemiColon, ";");
+_LIT(KXMLDecimalId, "&#");
+_LIT(KXMLHexidecimalId, "&#x");
+_LIT(KXMLStartComment, "<!--");
+_LIT(KXMLEndComment, "-->");
+_LIT(KXMLStartEndTag, "</");
+_LIT(KXMLStartTag, "<");
+_LIT(KXMLEndStartTag, "/>");
+_LIT(KXMLStartProcessingInstruction, "<?");
+_LIT(KXMLEndProcessingInstruction, "?>");
+_LIT(KXMLStartCDataSection, "<![CDATA[");
+_LIT(KXMLEndCDataSection, "]]>");
+
+_LIT(KBackSlash, "\\");
+_LIT(KDash, "-");
+_LIT(KExclamation, "!");
+_LIT(KForwardSlash, "/");
+_LIT(KEqualSign, "=");
+_LIT(KLeftArrow, "<");
+_LIT(KRightArrow, ">");
+_LIT(KAmpersand, "&");
+_LIT(KApostrophe, "\'");
+_LIT(KQuotation, "\"");
+_LIT(KSingleSpace, " ");
+
+
+const TInt KNominalTagLength = 256;
+const TInt KStartPosition = -1;
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/inc/gmxmlentityconverter.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,91 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLENTITYCONVERTER_H__
+#define __GMXMLENTITYCONVERTER_H__
+
+#include <e32std.h>
+#include <txtetext.h>
+
+
+class CMDXMLEntityConverter: public CBase
+/**
+ * This class represents a generic entity converter for an XML parser or composer.
+ * It is responsible for converting entity references to text and vice-versa.
+ * @publishedPartner
+ * @released
+ */
+ {
+public:
+ /**
+ * Constructor
+ */
+ IMPORT_C CMDXMLEntityConverter();
+
+ /** Destructor. */
+ IMPORT_C virtual ~CMDXMLEntityConverter();
+
+ /**
+ * Takes a block of text and converts any entity references found to the
+ * appropriate text. Because built-in and character entity references are
+ * longer than the replacement text, this takes place in-situ.
+ * @param aTextToConvert Text to be converted - replacement text goes
+ * out in the same
+ * @return Returns KErrNone if successful or no entity found
+ * @return Returns KErrXMLBadEntity if malformed entity found
+ */
+ TInt EntityToTextL(TDes& aTextToConvert);
+
+ /**
+ * Outputs a block of text to a composer with offending characters replaced by
+ * entity references.
+ * @param aComposer the composer to be used for output
+ * @param aTextToConvert The text to be converted.
+ * @return Returns KErrNone if succcessful or a file write error
+ * @leave can Leave due to OOM
+ */
+ IMPORT_C virtual TInt OutputComposedTextL( CMDXMLComposer* aComposer, const TDesC& aTextToConvert );
+
+protected:
+ /**
+ * DTD Specific entity to text converter
+ * Takes a block of text and converts any entity references found to the
+ * appropriate text. We hope that this can happen in-situ.
+ * @param aTextToConvert Text to be converted - replacement text goes
+ * out in the same
+ * @return Returns KErrNone if successful or no entity found
+ * @return Returns KErrXMLBadEntity if malformed entity found
+ */
+ virtual TInt DTDEntityToText(TDes& aTextToConvert);
+
+private:
+ /**
+ * Replaces the built in entity reference with its replacement text.
+ * @param aTextToConvert An entity reference to convert. This should begin with &
+ * and end with ;.
+ * @return Returns KErrNone if successful
+ * @return Returns KErrUnsupported if aTextToConvert contains no recognised entity references
+ * @return Returns KErrOverflow or KErrGeneral if the character reference couldn't be parsed
+ */
+ TInt ConvertEntityRefL(TDes& aTextToConvert);
+
+ };
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/inc/gmxmlfiledatasource.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,70 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// GMXMLFILEDDATASOURCE.H
+// This file contains the declaration of the specific CMDXMLParserFileDataSource class
+// which is used by the XML Parser when the file based API is used.
+//
+//
+
+/**
+ @file
+*/
+
+
+#ifndef __GMXMLFILEDATASOURCE_H__
+#define __GMXMLFILEDATASOURCE_H__
+
+class CMDXMLParserFileDataSource : public CBase, public MMDXMLParserDataProvider
+ {
+public:
+ virtual void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus);
+ virtual void Disconnect();
+
+ /** Creates and Initialises the data provider with a specified XML file.
+
+ @param aRFs File server session
+ @param aFileToParse The file name to parse
+ */
+ static CMDXMLParserFileDataSource *NewL(RFs aRFs, const TDesC& aFileToParse);
+ static CMDXMLParserFileDataSource *NewLC(RFs aRFs, const TDesC& aFileToParse);
+
+ static CMDXMLParserFileDataSource* NewL(RFile& aFileHandleToParse);
+
+ ~CMDXMLParserFileDataSource();
+
+private:
+ CMDXMLParserFileDataSource();
+
+ /** Second phase constructor.
+ */
+ void ConstructL(RFs aRFs, const TDesC& aFileToParse);
+
+ void ConstructL(RFile& aFileHandleToParse);
+
+private:
+
+ enum EInternalState
+ {
+ KInit = 0,
+ KDataSent,
+ KDone,
+ KError
+ };
+
+ TInt iState;
+ RFile iXMLFile;
+ HBufC8* iXMLFileBuffer;
+ };
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/inc/gmxmlparser.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,510 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the declaration of the generic CMDXMLParser class
+// which is responsible for creating a DOM structure
+// from a given XML file.
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef __GMXMLPARSER_H__
+#define __GMXMLPARSER_H__
+
+#include <e32std.h>
+#include <txtetext.h>
+#include <gmxmlconstants.h>
+#include <f32file.h>
+
+//forward reference
+class CMDXMLDocument;
+class CMDXMLEntityConverter;
+class CMDXMLElement;
+class MXMLDtd;
+
+
+
+class MMDXMLParserObserver
+/** Abstract observer interface for notification when XML parsing is complete.
+
+It should be implemented by users of CMDXMLParser
+@publishedAll
+@released*/
+ {
+public:
+ /**
+ Call back function used to inform a client of the Parser when a parsing operation completes.
+ */
+ virtual void ParseFileCompleteL() = 0;
+ };
+
+class MMDXMLParserDataProvider
+/** Abstract data source interface for XML data source.
+
+The user of CMDXMLParser must build one of these to encapsulate the data source
+that they wish to parse. CMDXMLParser implements a file-based data source to
+implement the functionality of the ParseFile function.
+
+@publishedAll
+@released*/
+ {
+public:
+ /** Status codes returned by GetData() implementations. */
+ enum TDataProviderResults
+ {
+ KMoreData, //< Returned by the interface implementation when it is returning more data.
+ KDataStreamError, //< Returned by the interface when an unrecoverable error prevents obtaining more data. A recoverable error should be represented by KDataNotReady.
+ KDataStreamEnd //< Returned by the interface when there is no more data to come.
+ };
+
+public:
+ /**
+ The XML Parser calls this on a specific data provider to get more data
+ when required.
+
+ Note that the TPtrC supplied may be used by the parser at any time
+ between the return of this call and the next call that the parser
+ makes out.
+
+ Your data provider must not move the data pointed to until the
+ parser has indicated that it's done with that block by asking for
+ another.
+
+ Ownership of the data pointed to remains with the data provider.
+
+
+ General comments on efficiency
+ ------------------------------
+
+ The parser is designed such that it processes the whole data block
+ provided in one go. It will automatically become asynchronous when
+ another block is required - the data provider only needs to supply
+ data.
+
+ Because of this design, it allows the data provider to indirectly
+ control the amount of processing time that will be needed
+ in a single block.
+
+ It is a good idea to balance the need for the fastest possible
+ processing with the need for client application responsiveness by
+ ensuring that the amount of data passed in a single block is not
+ too large. However, it is worth bearing in mind that the parser
+ will convert UTF8 data streams in blocks of 32 characters, and
+ supplying blocks of smaller length than this will result in a
+ slight loss of efficiency.
+
+ @param aPtr On return, the data provided
+ @param aStatus Asynchronous status to be completed by the function with a
+ TDataProviderResults value
+ */
+ virtual void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus) = 0;
+ /**
+ Called to indicate that use of the data source is complete.
+ */
+ virtual void Disconnect() = 0;
+ };
+
+class CMDXMLParserFileDataSource;
+
+class CMDXMLParser: public CActive
+/** Creates a DOM structure from a given XML file.
+
+The parsing operation is asynchronous and is initiated by a call to ParseFile().
+On completion, the created DOM document can be retrieved through DetachXMLDoc().
+
+Note the following ownership rules for the DOM document:
+
+1. calling DetachXMLDoc() transfers ownership of the document to the client
+
+2. if the parser is asked to parse a new file while it still owns an existing
+DOM document, it will delete the old document.
+
+@publishedAll
+@released
+*/
+ {
+public:
+ /** Allocates and constructs a new XML parser, specifying a DTD.
+
+ @param aParserObserver XML parser observer
+ @leave KErrNoMemory Out of memory
+ @return New XML parser */
+ IMPORT_C static CMDXMLParser* NewL(MMDXMLParserObserver* aParserObserver);
+
+ /** Allocates and constructs a new XML parser, specifying a DTD.
+
+ @param aParserObserver XML parser observer
+ @param aDtdRepresentation DTD validator
+ @leave KErrNoMemory Out of memory
+ @return New XML parser */
+ IMPORT_C static CMDXMLParser* NewL(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
+
+ /** Allocates and constructs a new XML parser, leaving the object on the cleanup
+ stack.
+
+ @param aParserObserver XML parser observer
+ @leave KErrNoMemory Out of memory
+ @return New XML parser */
+ IMPORT_C static CMDXMLParser* NewLC(MMDXMLParserObserver* aParserObserver);
+
+ /** Allocates and constructs a new XML parser, leaving the object on the cleanup
+ stack.
+
+ @param aParserObserver XML parser observer
+ @param aDtdRepresentation DTD validator
+ @leave KErrNoMemory Out of memory
+ @return New XML parser */
+ IMPORT_C static CMDXMLParser* NewLC(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
+
+
+ /** Destructor. */
+ IMPORT_C ~CMDXMLParser();
+
+ /** Gets the last error found by the parser.
+
+ @return Error code
+ */
+ IMPORT_C TInt Error() const;
+
+ /**
+ Get the severity of the most severe error found.
+ @return the maximum error severity
+ */
+ IMPORT_C TXMLErrorCodeSeverity ErrorSeverity() const;
+
+ /** Gets the created DOM.
+
+ This should be called after the conclusion of the parser process.
+
+ Note that the function sets the internal variable pointing to the document
+ to NULL, so this function can only be called once per file parse. The caller
+ takes ownership of the document, and must delete it when its use is complete.
+
+ @return The created DOM */
+ IMPORT_C CMDXMLDocument* DetachXMLDoc();
+
+ /** Parses a specified XML file into a DOM object tree.
+
+ @param aRFs File server session
+ @param aFileToParse The file name to parse
+ @return KErrNone if success or a file read error code */
+ IMPORT_C TInt ParseFile(RFs aRFs, const TDesC& aFileToParse);
+
+ IMPORT_C TInt ParseFile(RFile& aFileHandleToParse);
+
+ /** Parses a specified XML Data Source into a DOM object tree.
+ Use ParseSourceL() function in preference to ParseSource()
+ @param aSource MMDXMLParserDataProvider pointer
+ */
+ inline void ParseSource(MMDXMLParserDataProvider *aSource)
+ {
+ TRAP_IGNORE(ParseSourceL(aSource));
+ }
+
+ /** Parses a specified XML Data Source into a DOM object tree.
+ @param aSource MMDXMLParserDataProvider pointer
+ */
+ IMPORT_C void ParseSourceL(MMDXMLParserDataProvider *aSource);
+
+ /** Defines input stream character widths. */
+ enum TMDXMLParserInputCharWidth
+ {
+ EAscii = 0x01, //< ASCII
+ EUnicode = 0x02 //<Unicode
+ };
+
+ /** Sets the input stream character width.
+ *
+ * @param aWidth Character width for incoming stream. Possible values are EAscii and EUnicode (representing Ascii/UTF8 and Unicode respectively).
+ *
+ */
+ IMPORT_C void SetSourceCharacterWidth(TMDXMLParserInputCharWidth aWidth);
+
+ //Defect fix for INC036136- Enable the use of custom entity converters in GMXML
+ /**
+ * Sets the entity converter to be used for parsing.
+ * and take ownership of the passed entity converter
+ * @param aEntityConverter the entity converter to be used.
+ */
+ IMPORT_C void SetEntityConverter(CMDXMLEntityConverter* aEntityConverter);
+ //End Defect fix for INC036136
+
+ /**
+ Controls whether invalid elements and attributes are added to the DOM.
+ @param aStoreInvalid ETrue if invalid content should be stored, EFalse otherwise.
+ */
+ IMPORT_C void SetStoreInvalid(TBool aStoreInvalid);
+
+ /**
+ Controls whether whitespaces are handled by XML parser or by client.
+ @param aPreserve ETrue if all whitespaces should be preserved (handled by client), EFalse otherwise.
+ */
+ IMPORT_C void SetWhiteSpaceHandlingMode(TBool aPreserve);
+
+public: // public functions used by other classes within the .dll, not for Export.
+ /** Gets the entity converter.
+
+ @return The entity converter */
+ CMDXMLEntityConverter* EntityConverter();
+
+private:
+ IMPORT_C virtual void DoCancel();
+
+ /*
+ * RunL function inherited from CActive base class - carries out the actual parsing.
+ * @leave can Leave due to OOM
+ */
+ virtual void RunL();
+
+ /*
+ * Helper function that does the parsing - called from inside RunL
+ */
+ TBool DoParseLoopL();
+
+ /*
+ * RunError function inherited from CActive base class - intercepts any Leave from
+ * the RunL() function, sets an appropriate errorcode and calls ParseFileCompleteL
+ */
+ IMPORT_C TInt RunError(TInt aError);
+
+ /*
+ * Constructors
+ */
+ CMDXMLParser(MMDXMLParserObserver* aParserObserver);
+
+ CMDXMLParser(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
+
+ /*
+ * Called when a character is read in and found to bo outside of an element tag
+ */
+ virtual void HandleTextL(TDes& aChar);
+
+ enum TGetCharReturn
+ {
+ KError = 0x00, // GetChar detected an error
+ KCharReturned, // GetChar returned a character
+ KWaitForChar // GetChar couldn't return a character this time, but might next time.
+ };
+
+ /*
+ * Fetch one character from the input file
+ * @param aChar the returned character.
+ * @return returns one of the values of TCharReturn
+ */
+ TGetCharReturn GetChar(TDes& aChar);
+
+ /* utility functions, called from GetChar to deal with the
+ * 2 types of input stream
+ */
+ TGetCharReturn GetDoubleByteChar(TDes& aChar);
+ TGetCharReturn GetSingleByteChar(TDes& aChar);
+
+ /*
+ * Fetch some more data from the data provider
+ * @return returns one of the values of TCharReturn
+ */
+ void GetMoreData();
+
+ /*
+ * @return Returns true if the current tag is a doctype tag and sets the
+ * Document DocType member accordingly on the first pass of this function.
+ */
+ TBool DocTypeL();
+
+ /*
+ * creates a new processing instruction if necessary and adds to document
+ * @return Returns true if the current tag is a processing instruction
+ */
+ TBool ProcessingInstructionL(CMDXMLElement* aParentElement);
+
+ /*
+ * creates a new CDataSection if necessary and adds to document
+ * @return Returns true if the current tag is a processing instruction
+ */
+ TBool CDataSectionL(CMDXMLElement* aParentElement);
+ TBool EndOfCDataSection();
+
+ /*
+ * @return returns true if the current tag is a version id tag and sets the
+ * Document Version member accordingly on the first pass of this function.
+ */
+ TBool VersionIDL();
+
+ /*
+ * creates a new comment if necessary and adds to document
+ * @return returns true if the current tag is a comment tag
+ */
+ TBool CommentL(CMDXMLElement* aParentElement);
+
+ /*
+ * Parse a start of element tag and create an element with attributes set.
+ * @return Returns a pointer to the created element
+ * @leave can Leave due to OOM
+ */
+ virtual CMDXMLElement* ParseStartTagL();
+
+ /*
+ * Detects the type of a file - can be Unicode or UTF-8
+ */
+ TBool DetectFileType();
+
+ /*
+ * Creates a generic or DTD-specific document object
+ * @leave can Leave due to OOM
+ */
+ virtual void CreateDocumentL();
+
+ /*
+ * Sets iError to new errorcode if more serious than any error so far encountered
+ */
+ IMPORT_C void SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity);
+
+ /*
+ * This function is used to parse the attributes.
+ * @param aElement The element to which the attributes belong
+ * @param aTagToParse The tag to be parsed
+ * @return Returns KErrNone if both attribute name & value are valid
+ * KErrXMLBadAttributeName if attribute name is invalid or KErrXMLBadAttributeValue is invalid
+ * @leave can Leave due to OOM
+ */
+ TInt ParseElementAttributesL(CMDXMLElement& aElement, TDes& aTagToParse);
+
+ /**
+ This function locates the next attribute in the tag.
+ @param aTagToParse the tag to find the attribute in
+ @return the offset of the next attribute
+ */
+ TInt LocateNextAttribute(const TDesC& aTagToParse);
+
+ /*
+ * Parses an end tag. In fact, at this point the end tag must match
+ * the tag name of the start tag.
+ * @param aTagToParse Text of the end tag.
+ * @return Returns KErrNone if the end tag matches the start tag or KErrNotFound if there is a mismatch.
+ */
+ TInt ParseElementEndTag(CMDXMLElement& aElement, const TDesC& aTagToParse);
+
+ TInt CheckForStartCData(const TDesC& aTextToCheck);
+ TInt FindDelimiter(TDesC& aDataToSearch, TDesC& aDelimiterToFind);
+
+ /*
+ * Second stage constructor
+ */
+ void ConstructL(MXMLDtd* aDtdRepresentation);
+ void AddTextL(CMDXMLElement* aParentElement);
+
+ /*
+ * Checks whether the end of this tag is in a CDataSection.
+ * @param aDataToSearch The data to check
+ * @return Returns ETrue if the tag contains an unclosed CDataSection
+ */
+ TBool InCDataSection(TDesC& aDataToSearch);
+
+ /*
+ * Entity converts the sections of one attribute value that are not within a CDataSection.
+ * @param aAttributeValue one attribute value
+ * @return Returns an error if entity conversion did not successfully complete, otherwise KErrNone
+ */
+ TInt ParseSingleAttributeL(TDes& aAttributeValue);
+
+ /*
+ * Prepares this class for use on another file.
+ *
+ */
+ void PrepareForReuseL();
+
+ /**
+ This should be called when parsing has been completed, before calling ParseFileCompleteL().
+ It checks for errors that can only be determined at the end of parsing, eg missing doctype or
+ incomplete content.
+ */
+ void CheckForErrors();
+
+ IMPORT_C void PlaceholderForRemovedExport1(MMDXMLParserObserver* aParserObserver);
+ IMPORT_C void PlaceholderForRemovedExport2(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation);
+ IMPORT_C void PlaceholderForRemovedExport3();
+
+
+private:
+ enum TPanicCode { ENullMemVarDataSource,
+ ENullMemVarParserObserver,
+ ENullMemVarXMLDoc,
+ ENullMemVarElementTag,
+ ENullParameterParentElement };
+ void Panic(TPanicCode aReason) const;
+
+private:
+ MMDXMLParserObserver* iParserObserver;
+ MXMLDtd* iDtdRepresentation;
+ TInt iError; // Current error
+ TXMLErrorCodeSeverity iSeverity; // ErrorCode severity
+ CMDXMLDocument* iXMLDoc; // Document created by the parser
+ CMDXMLEntityConverter* iEntityConverter; // Entity converter used by the parser
+ HBufC* iElementTag; // Currently processed element tag
+ TBool iDocTypeSet;
+ TBool iVersionSet;
+ TInt iBytesPerChar;
+
+ /* member variables dealing with access to source data */
+ TPtrC8 iInputBufferPtr; // set during a call to get more data
+ TInt iCurrentInputBufferLen; // current length of the data block available
+ TInt iNextChar; // read position in the data block
+ TInt iInputBytesRemaining; // number of bytes remaining to read.
+ HBufC8 *iUTF8EdgeBuffer; // buffer to hold up to 6 bytes so that UTF8 parsing can span edges of data blocks
+ HBufC8 *iBomBuffer; // buffer to hold data at the start of the stream so we may determine charset
+ TInt iRequiredUTF8Bytes; // number of bytes required to complete the character held in the edge buffer
+ TBool iUnicodeInputMisaligned; // Set to ETrue if the unicode input stream is not aligned to 16-bit boundaries
+ MMDXMLParserDataProvider* iDataSource; // XML Data Source being parsed.
+ CMDXMLParserFileDataSource* iFileSource; // We own this, and need to free it when we are done. Only used when we're providing the data source object to wrap a local file.
+
+ /* member variables dealing with chunked conversion into unicode output */
+ TBuf<32> iUnicodeConversion; // buffer to temporarily hold the results of conversion from UTF8 to Unicode
+ TInt iUnicodeConversionLen; // number of characters stored in our intermediate buffer
+ TInt iUnicodeReadPos; // next character to send from our intermediate buffer
+ TBuf<1> iSpareChar;
+
+ /* member variables used when parsing a local file */
+ TDesC *iFileToParse;
+ RFs iRFs;
+ RFile iFileHandleToParse;
+
+ TBool iEndOfTag;
+
+ /* member variables used in DoParseLoopL() */
+ TBool iOpened;
+ TBool iClosed;
+ CMDXMLElement* iNewElement;
+ CMDXMLElement* iParentElement;
+ HBufC* iText;
+ enum EParserStates
+ {
+ KInitFromFile,
+ KDetermineCharset,
+ KWaitingForData,
+ KParseData,
+ KSpanDataGap,
+ KFinished
+ };
+
+ EParserStates iState;
+ EParserStates iPreviousState;
+ TInt iSuspiciousCharacter;
+ TBool iStoreInvalid; // controls whether invalid elements and attributes are stored in the DOM.
+ TBool iPreserve;
+
+ };
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/src/gmxmlcomposer.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1201 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// GMXMLCOMPOSE.CPP
+// @file
+// This file contains the declaration of the generic CMDXMLComposer class
+// which is responsible for creating an XML file
+// from a given DOM structure.
+//
+//
+
+#include <f32file.h>
+#include <utf.h>
+
+#include <gmxmlconstants.h>
+#include <gmxmlnode.h>
+#include <gmxmldocument.h>
+#include <gmxmlelement.h>
+#include <gmxmlcomposer.h>
+#include <gmxmlentityconverter.h>
+#include <gmxmltext.h>
+#include <gmxmlprocessinginstruction.h>
+#include <gmxmlcomment.h>
+#include <gmxmlcdatasection.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+_LIT(KXmlQuotation, """);
+
+//
+// CMDXMLComposer //
+//
+
+CMDXMLComposer::CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver) : CActive(EPriorityNormal)
+//
+// Constructor
+//
+ {
+ iComposerObserver = aComposerObserver;
+ iOutputProlog = ETrue;
+ CActiveScheduler::Add(this);
+ }
+
+CMDXMLComposer::CMDXMLComposer(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog) : CActive(EPriorityNormal),
+ iOutputProlog(aOutputProlog)
+//
+// Constructor
+//
+ {
+ iComposerObserver = aComposerObserver;
+ CActiveScheduler::Add(this);
+ }
+//==================================================================================
+
+EXPORT_C CMDXMLComposer::~CMDXMLComposer()
+ {
+ Cancel();
+ delete iEntityConverter;
+ delete iCharconv;
+
+ iXMLFile.Close();
+ }
+
+//==================================================================================
+
+void CMDXMLComposer::BaseConstructL()
+ {
+ iCharconv = CCnvCharacterSetConverter::NewL();
+ iCharconv->SetDowngradeForExoticLineTerminatingCharacters(
+ CCnvCharacterSetConverter::EDowngradeExoticLineTerminatingCharactersToJustLineFeed);
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLComposer* CMDXMLComposer::NewL(MMDXMLComposerObserver* aComposerObserver)
+//
+// Two phase static factory function constructor
+// @param aEntityStrings the string table which lists the entity references and conversion
+// @return Created CMDXMLComposer
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComposer* self = NewLC(aComposerObserver);
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLComposer* CMDXMLComposer::NewL(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog)
+//
+// Two phase static factory function constructor
+// @param aEntityStrings the string table which lists the entity references and conversion
+// @param aOutputProlog Whether the Doctype and Version tags should be output. This is
+// provided for MMS conformance.
+// @return Created CMDXMLComposer
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComposer* self = NewLC(aComposerObserver, aOutputProlog);
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLComposer* CMDXMLComposer::NewLC(MMDXMLComposerObserver* aComposerObserver)
+//
+// Two phase static factory function constructor
+// @param aEntityStrings the string table which lists the entity references and conversion
+// @return Created CMDXMLComposer
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComposer* self = new (ELeave) CMDXMLComposer(aComposerObserver);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLComposer* CMDXMLComposer::NewLC(MMDXMLComposerObserver* aComposerObserver, TBool aOutputProlog)
+//
+// Two phase static factory function constructor
+// @param aEntityStrings the string table which lists the entity references and conversion
+// @param aOutputProlog Whether the Doctype and Version tags should be output. This is
+// provided for MMS conformance.
+// @return Created CMDXMLComposer
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLComposer* self = new (ELeave) CMDXMLComposer(aComposerObserver, aOutputProlog);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+//==================================================================================
+
+void CMDXMLComposer::ConstructL()
+//
+// Second stage constructor
+// @param aEntityStrings the string table which lists the entity references and conversion
+//
+ {
+ BaseConstructL();
+ CMDXMLEntityConverter* entityConverter = new(ELeave) CMDXMLEntityConverter();
+ SetEntityConverter(entityConverter);
+ }
+
+
+//==================================================================================
+
+void CMDXMLComposer::InitialiseCompose(CMDXMLDocument* aDocument, TXMLFileType aFileType)
+ {
+ Cancel();
+
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iOutputBuffer.Zero();
+
+ iXMLDoc = aDocument;
+ iFileType = aFileType;
+
+ iOnlyCalculatingSize = EFalse;
+ iSizeTally = 0;
+ }
+
+EXPORT_C TInt CMDXMLComposer::ComposeFile(RFs aRFs, const TDesC& aFileToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType)
+/** Starts file composition.
+
+This function can not be called if there is an outstanding size calculation or compose
+operation in progress. If it is necessary to run two asynchronous operations in parallel
+then two instances of the CMDXMLComposer are needed.
+
+@param aRFS File system to use
+@param aFileToCompose Name of file to create
+@param aDocument The document object to compose to the file
+@return KERRNone if successful
+**/
+ {
+ InitialiseCompose(aDocument, aFileType);
+ iRFs = aRFs;
+ TInt error = KErrNone;
+
+ if(iXMLDoc == NULL)
+ {
+ error = KErrNotSupported;
+ }
+ else
+ {
+ switch(iFileType)
+ {
+ case EAscii:
+ {
+ error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
+ break;
+ }
+ case EUnicode:
+ error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
+ if(error == KErrNone)
+ {
+ // append Unicode File identifier to start of output text
+ iOutputBuffer.Append(CEditableText::EByteOrderMark);
+ }
+ break;
+ case EUtf8:
+ {
+ error = iXMLFile.Replace(aRFs, aFileToCompose, EFileWrite | EFileStream);
+ break;
+ }
+ default:
+ error = KErrNotSupported;
+ break;
+ }
+ }
+
+ if(error == KErrNone)
+ {
+ SetActive();
+ TRequestStatus* s=&iStatus;
+ User::RequestComplete(s, KErrNone);
+ }
+ else
+ {
+ SetError(error, EXMLFatal);
+ }
+
+ return error;
+ }
+
+/** Starts file composition to an open file handle.
+
+This function must not be called when file sizing is in progress. If it is necessary to calulate
+the size and generate the XML simultaneously then two instances of the composer should be used,
+one for sizing and one for composition.
+
+@param aFileHandleToCompose An open file handle to write to. Ownership of the file handle is passed even if an error occurs.
+@param aDocument The document object to compose to the file.
+@param aFileType Type of the output file.
+@return KErrNone if successful.
+*/
+EXPORT_C TInt CMDXMLComposer::ComposeFile(RFile& aFileHandleToCompose, CMDXMLDocument* aDocument, TXMLFileType aFileType)
+ {
+ InitialiseCompose(aDocument, aFileType);
+ iXMLFile = aFileHandleToCompose;
+ TInt error = KErrNone;
+
+ if(iXMLDoc == NULL)
+ {
+ error = KErrNotSupported;
+ }
+ else
+ {
+ switch(iFileType)
+ {
+ case EUnicode:
+ {
+ // append Unicode File identifier to start of output text
+ iOutputBuffer.Append(CEditableText::EByteOrderMark);
+ }
+ case EAscii:
+ case EUtf8:
+ break;
+
+ default:
+ error = KErrNotSupported;
+ break;
+ }
+ }
+
+ if(error == KErrNone)
+ {
+ iStatus = KRequestPending;
+ SetActive();
+ TRequestStatus* s=&iStatus;
+ User::RequestComplete(s, KErrNone);
+ }
+ else
+ {
+ iXMLFile.Close();
+ SetError(error, EXMLFatal);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+/** Starts calculating the size of the XML output without actually writing it to the file.
+
+This process is asyncronous, the size value is only updated when ComposeFileComplete
+is called on the MMDXMLComposerObserver passed in in the NewL.
+
+This function can not be called if there is an outstanding size calculation or compose
+operation in progress. If it is necessary to run two asynchronous operations in parallel
+then two instances of CMDXMLComposer are needed.
+
+@param aSize Will be set to the size of the XML document when composition has completed.
+@param aDocument The document object to size
+@param aFileType Type of the output file, required because it will affect the size of the XML
+@return KErrNone if successful */
+
+EXPORT_C TInt CMDXMLComposer::CalculateFileSize(TInt& aSize, CMDXMLDocument* aDocument, TXMLFileType aFileType)
+ {
+ Cancel();
+
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iOutputBuffer.Zero();
+
+ iXMLDoc = aDocument;
+ iFileType = aFileType;
+ TInt error = KErrNone;
+
+ if (iFileType == EUnicode)
+ {
+ // The size tally must be incremented by two characters because the unicode byte marker
+ // gets added in the ComposeFile function that does not get called when we are calculating
+ // the size.
+ iSizeTally = 2;
+ }
+ else
+ {
+ iSizeTally = 0;
+ }
+
+ iSize = &aSize;
+ iOnlyCalculatingSize = ETrue;
+
+ if(iXMLDoc == NULL)
+ {
+ error = KErrNotSupported;
+ }
+
+ if(error == KErrNone)
+ {
+ SetActive();
+ TRequestStatus* s=&iStatus;
+ User::RequestComplete(s, KErrNone);
+ }
+ else
+ {
+ SetError(error, EXMLFatal);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLComposer::Error() const
+ {
+ return iError;
+ }
+
+//==================================================================================
+
+EXPORT_C TXMLErrorCodeSeverity CMDXMLComposer::ErrorSeverity() const
+ {
+ return iSeverity;
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLEntityConverter* CMDXMLComposer::EntityConverter() const
+ {
+ return iEntityConverter;
+ }
+
+//==================================================================================
+
+TInt CMDXMLComposer::OutputCommentL(const TDesC& aComment)
+//
+// Output a comment
+// @param aComment the comment text to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KNewLine);
+ }
+
+#ifdef _DEBUG
+ for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
+ {
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KTab);
+ }
+ }
+#endif
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLStartComment);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aComment);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLEndComment);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+TInt CMDXMLComposer::OutputProcessingInstructionL(const TDesC& aInstruction)
+//
+// Output a Processing Instruction
+// @param aInstruction the Processing Instruction text to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KNewLine);
+ }
+
+#ifdef _DEBUG
+ for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
+ {
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KTab);
+ }
+ }
+#endif
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLStartProcessingInstruction);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aInstruction);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLEndProcessingInstruction);
+ }
+
+ return error;
+ }
+
+
+//==================================================================================
+
+TInt CMDXMLComposer::OutputCDataSectionL(const TDesC& aCDataSection)
+//
+// Output a CDataSection
+// @param aCDataSection the data section text to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+#ifdef _DEBUG
+ for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
+ {
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KTab);
+ }
+ }
+#endif
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLStartCDataSection);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aCDataSection);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLEndCDataSection);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+//Defect fix for INC036136- Enable the use of custom entity converters in GMXML
+
+EXPORT_C TInt CMDXMLComposer::OutputDataL(const TDesC& aData)
+//
+// Output raw data
+// it's only intended to be used from within a custom entity converter as
+// it relies on a Composer sesssion already being in progress
+// @param the data to be output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+ if(iSeverity != EXMLFatal)
+ {
+ if(aData.Find(KQuotation) != KErrNotFound)
+ {
+ error = ReplaceXmlCharactersL(aData, KQuotation);
+ }
+ else
+ {
+ error = WriteFileL(aData);
+ }
+ }
+
+ return error;
+ }
+
+//==================================================================================
+/* Before writing to xml file, search for special character like quotation (").
+ if it exist then replace it with " and then write it to xml file.
+ Refer section 5 of below URL for more information.
+ http://www.xmlnews.org/docs/xml-basics.html
+ @param aXmlData the data to be output
+ @param aString the special character to search in aXmlData
+ @return KERRNone if successful, otherwise a file writing error. */
+
+TInt CMDXMLComposer::ReplaceXmlCharactersL(const TDesC16& aXmlData, const TDesC& aString)
+ {
+ TInt xmlDataIndex;
+ const TDesC& quot = KXmlQuotation;
+ HBufC16* xmlData = aXmlData.AllocL();
+
+ while((xmlDataIndex = (xmlData->Des()).Find(aString)) != KErrNotFound)
+ {
+ HBufC16* temp = HBufC::NewLC(((xmlData->Des()).Length() - 1) + quot.Length());
+ TPtr16 tempPtr = temp->Des();
+ tempPtr.Append((xmlData->Des()).Left(xmlDataIndex));
+ tempPtr.Append(quot);
+ tempPtr.Append((xmlData->Des()).Right((xmlData->Des()).Length() - (xmlDataIndex + 1)));
+ delete xmlData;
+ xmlData = NULL;
+ xmlData = tempPtr.AllocL();
+ CleanupStack::PopAndDestroy(); // temp
+ }
+ TInt error = WriteFileL((xmlData->Des()));
+ delete xmlData;
+ xmlData = NULL;
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C void CMDXMLComposer::SetEntityConverter(CMDXMLEntityConverter* aEntityConverter)
+/*
+ * Sets the entity converter to be used
+ * and take ownership of the passed entity converter
+ * @param aEntityConverter The entity converter to be used
+ */
+ {
+ delete iEntityConverter;
+ iEntityConverter = aEntityConverter;
+ }
+
+//End Defect fix for INC036136
+//==================================================================================
+
+EXPORT_C TInt CMDXMLComposer::OutputStartOfElementTagL(const TDesC& aElementName)
+//
+// Output a start of element tag
+// @param aElementName the name of the tag to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+#ifdef _DEBUG
+ for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
+ {
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KTab);
+ }
+ }
+ iIndentationLevel++;
+#endif
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLStartTag);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aElementName);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLComposer::OutputEndOfElementTagL(const TBool aHasChildren)
+//
+// Output an end of element start tag
+// @param aHasChildren true if the element has children
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+ if(iSeverity != EXMLFatal)
+ {
+ if(aHasChildren)
+ {
+ error = WriteFileL(KXMLEndTag);
+ }
+ else
+ {
+ error = WriteFileL(KXMLEndStartTag);
+
+ #ifdef _DEBUG
+ iIndentationLevel--;
+ #endif
+ }
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+TInt CMDXMLComposer::OutputEndTagL(const TDesC& aElementName)
+//
+// Output an end of element tag
+// @param aElementName the name of the tag to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+#ifdef _DEBUG
+ iIndentationLevel--;
+ for(TInt loopIndex = 0; loopIndex < iIndentationLevel; loopIndex++)
+ {
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KTab);
+ }
+ }
+#endif
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLStartEndTag);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aElementName);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KXMLEndTag);
+ }
+
+ return error;
+ }
+
+
+
+
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLComposer::OutputAttributeL(const TDesC& aAttributeName, const TDesC& aAttributeValue)
+//
+// Output an attribute - name and value.
+// @param aAttributeName the name of the attribute to output
+// @param aAttributeValue the text of the attribute value to output
+// @return KERRNone if successful, otherwise a file writing error.
+//
+ {
+ TInt error = KErrNone;
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KSingleSpace);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(aAttributeName);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KEqualSign);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KQuotation);
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ // Work along the attribute value in sections. We have two markers in the attribute,
+ // one at the beginning of the section we're working on and one at the end. Initially
+ // beginSection is the start of the string, 0, the end of the section is the first
+ // CDataSection we find.
+ // beginSection is an offset within the string, endSection is an offset from that
+ TInt beginSection = 0;
+ TInt endSection = aAttributeValue.Find(KXMLStartCDataSection);
+
+ // We've found at least one CDataSection
+ while(endSection != KErrNotFound)
+ {
+ // Entity convert this plain text section
+ TPtrC plainText = aAttributeValue.Mid(beginSection, endSection);
+ error = iEntityConverter->OutputComposedTextL(this, plainText);
+
+ // Move on our markers. We start the new section at the end of the old one.
+ beginSection += endSection;
+ // The end of this section is the end of the CDataSection
+ endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLEndCDataSection);
+ if(endSection != KErrNotFound)
+ {
+ // The CDataSection ends at the beginning of the end tag, so we need to add
+ // on the length of the end tag before outputting it without conversion
+ endSection += TPtrC(KXMLEndCDataSection).Length();
+ OutputDataL(aAttributeValue.Mid(beginSection, endSection));
+
+ // Now move on our markers again. Start at the end of the CDataSection, and
+ // continue to the beginning of the next one.
+ beginSection += endSection;
+ endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLStartCDataSection);
+ }
+ else
+ {
+ // There's an unterminated CDataSection in our attribute
+ error = KErrXMLBadAttributeValue;
+ }
+ }
+
+ // There are no more CDataSections, entity convert the rest of the string
+ if(!error)
+ {
+ error = iEntityConverter->OutputComposedTextL(this, aAttributeValue.Mid(beginSection));
+ }
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = WriteFileL(KQuotation);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLComposer::RunError(TInt aError)
+//
+// RunError function inherited from CActive base class - intercepts any Leave from
+// the RunL() function, sets an appropriate errorcode and calls ComposeFileCompleteL
+//
+ {
+ iSeverity = EXMLFatal;
+ iError = aError;
+ iXMLFile.Close();
+ TRAPD(err, iComposerObserver->ComposeFileCompleteL());
+ return err;
+ }
+
+//==================================================================================
+
+EXPORT_C void CMDXMLComposer::DoCancel()
+//
+// DoCancel function inherited from CActive base class
+//
+ {
+ iXMLFile.Close();
+ }
+
+//==================================================================================
+
+void CMDXMLComposer::RunL()
+//
+// RunL function inherited from CActive base class - does the actual composition
+// @leave can Leave due to OOM
+//
+ {
+ // If this is an ASCII file then check that we can load the character set converter
+ if(iSeverity != EXMLFatal)
+ {
+ if(iFileType == EAscii)
+ {
+ if (iCharconv->PrepareToConvertToOrFromL(KCharacterSetIdentifierAscii, iRFs)!=
+ CCnvCharacterSetConverter::EAvailable)
+ {
+ SetError( KErrNotSupported, EXMLFatal);
+ }
+ }
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ #ifdef _DEBUG
+ iIndentationLevel = 0;
+ #endif
+
+ CMDXMLElement* parentElement = iXMLDoc->DocumentElement();
+
+ TInt error = KErrNone;
+
+ if(!parentElement->CheckChildren())
+ {
+ error = KErrNotSupported;
+ SetError(KErrXMLInvalidChild, EXMLWorkable);
+ }
+
+ if(iOutputProlog)
+ {
+ // Output document level information if required. MMS conformance requires no Version
+ // or DocType tag, so we may not want to output them.
+ if(iSeverity != EXMLFatal)
+ {
+ WriteFileL(iXMLDoc->VersionTag());
+ }
+ if(iSeverity != EXMLFatal)
+ {
+ WriteFileL(KNewLine);
+ }
+ if(iSeverity != EXMLFatal)
+ {
+ WriteFileL(iXMLDoc->DocTypeTag());
+ }
+ if(iSeverity != EXMLFatal)
+ {
+ WriteFileL(KNewLine);
+ }
+ }
+
+ // Output the contents of the DOM tree
+ if(iSeverity != EXMLFatal)
+ {
+ error = ComposeL();
+ if(iSeverity != EXMLFatal)
+ {
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLIndeterminate);
+ }
+
+ WriteFileL(KNewLine);
+ }
+ }
+
+ if(iSeverity != EXMLFatal)
+ {
+ error = FlushOutputBufferL();
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLIndeterminate);
+ }
+ }
+ }
+
+ iXMLFile.Close();
+
+ if (iOnlyCalculatingSize)
+ {
+ *iSize = iSizeTally;
+ }
+
+ iComposerObserver->ComposeFileCompleteL();
+ }
+
+
+TInt CMDXMLComposer::ComposeL()
+//
+// Function to output the contents of the node as XML to some output stream.
+// @param aComposer The composer to use - provides access to output and entity conversion
+// @return Returns KerrNone if successful or a file write error
+// @leave Can Leave due to OOM.
+//
+ {
+ CMDXMLNode* nextPtr;
+ TInt error = KErrNone;
+ nextPtr = iXMLDoc->DocumentElement()->FirstChild();
+
+
+ while(error == KErrNone && nextPtr != NULL)
+ {
+ // compose the start tag of the current element
+ error = ComposeStartTagL(*nextPtr);
+
+ if(error == KErrNone)
+ {
+ // move to the first child is there is one
+ if(nextPtr->FirstChild() != NULL)
+ {
+ nextPtr = nextPtr->FirstChild();
+ }
+ else
+ {
+ // EndTag is only output if HasChildNodes() == TRUE
+ error = ComposeEndTagL(*nextPtr);
+
+ // move to the next sibling if exists
+ if(nextPtr->NextSibling() != NULL)
+ {
+ nextPtr = nextPtr->NextSibling();
+ }
+
+ // no siblings, move back to parent and close parent tag
+ else
+ {
+ // might need to go up several layers so WHILE rather than IF
+ while(nextPtr != NULL && nextPtr->NextSibling() == NULL && error == KErrNone)
+ {
+ nextPtr = nextPtr->ParentNode();
+ if(nextPtr != NULL)
+ {
+ error = ComposeEndTagL(*nextPtr);
+ }
+ }
+
+ // if we've stopped at an element with further siblings
+ if(nextPtr != NULL && nextPtr->NextSibling() != NULL)
+ {
+ nextPtr = nextPtr->NextSibling();
+ }
+ }
+ }
+ }
+ }
+
+ return error;
+ }
+
+
+EXPORT_C TInt CMDXMLComposer::ComposeStartTagL(CMDXMLNode& aNode)
+ //
+ // Outputs a start tag for the node which includes the
+ // tag name and all attribute name value pairs currently
+ // specified. If the node is an empty node then it
+ // makes the tag an empty node tag, otherwise it creates
+ // a start tag.
+ // @param aNode The Node for which the start tag is being written
+ // @return Returns KerrNone if successful or a file write error
+ //
+ {
+ TInt error = KErrNone;
+
+ switch (aNode.NodeType())
+ {
+ case CMDXMLNode::ETextNode:
+ error = iEntityConverter->OutputComposedTextL(this, ((CMDXMLText&)aNode).Data());
+ break;
+ case CMDXMLNode::ECDATASectionNode:
+ error = OutputCDataSectionL(((CMDXMLCDATASection&)aNode).Data());
+ // does nothing
+ break;
+ case CMDXMLNode::EProcessingInstructionNode:
+ error = OutputProcessingInstructionL(((CMDXMLProcessingInstruction&)aNode).Data());
+ break;
+ case CMDXMLNode::ECommentNode:
+ error = OutputCommentL(((CMDXMLComment&)aNode).Data());
+ break;
+ case CMDXMLNode::EDocumentNode:
+ // does nothing
+ break;
+ case CMDXMLNode::EElementNode:
+ error = OutputStartOfElementTagL(aNode.NodeName());
+ TInt attIndex;
+ // Output all attributes in a loop
+ for(attIndex = 0 ; (error == KErrNone && attIndex < ((CMDXMLElement&)aNode).NumAttributes()); attIndex ++ )
+ {
+ TPtrC attributeValue;
+ TPtrC attributeName;
+ error = ((CMDXMLElement&)aNode).AttributeDetails(attIndex, attributeName, attributeValue);
+ if(error == KErrNone)
+ error = OutputAttributeL(attributeName, attributeValue);
+ }
+
+
+ if( error == KErrNone )
+ {
+ error = OutputEndOfElementTagL(aNode.HasChildNodes());
+ }
+ break;
+ default:
+ // does nothing
+ break;
+
+
+ }
+
+ return error;
+ }
+
+EXPORT_C TInt CMDXMLComposer::ComposeEndTagL(CMDXMLNode& aNode)
+//
+// Outputs an end tag for the node.
+// @param aNode the node for which the tag is being written.
+// @return Returns KerrNone if successful or a file write error
+//
+ {
+ TInt error = KErrNone;
+
+ if (aNode.NodeType() == CMDXMLNode::EElementNode && aNode.NodeName() != KXMLDocumentElementNodeName)
+ {
+ if(aNode.HasChildNodes())
+ {
+ error = OutputEndTagL(aNode.NodeName());
+ }
+ }
+
+
+ return error;
+ }
+
+//==================================================================================
+
+TInt CMDXMLComposer::WriteFileL(const TDesC& aStringToWrite)
+//
+// Function to write string to required file format - handles format conversion
+// @param aStringToWrite the string to output
+// @return returns KERRNone if successful or a file write error.
+//
+ {
+ TInt error = KErrNone;
+ TInt outputBufferLength = iOutputBuffer.Length();
+ TInt additionalLength = aStringToWrite.Length();
+
+ if(outputBufferLength + additionalLength <= KWriteBufferLen)
+ {
+ iOutputBuffer.Append(aStringToWrite);
+ }
+ else
+ {
+ iOutputBuffer.Append(aStringToWrite.Left(KWriteBufferLen - outputBufferLength));
+ error = FlushOutputBufferL();
+ iOutputBuffer.Zero();
+ WriteFileL(aStringToWrite.Right(additionalLength - (KWriteBufferLen - outputBufferLength)));
+ }
+
+ return error;
+ }
+
+//==================================================================================
+#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
+
+TInt CMDXMLComposer::FlushOutputBufferL()
+//
+// Function to write string to required file format - handles format conversion
+// @param aStringToWrite the string to output
+// @return returns KERRNone if successful or a file write or conversion error.
+//
+ {
+ TInt error = KErrNone;
+
+ if (!iOnlyCalculatingSize)
+ {
+ if(iXMLFile.SubSessionHandle() == KNullHandle)
+ {
+ return KErrBadHandle;
+ }
+ }
+
+ // All text is processed internally as unicode. If we've been asked to output
+ // another format (Ascii or Utf-8) we need to translate it to that format using
+ // charconv before writing the file.
+ switch(iFileType)
+ {
+ case EAscii:
+ case EUtf8:
+ {
+ // We need to convert in a loop as charconv only allows 25 untranslatable
+ // characters per block of text. convResult tells us how many characters
+ // were left untranslated at the end of iOutputBuffer so we only look at
+ // that many characters on the right hand of iOutputBuffer. Initially we
+ // don't have any characters translated so convResult is the length of
+ // iOutputBuffer. Each time through the loop write out the chunk we've
+ // converted. If there's an error writing the file or doing the character
+ // conversion we give up.
+ TInt convResult = iOutputBuffer.Length();
+ while((convResult > 0) && (error == KErrNone))
+ {
+ HBufC8* narrow = HBufC8::NewLC(convResult);
+ TPtr8 narrowPtr = narrow->Des();
+ if(iFileType == EAscii)
+ {
+ convResult = iCharconv->ConvertFromUnicode(narrowPtr, iOutputBuffer.Right(convResult));
+ }
+ else // iFileType == EUtf8
+ {
+ convResult = CnvUtfConverter::ConvertFromUnicodeToUtf8(narrowPtr, iOutputBuffer.Right(convResult));
+ }
+
+ if(convResult >= 0)
+ {
+ iSizeTally += narrow->Size();
+
+ if (!iOnlyCalculatingSize)
+ {
+ error = iXMLFile.Write(narrow->Des());
+ }
+ }
+ else
+ {
+ error = convResult;
+ }
+ CleanupStack::PopAndDestroy(narrow);
+ }
+ break;
+ }
+
+ case EUnicode:
+ {
+ TPtrC output16 = iOutputBuffer;
+ TPtrC8 output = DES_AS_8_BIT(output16);
+
+ iSizeTally += output.Size();
+
+ if (!iOnlyCalculatingSize)
+ {
+ error = iXMLFile.Write(output);
+ }
+
+ break;
+ }
+
+ default:
+ error = KErrNotSupported;
+ break;
+ }
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLFatal);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C void CMDXMLComposer::SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity)
+//
+// Sets iError to new errorcode if more serious than any error so far encountered
+//
+ {
+ if(iSeverity > aSeverity)
+ {
+ iSeverity = aSeverity;
+ iError = aErrorCode;
+ }
+ }
+
+EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport1(MMDXMLComposerObserver* /*aComposerObserver*/)
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport2()
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+EXPORT_C void CMDXMLComposer::PlaceholderForRemovedExport3()
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/src/gmxmlentityconverter.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,293 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// MDXMLEntityConverter.cpp
+// @file
+// This class represents a generic entity converter for an XML parser or composer.
+//
+//
+
+#include <f32file.h>
+#include <stringpool.h>
+
+#include <gmxmlconstants.h>
+#include <gmxmlcomposer.h>
+#include <gmxmlentityconverter.h>
+#include "xmlentityreferences.h"
+
+const TInt KMaxBuiltinEntityLength = 20;
+
+//
+// CMDXMLEntityConverter //
+//
+
+EXPORT_C CMDXMLEntityConverter::CMDXMLEntityConverter()
+//
+// Constructor
+//
+ {
+ }
+
+EXPORT_C CMDXMLEntityConverter::~CMDXMLEntityConverter()
+ {
+ }
+
+//==================================================================================
+
+TInt CMDXMLEntityConverter::EntityToTextL(TDes& aTextToConvert)
+//
+// Takes a block of text and converts any entity references found to the
+// appropriate text. Because built-in and character entity references are
+// longer than the replacement text, this takes place in-situ.
+// @param aTextToConvert Text to be converted - replacement text goes
+// out in the same
+//
+ {
+ TInt error = KErrNone;
+ TInt beginEntityOffset = 0;
+ TInt beginSearchOffset = 0;
+ TPtrC searchPtr = TPtrC(aTextToConvert);
+
+ // Need to convert all entity refs in this bit of data. Don't want to convert
+ // things more than once so we keep a marker and move it on so each time round
+ // the loop we start looking for entity references after the end of the previous
+ // one.
+ while((beginEntityOffset = searchPtr.Locate('&')) != KErrNotFound)
+ {
+ searchPtr.Set(aTextToConvert.Mid(beginSearchOffset + beginEntityOffset));
+ TInt endEntityOffset = searchPtr.Locate(';');
+ if(endEntityOffset == KErrNotFound)
+ {
+ // No point continuing past here - even if we find more & they can't be
+ // terminated either.
+ error = KErrXMLBadEntity;
+ break;
+ }
+ endEntityOffset += beginEntityOffset;
+ // Can't construct a modifiable descriptor that's just part of another one. Looks
+ // like we need to copy the section containing the reference and twiddle that, then
+ // copy the result back if it's valid.
+ HBufC* entityRef = searchPtr.Mid(0, (endEntityOffset - beginEntityOffset)+1).AllocLC();
+ TInt convertErr = KErrNone;
+ TPtr entityRefDes = entityRef->Des();
+ if((convertErr = ConvertEntityRefL(entityRefDes)) == KErrNotSupported)
+ {
+ convertErr = DTDEntityToText(entityRefDes);
+ }
+
+ if(!convertErr)
+ {
+ // We need to replace this section of aTextToConvert with entityRefDes
+ // we don't know whether DTDEntityToText has actually changed anything -
+ // because of constraints on the published behaviour of DTDEntityToText we
+ // can't compel DTDEntityToText to return KErrUnsupported - it thinks it
+ // could be dealing with multiple entity refs and just cos it doesn't support
+ // one of them doesn't mean it doesn't support the rest. Probably true that
+ // the entity ref will be a builtin, so won't need to call DTDEntityToText
+ // anyway. ConvertEntityRefL will return KErrNone only if it converted so
+ // we probably won't be copying things gratuitously in the common case.
+ aTextToConvert.Replace(beginEntityOffset + beginSearchOffset, (endEntityOffset - beginEntityOffset)+1, entityRefDes);
+ }
+ else
+ {
+ error = KErrXMLBadEntity;
+ }
+
+ beginSearchOffset += beginEntityOffset + entityRefDes.Length();
+ searchPtr.Set(aTextToConvert.Mid(beginSearchOffset));
+ CleanupStack::PopAndDestroy(entityRef);
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLEntityConverter::OutputComposedTextL( CMDXMLComposer* aComposer, const TDesC& aTextToConvert)
+//
+// Outputs a block of text to a composer with offending characters replaced by
+// entity references.
+// @param aComposer the composer to be used for output
+// @param aTextToConvert The text to be converted.
+// @return Returns KErrNone if successful or a file write error
+// @leave can Leave due to OOM
+//
+ {
+ TBuf<1> oneChar;
+ TInt offset = 0;
+ TInt error = KErrNone;
+ TInt textLen = aTextToConvert.Length();
+
+ while(error == KErrNone && (offset < textLen))
+ {
+ oneChar = aTextToConvert.Mid(offset, 1);
+ offset++;
+
+ // Built in entities
+ RStringPool pool;
+ CleanupClosePushL(pool);
+ pool.OpenL(XMLEntityReferences::Table);
+
+
+ TBool found = EFalse;
+ for (TUint i=0; i<XMLEntityReferences::Table.iCount; i++)
+ {
+ RStringF entity = pool.StringF(i, XMLEntityReferences::Table);
+ TBuf<KMaxBuiltinEntityLength> buf;
+ buf.Copy(entity.DesC());
+ TLex string(buf);
+
+ TPtrC entityRef = string.NextToken();
+ if(oneChar.Compare(string.NextToken()) == 0)
+ {
+ error = aComposer->OutputDataL(entityRef);
+ found = ETrue;
+ break;
+ }
+
+ }
+
+ CleanupStack::PopAndDestroy(); // close pool
+
+ if(!found)
+ error = aComposer->OutputDataL(oneChar);
+ else
+ found = EFalse;
+
+ }
+
+ return error;
+ }
+
+//==================================================================================
+
+TInt CMDXMLEntityConverter::DTDEntityToText(TDes& /*aTextToConvert*/)
+//
+// DTD Specific entity to text converter
+// Takes a block of text and converts any entity references found to the
+// appropriate text. We hope that this can happen in-situ.
+// @param aTextToConvert Text to be converted - replacement text goes
+// out in the same
+//
+ { // Nothing in the generic case.
+ return KErrNone;
+ }
+
+//==================================================================================
+
+TInt CMDXMLEntityConverter::ConvertEntityRefL(TDes& aTextToConvert)
+ {
+#ifdef _DEBUG
+ _LIT(KEntityConverter, "GMXML Entity Converter");
+ __ASSERT_ALWAYS(aTextToConvert.Length() > 1, User::Panic(KEntityConverter, KErrArgument));
+#endif
+
+ TInt err = KErrNotSupported;
+ TBool charRef = EFalse;
+ TInt idLen = 0;
+ TRadix elementRadix = EDecimal;
+
+ if(aTextToConvert.Find(KXMLHexidecimalId) != KErrNotFound)
+ {
+ charRef = ETrue;
+ idLen = TPtrC(KXMLHexidecimalId).Length();
+ elementRadix = EHex;
+ }
+ else if(aTextToConvert.Find(KXMLDecimalId) != KErrNotFound)
+ {
+ charRef = ETrue;
+ idLen = TPtrC(KXMLDecimalId).Length();
+ elementRadix = EDecimal;
+ }
+
+ if(charRef)
+ {
+ // Character entities
+ /*
+ algorithm explanation:
+ The entity reference in the descriptor holding the string is known by it's positions.
+ offset = offset to beginning of '&#x' from start of supplied descriptor. (0 indicates start of descriptor)
+ entitylen = offset to ';' character from the start of the entity reference.
+
+ the length of the entity preamble (&#x in this case) is known.
+
+ The algorithm assigns the required portion of the descriptor to a TLex16 object so that the
+ value of the code can be read out.
+
+ The math for the assign is as follows:
+ start of number = offset + length of preamble
+ num of characters to take = entityLen - length of preamble
+
+ The entity is then deleted from the string, and the new code is inserted in the
+ correct location.
+ The deleted characters are 'entityLen' charcters from 'offset'.
+
+
+ e.g. for the string <a href="http://www.symbian.com">
+
+ offset = 16
+ entitylen = 5
+ string assigned to lexer = '77'
+ code = 0x77 (extracted from lexer)
+
+ descriptor after delete operation:
+
+ <a href="http://&ww.symbian.com">
+
+ array dereference fills in the descriptor such that the ampersand is replaced.
+ <a href="http://www.symbian.com">
+ */
+ TInt entityLen = aTextToConvert.Length();
+
+ TLex16 element;
+ element.Assign(aTextToConvert.Mid(idLen, (entityLen - idLen)));
+
+ TUint16 code;
+ err = element.Val(code, elementRadix);
+
+ if(!err)
+ {
+ aTextToConvert.Delete(1, entityLen);
+ aTextToConvert[0] = code;
+ }
+ }
+ else
+ {
+ // Built in entities
+ RStringPool pool;
+ CleanupClosePushL(pool);
+ pool.OpenL(XMLEntityReferences::Table);
+
+
+ for (TUint i=0; (i<XMLEntityReferences::Table.iCount) && (err != KErrNone); i++)
+ {
+ RStringF entity = pool.StringF(i, XMLEntityReferences::Table);
+ TBuf<KMaxBuiltinEntityLength> buf;
+ buf.Copy(entity.DesC());
+ TLex string(buf);
+
+ TPtrC token = string.NextToken();
+ TInt offset;
+ if((offset = aTextToConvert.Find(token)) != KErrNotFound)
+ {
+ aTextToConvert.Replace(offset, token.Length(), string.NextToken());
+ err = KErrNone;
+ }
+ }
+ CleanupStack::PopAndDestroy(); //close pool
+ }
+
+ return err;
+ }
+
+// End Of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/src/gmxmlfiledatasource.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,138 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file
+// This file contains the definition of the CMDXMLParserFileDataSource class
+// which is responsible for feeding the data source interface from a given XML file.
+// The headers for this class exist in the XMLParser.h header file so that the old
+// file-based interface can be implemented using the data source API without removing
+// source compatibility for older code.
+//
+//
+
+
+#include <f32file.h>
+#include <gmxmlparser.h>
+#include "GMXMLFileDataSource.h"
+
+CMDXMLParserFileDataSource *CMDXMLParserFileDataSource::NewLC(RFs aRFs, const TDesC& aFileToParse)
+ {
+ CMDXMLParserFileDataSource* self = new (ELeave) CMDXMLParserFileDataSource();
+ CleanupStack::PushL(self);
+ self->ConstructL(aRFs, aFileToParse);
+ return self;
+ }
+
+CMDXMLParserFileDataSource *CMDXMLParserFileDataSource::NewL(RFs aRFs, const TDesC& aFileToParse)
+ {
+ CMDXMLParserFileDataSource *self = NewLC(aRFs, aFileToParse);
+ CleanupStack::Pop();
+ return self;
+ }
+
+CMDXMLParserFileDataSource* CMDXMLParserFileDataSource::NewL(RFile& aFileHandleToParse)
+ {
+ CMDXMLParserFileDataSource* me = new(ELeave) CMDXMLParserFileDataSource();
+ CleanupStack::PushL(me);
+ me->ConstructL(aFileHandleToParse);
+ CleanupStack::Pop(me);
+ return me;
+ }
+
+void CMDXMLParserFileDataSource::ConstructL(RFile& aFileHandleToParse)
+ {
+ // take ownership of file handle
+ iXMLFile = aFileHandleToParse;
+
+ // Calculate size of file
+ TInt fileSize;
+ User::LeaveIfError(iXMLFile.Size(fileSize));
+
+ // make buffer
+ iXMLFileBuffer = HBufC8::NewL(fileSize);
+ TPtr8 tmpbuffer(iXMLFileBuffer->Des());
+
+ // read file into buffer
+ User::LeaveIfError(iXMLFile.Read(tmpbuffer, fileSize));
+ iState = KInit;
+
+ iXMLFile.Close();
+ }
+
+
+CMDXMLParserFileDataSource::~CMDXMLParserFileDataSource()
+ {
+ iXMLFile.Close();
+ delete iXMLFileBuffer;
+ }
+
+CMDXMLParserFileDataSource::CMDXMLParserFileDataSource() : iState(KError), iXMLFileBuffer(0)
+ {
+ }
+
+void CMDXMLParserFileDataSource::ConstructL(RFs aRFs, const TDesC& aFileToParse)
+ {
+ User::LeaveIfError(iXMLFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly));
+
+ // Calculate size of file
+ TInt fileSize;
+ User::LeaveIfError(iXMLFile.Size(fileSize));
+
+ // make buffer
+ iXMLFileBuffer = HBufC8::NewL(fileSize);
+ TPtr8 tmpbuffer(iXMLFileBuffer->Des());
+
+ // read file into buffer
+ User::LeaveIfError(iXMLFile.Read(tmpbuffer, fileSize));
+ iState = KInit;
+
+ iXMLFile.Close();
+
+ }
+
+void CMDXMLParserFileDataSource::GetData(TPtrC8 &aPtr, TRequestStatus &aStatus)
+ {
+ TRequestStatus *s = &aStatus;
+ switch(iState)
+ {
+ case KInit:
+ aPtr.Set(iXMLFileBuffer->Des());
+ iState = KDataSent;
+ User::RequestComplete(s, KMoreData);
+ break;
+
+ case KDataSent:
+ delete iXMLFileBuffer;
+ iXMLFileBuffer = 0;
+ iState = KDone;
+ User::RequestComplete(s, KDataStreamEnd);
+ break;
+
+ case KDone:
+ User::RequestComplete(s, KDataStreamEnd);
+ break;
+
+ default:
+ User::RequestComplete(s, KDataStreamError);
+ break;
+ };
+ }
+
+void CMDXMLParserFileDataSource::Disconnect()
+ {
+ delete iXMLFileBuffer;
+ iXMLFileBuffer = 0;
+ iState = KDone;
+ }
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/src/gmxmlparser.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1962 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// @file
+// This file contains the definition of the generic CMDXMLParser class
+// which is responsible for creating a DOM structure
+// from a given XML file.
+//
+//
+
+#include <f32file.h>
+#include <utf.h>
+#include <bautils.h>
+
+#include <gmxmlconstants.h>
+#include <gmxmlcomposer.h>
+#include <gmxmlentityconverter.h>
+#include <gmxmlnode.h>
+#include <gmxmldocument.h>
+#include <gmxmlelement.h>
+#include <gmxmlparser.h>
+#include <gmxmlprocessinginstruction.h>
+#include <gmxmlcomment.h>
+#include <gmxmlcdatasection.h>
+#include <gmxmltext.h>
+
+#include "GMXMLFileDataSource.h"
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "gmxmldummydtd.h"
+#endif
+
+const TInt KGMXMLDefaultTextBufferSize = 1024;
+const TInt KUTF8EdgeBufferLen = 6;
+
+//
+// Global functions //
+//
+
+
+//==================================================================================
+
+//
+//CMDXParser //
+//
+//==================================================================================
+
+void CMDXMLParser::Panic(TPanicCode aReason) const
+ {
+ _LIT(KClassName, "CMDXMLParser");
+ User::Panic(KClassName, aReason);
+ }
+
+EXPORT_C CMDXMLParser* CMDXMLParser::NewL(MMDXMLParserObserver* aParserObserver)
+//
+// Two phase static factory function constructor
+// @return Created CMDXMLParser
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLParser* self = NewLC(aParserObserver);
+ CleanupStack::Pop();
+ return self;
+ }
+
+EXPORT_C CMDXMLParser* CMDXMLParser::NewL(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation)
+//
+// Two phase static factory function constructor
+// @return Created CMDXMLParser
+// @param aDtdRepresentation specid DTD represention class to be used for validation
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLParser* self = NewLC(aParserObserver, aDtdRepresentation);
+ CleanupStack::Pop();
+ return self;
+ }
+
+
+//==================================================================================
+
+EXPORT_C CMDXMLParser* CMDXMLParser::NewLC(MMDXMLParserObserver* aParserObserver)
+//
+// Two phase static factory function constructor
+// @return Created CMDXMLParser
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLParser* self = new (ELeave) CMDXMLParser(aParserObserver);
+ CleanupStack::PushL(self);
+ // This overload of NewLC doesn't take a MXMLDtd*, but we need to provide one to
+ // ConstructL where ownership is taken if we do have one. Just pass NULL.
+ self->ConstructL(NULL);
+ return self;
+ }
+
+EXPORT_C CMDXMLParser* CMDXMLParser::NewLC(MMDXMLParserObserver* aParserObserver, MXMLDtd* aDtdRepresentation)
+//
+// Two phase static factory function constructor
+// @return Created CMDXMLParser
+// @param aDtdRepresentation specid DTD represention class to be used for validation
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLParser* self = new (ELeave) CMDXMLParser(aParserObserver);
+ CleanupStack::PushL(self);
+ self->ConstructL(aDtdRepresentation);
+ return self;
+ }
+
+
+//==================================================================================
+
+void CMDXMLParser::ConstructL(MXMLDtd* aDtdRepresentation)
+//
+// Second stage constructor
+// @param aDtdRepresentation The DTD to be used for validation
+// @leave can Leave due to OOM
+//
+ {
+ CMDXMLEntityConverter* entityConverter = new(ELeave) CMDXMLEntityConverter();
+ SetEntityConverter(entityConverter);
+
+ // This doesn't leave, but if CMDXMLParser::NewLC() Leaves after taking ownership
+ // of this we'll get a double deletion as the caller will have pushed
+ // aDtdRepresentation onto the CleanupStack. As such we can only take ownership
+ // once we are sure we aren't going to leave.
+ iDtdRepresentation = aDtdRepresentation;
+ }
+
+CMDXMLParser::CMDXMLParser(MMDXMLParserObserver* aParserObserver)
+ : CActive(EPriorityNormal)
+//
+// Constructor
+//
+ {
+ iParserObserver = aParserObserver;
+ iStoreInvalid = ETrue;
+ CActiveScheduler::Add(this);
+ }
+
+//==================================================================================
+
+EXPORT_C CMDXMLParser::~CMDXMLParser()
+ {
+ Cancel();
+ delete iBomBuffer;
+ if( iFileSource == NULL )
+ {
+ // iFileSource has not been allocated yet, so the file path or file
+ // handle are still owned
+ if( iFileToParse!=NULL )
+ delete iFileToParse;
+ else
+ iFileHandleToParse.Close();
+ }
+ else
+ {
+ delete iFileSource;
+ }
+ delete iUTF8EdgeBuffer;
+ delete iXMLDoc;
+ delete iEntityConverter;
+ delete iElementTag;
+ delete iDtdRepresentation;
+ delete iText;
+ }
+
+//==================================================================================
+//Defect fix for INC036136- Enable the use of custom entity converters in GMXML
+EXPORT_C void CMDXMLParser::SetEntityConverter(CMDXMLEntityConverter* aEntityConverter)
+/*
+ * Sets the entity converter to be used
+ * and take ownership of the passed entity converter
+ * @param aEntityConverter The entity converter to be used
+ */
+ {
+ delete iEntityConverter;
+ iEntityConverter = aEntityConverter;
+ }
+//End Defect fix for INC036136
+//==================================================================================
+
+EXPORT_C void CMDXMLParser::SetStoreInvalid(TBool aStoreInvalid)
+ {
+ iStoreInvalid = aStoreInvalid;
+ }
+
+//==================================================================================
+// Defect fix for INC105134 - GmXML consumes whitespace characters
+//==================================================================================
+EXPORT_C void CMDXMLParser::SetWhiteSpaceHandlingMode(TBool aPreserve)
+ {
+ iPreserve = aPreserve;
+ }
+
+// End Defect fix for INC105134
+//==================================================================================
+EXPORT_C CMDXMLDocument* CMDXMLParser::DetachXMLDoc()
+//
+// @return CMDXMLDocument* to the created DOM, should be called after the
+// conclusion of the parser process. Note that internal variable pointing to
+// the document is set to NULL so this function can only be called once per file
+// parse. Client application must take ownership of document for cleanup purposes.
+//
+ {
+ CMDXMLDocument* returnDoc = iXMLDoc;
+ iXMLDoc = NULL;
+ return returnDoc;
+ }
+
+//==================================================================================
+
+CMDXMLEntityConverter* CMDXMLParser::EntityConverter()
+//
+// @return the CMDXMLEntityConverter for use in converting built in entity
+// and character entities back to their original format
+//
+ {
+ return iEntityConverter;
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLParser::ParseFile(RFs aRFs, const TDesC& aFileToParse)
+//
+// ParseFile opens a file ready for parsing
+// @param aRFs a resource file session used for file I/O
+// @param aFileToParse the file name to parse
+// @return KErrNone if all OK or file read error code
+//
+ {
+ //Find out whether the file exists. If not dont start the active object
+ if(!BaflUtils::FileExists(aRFs,aFileToParse))
+ {
+ return KErrNotFound;
+ }
+ else
+ {
+ //Check whether the file is locked by any other process
+ RFile tempFile;
+ TInt err=tempFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly);
+ if(err!=KErrNone)
+ {
+ return err;
+ }
+ tempFile.Close();
+ }
+ Cancel();
+ iSuspiciousCharacter = KErrNotFound;
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iDocTypeSet = EFalse;
+ iVersionSet = EFalse;
+
+ /* We need to open our file in a leave-safe place as it involves
+ a heap alloc, and so we'll set up the AO to do that when it runs next.
+ */
+ delete iFileToParse;
+ iFileToParse = aFileToParse.Alloc();
+ if(iFileToParse == NULL)
+ {
+ return KErrNoMemory;
+ }
+
+ iRFs = aRFs;
+ iState = KInitFromFile;
+
+ SetActive();
+ TRequestStatus* s=&iStatus;
+ User::RequestComplete(s, KErrNone);
+
+ return KErrNone;
+ }
+
+/**
+Parses a specified XML file into a DOM object tree.
+
+Parses a specified XML file into a DOM object tree using an open file handle. The
+parser takes ownership of the open file handle and will close handle when completed.
+
+@param aFileHandleToParse An open file handle for the file to parse. Ownership of the
+ file handle is passed.
+@return KErrNone if successful.
+*/
+EXPORT_C TInt CMDXMLParser::ParseFile(RFile& aFileHandleToParse)
+ {
+ iFileHandleToParse = aFileHandleToParse;
+
+ Cancel();
+ iSuspiciousCharacter = KErrNotFound;
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iDocTypeSet = EFalse;
+ iVersionSet = EFalse;
+
+ iState = KInitFromFile;
+
+ iStatus = KRequestPending;
+ SetActive();
+ TRequestStatus* s=&iStatus;
+ User::RequestComplete(s, KErrNone);
+
+ return KErrNone;
+ }
+//==================================================================================
+
+EXPORT_C void CMDXMLParser::ParseSourceL(MMDXMLParserDataProvider *aSource)
+ {
+ iSuspiciousCharacter = KErrNotFound;
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iDocTypeSet = EFalse;
+ iVersionSet = EFalse;
+
+ iDataSource = aSource;
+ PrepareForReuseL();
+ GetMoreData();
+ }
+
+//==================================================================================
+
+void CMDXMLParser::PrepareForReuseL()
+ {
+ Cancel();
+
+ iError = KErrNone;
+ iSeverity = EXMLNone;
+ iDocTypeSet = EFalse;
+ iVersionSet = EFalse;
+ iBytesPerChar = 0;
+ iNextChar = 0;
+ iInputBytesRemaining = 0;
+ iOpened = EFalse;
+ iClosed = EFalse;
+ iNewElement = NULL;
+ iParentElement = NULL;
+ delete iUTF8EdgeBuffer;
+ iUTF8EdgeBuffer = NULL;
+ delete iBomBuffer;
+ iBomBuffer = NULL;
+
+ CreateDocumentL();
+ iState = KDetermineCharset;
+ }
+
+//==================================================================================
+TBool CMDXMLParser::DetectFileType()
+//
+// Detects the type of a data source - can be Unicode, UTF-8 or ASCII (because ASCII is
+// a subset of UTF-8).
+// If the file is empty it is assumed to be Utf-8.
+ {
+ TBuf8<3> bom;
+
+ // Read the first 3 bytes of the file. These contain any BOM present. If it turns out
+ // there's not a bom we leave the pointer untouched so we can parse these bytes
+ // as usual.
+ if(iInputBufferPtr.Length() < 3)
+ return EFalse;
+ else
+ bom.Copy(iInputBufferPtr.Left(3));
+
+ TInt hichar = (CEditableText::EByteOrderMark & 0xFF00)>>8;
+ TInt lochar = CEditableText::EByteOrderMark & 0xFF;
+
+ if((bom[0] == 0xEF) && (bom[1] == 0xBB) && (bom[2] == 0xBF))
+ {
+ // Utf-8 with a bom. We don't want to parse the bom, so add 3 bytes offset to the read pos.
+ iBytesPerChar = 1;
+ iNextChar = 3;
+ }
+ else
+ {
+ if((bom[0] == lochar) && (bom[1] == hichar))
+ {
+ // Little Endian Unicode. Move the read position on 2 bytes to ignore the bom.
+ iBytesPerChar = 2;
+ // would normally skip first 2 characters
+ iNextChar = 2;
+ }
+ else if((bom[0] == hichar) && (bom[1] == lochar))
+ {
+ // We have a bom, but it indicates endianess opposite to that of the platform. We
+ // don't currently support this so set an error.
+ SetError(KErrNotSupported, EXMLFatal);
+ }
+ else
+ {
+ // Default to Utf-8
+ iBytesPerChar = 1;
+ }
+ }
+ return ETrue;
+ }
+
+//==================================================================================
+
+EXPORT_C void CMDXMLParser::DoCancel()
+//
+// DoCancel function inherited from CActive base class
+//
+ {
+ if (iDataSource)
+ {
+ iDataSource->Disconnect();
+ iDataSource = NULL;
+ }
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLParser::RunError(TInt aError)
+//
+// RunError function inherited from CActive base class - intercepts any Leave from
+// the RunL() function, sets an appropriate errorcode and calls ParseFileCompleteL
+//
+ {
+ if(iDataSource)
+ {
+ iDataSource->Disconnect();
+ iDataSource = NULL;
+ }
+
+ iSeverity = EXMLFatal;
+ iError = aError;
+ if (iFileToParse)
+ {
+ delete iFileToParse;
+ iFileToParse = NULL;
+ }
+ else if( iFileSource==NULL )
+ {
+ // iFileSource is not set so the ownership of the file handle has not been passed
+ iFileHandleToParse.Close();
+ }
+
+ __ASSERT_DEBUG(iParserObserver != NULL, Panic(ENullMemVarParserObserver));
+ TRAPD(err, iParserObserver->ParseFileCompleteL());
+ return err;
+ }
+
+//==================================================================================
+
+TBool CMDXMLParser::DoParseLoopL()
+//
+// RunL function inherited from CActive base class - carries out the actual parsing.
+// @leave can Leave due to OOM
+//
+ {
+ TBuf<1> singleChar;
+ TGetCharReturn getCharReturn = KError;
+ TInt error;
+
+ while(iSeverity != EXMLFatal && (getCharReturn = GetChar(singleChar), getCharReturn == KCharReturned) )
+ {
+
+#if 0 // THIS NEEDS TO BE REMOVED - IT'S A VERY HANDY DEBUGGING TOOL WHEN YOU'RE MANUALLY DOING
+ // BYTE ORDERING ON MISALIGNED STREAMS THOUGH...
+ {
+#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
+
+ RFs aRFs;
+ RFile aFile;
+ _LIT(KFileName, "c:\\documents\\SMIL_Test_Files\\echoOutput.txt");
+ TPtrC file;
+ TInt err;
+
+ file.Set(KFileName);
+
+ aRFs.Connect();
+
+ err = aFile.Open(aRFs, file, EFileWrite);
+ if(err != KErrNone)
+ err = aFile.Create(aRFs, file, EFileWrite);
+
+ err = 0;
+ aFile.Seek(ESeekEnd, err);
+ aFile.Write(DES_AS_8_BIT(singleChar));
+ aFile.Close();
+ aRFs.Close();
+ }
+#endif
+ if((!iOpened) && singleChar != KXMLStartTag)
+ {
+ HandleTextL(singleChar);
+ }
+
+ if((iOpened) || (singleChar == KXMLStartTag))
+ {
+ if(singleChar == KXMLStartTag)
+ {
+ if(iOpened)
+ {
+ if((iSuspiciousCharacter == KErrNotFound))
+ {
+ iSuspiciousCharacter = iElementTag->Length();
+ }
+ }
+ else
+ {
+ AddTextL(iParentElement);
+ iOpened = ETrue;
+ }
+ }
+ else if(singleChar == KXMLEndTag)
+ {
+ if(iSuspiciousCharacter != KErrNotFound)
+ {
+ TPtrC suspiciousSection = iElementTag->Mid(iSuspiciousCharacter);
+ if( CheckForStartCData(suspiciousSection) == 0 )
+ {
+ TInt endCDataLen = TPtrC(KXMLEndCDataSection).Length();
+ // The suspicious character begins a CDataSection. Check if
+ // this End Tag is closing it.
+ if( suspiciousSection.Right(endCDataLen - 1)
+ == TPtrC(KXMLEndCDataSection).Left(endCDataLen - 1) )
+ {
+ // Any dodgy characters began the CDataSection or were in it
+ iSuspiciousCharacter = KErrNotFound;
+ }
+ }
+ else if( suspiciousSection.Find(KXMLStartComment) == 0 )
+ {
+ // The suspicious character begins a comment. Check if
+ // this End Tag is closing it.
+ TInt endCommentLen = TPtrC(KXMLEndComment).Length();
+ if( suspiciousSection.Right(endCommentLen - 1)
+ == TPtrC(KXMLEndComment).Left(endCommentLen - 1) )
+ {
+ // Any dodgy characters began the comment or were in it
+ iSuspiciousCharacter = KErrNotFound;
+ }
+ }
+ else if((CheckForStartCData(*iElementTag) == 0) || (iElementTag->Find(KXMLStartComment) == 0))
+ {
+ // this tag is a CDataSection or comment, we're allowed <
+ iSuspiciousCharacter = KErrNotFound;
+ iClosed = ETrue;
+ }
+ else
+ {
+ // The < was spurious, set an error and close the tag as normal
+ SetError(KErrXMLIllegalCharacter, EXMLWorkable);
+ iClosed = ETrue;
+ iSuspiciousCharacter = KErrNotFound;
+ }
+ }
+ else
+ {
+ iClosed = ETrue;
+ }
+ }
+
+ // ensure descriptor doesn't overflow end and panics
+ if(iElementTag->Length() == iElementTag->Des().MaxLength())
+ {
+ iElementTag = iElementTag->ReAllocL(iElementTag->Length() + KNominalTagLength);
+ }
+
+ iElementTag->Des().Append(singleChar);
+
+ // if tag is complete and needs adding to the DOM?
+ if(iClosed)
+ {
+ if( !CommentL(iParentElement)
+ && !CDataSectionL(iParentElement)
+ && !VersionIDL()
+ && !DocTypeL()
+ && !ProcessingInstructionL(iParentElement) )
+ {
+ // is this a regular closing tag
+ if
+ (iElementTag->Left(2) == KXMLStartEndTag)
+ {
+ error = ParseElementEndTag(*iParentElement, iElementTag->Des());
+ if(error == KErrNone)
+ {
+ if(iParentElement->ParentNode() == NULL)
+ {
+ SetError(KErrXMLBadNesting, EXMLIndeterminate);
+ }
+ else
+ {
+ iParentElement = (CMDXMLElement*) iParentElement->ParentNode();
+ }
+ }
+ else if(error == KErrNotFound)
+ {
+ CMDXMLElement* tempElement = (CMDXMLElement*) iParentElement->ParentNode();
+ TInt searchResult = KErrNotFound;
+
+ while(tempElement != NULL &&
+ searchResult == KErrNotFound &&
+ tempElement->NodeName() != KXMLDocumentElementNodeName)
+ {
+ searchResult = ParseElementEndTag(*tempElement,iElementTag->Des());
+ if(searchResult == KErrNone)
+ {
+ iParentElement = tempElement;
+ SetError(KErrXMLBadNesting, EXMLIndeterminate);
+ }
+ else
+ {
+ tempElement = (CMDXMLElement*) tempElement->ParentNode();
+ }
+ }
+ if(searchResult != KErrNone)
+ {
+ SetError(KErrXMLBadNesting, EXMLIndeterminate);
+ }
+ }
+ else
+ {
+ SetError(error, EXMLIndeterminate);
+ }
+ }
+ // if a new element start tag or start/end tag
+ else
+ {
+ // NOTE ParseStartTagL destroys iElementTag
+ // so following check must be done first
+
+ // if not single tag with close
+ if(!(iElementTag->Right(2) == KXMLEndStartTag))
+ {
+ iNewElement = ParseStartTagL();
+ CleanupStack::PushL(iNewElement);
+ error = iParentElement->AppendChild(iNewElement);
+
+ if(error == KErrNone)
+ {
+ CleanupStack::Pop(); // iNewElement
+ iParentElement = (CMDXMLElement*) iParentElement->LastChild();
+ }
+ else
+ {
+ SetError(error, EXMLWorkable);
+ CleanupStack::PopAndDestroy(iNewElement); // iNewElement
+ }
+ }
+ else
+ {
+ iNewElement = ParseStartTagL();
+ CleanupStack::PushL(iNewElement);
+ error = iParentElement->AppendChild(iNewElement);
+
+ if(error == KErrNone)
+ {
+ CleanupStack::Pop(iNewElement); // iNewElement
+ }
+ else
+ {
+ SetError(error, EXMLWorkable);
+ CleanupStack::PopAndDestroy(iNewElement); // iNewElement
+ }
+ }
+ }
+ iEndOfTag = ETrue;
+ }
+
+ if(iEndOfTag)
+ {
+ iEndOfTag = EFalse;
+ iOpened = iClosed = EFalse;
+ iElementTag->Des().Zero();
+
+ // reduce size of ElementTag if increased beyond normal limits on last pass
+ if(iElementTag->Des().MaxLength() > KNominalTagLength)
+ {
+ iElementTag = iElementTag->ReAllocL(KNominalTagLength);
+ }
+ }
+ }
+ }
+ } // END OF WHILE LOOP
+
+ if(getCharReturn == KError)
+ {
+ return EFalse;
+ }
+ else
+ {
+ // GetChar returned KWEaitForChar
+ // GetChar handles pushing the state and requesting more data for us, so we just go active.
+ return ETrue;
+ }
+ }
+
+
+
+
+//==================================================================================
+
+void CMDXMLParser::RunL()
+ {
+ TRequestStatus* s=&iStatus;
+ TInt err = s->Int();
+
+ switch(iState)
+ {
+ case KInitFromFile:
+ delete iFileSource;
+ iFileSource = NULL;
+ if( iFileToParse == NULL )
+ {
+ // iFileToParse is not set, file was passed by open file handle.
+ iFileSource = CMDXMLParserFileDataSource::NewL(iFileHandleToParse);
+ }
+ else
+ {
+ iFileSource = CMDXMLParserFileDataSource::NewL(iRFs, *iFileToParse);
+
+ delete iFileToParse;
+ iFileToParse = NULL;
+ }
+
+ ParseSource(iFileSource); // will go active itself
+ break;
+
+ case KDetermineCharset:
+ if(!iBytesPerChar)
+ {
+ if(DetectFileType())
+ {
+ iState = KParseData;
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ }
+ else
+ {
+ if(!iBomBuffer)
+ {
+ iBomBuffer = HBufC8::NewL(KUTF8EdgeBufferLen);
+ }
+
+ TPtr8 bomDes(iBomBuffer->Des());
+ TInt newLength = bomDes.Length() + iCurrentInputBufferLen;
+ iBomBuffer->ReAlloc(newLength);
+
+ bomDes.Append(iInputBufferPtr);
+ if(iBomBuffer->Length() >=3)
+ {
+ iInputBufferPtr.Set(bomDes);
+ iCurrentInputBufferLen = newLength;
+
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ }
+ else
+ {
+ GetMoreData();
+ }
+ }
+ }
+ else
+ {
+ iState = KParseData;
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ }
+ break;
+
+ case KWaitingForData:
+ switch(err)
+ {
+ case MMDXMLParserDataProvider::KMoreData:
+ // We got more data this time, make sure all the parameters are correct.
+ iCurrentInputBufferLen = iInputBufferPtr.Length();
+
+ iState = iPreviousState;
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ break;
+
+ case MMDXMLParserDataProvider::KDataStreamEnd:
+ iState = KFinished;
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ break;
+
+ default:
+ case MMDXMLParserDataProvider::KDataStreamError:
+ User::Leave(KErrCorrupt);
+ break;
+ }
+
+ break;
+
+ case KParseData:
+ if(!iParentElement) // initialise the parsing
+ {
+ iOpened = EFalse;
+ iClosed = EFalse;
+ // If we're going through the tag and find a < we don't know whether
+ // it will be valid (eg it starts a CDataSection) or whether it's an
+ // illegal character. Store its index so that when we're a bit further
+ // along in the string we can check whether it was allowed and if not
+ // set an Illegal Character error.
+ delete iNewElement;
+ iNewElement = NULL;
+
+ __ASSERT_DEBUG(iXMLDoc != NULL, Panic(ENullMemVarXMLDoc));
+ iParentElement = iXMLDoc->DocumentElement();
+
+ delete iElementTag;
+ iElementTag = NULL;
+ iElementTag = HBufC::NewL(KNominalTagLength);
+ }
+
+ if(!iBytesPerChar)
+ {
+ // assume ascii/UTF8
+ iBytesPerChar = 1;
+ }
+
+ if(!DoParseLoopL())
+ iState = KFinished;
+
+ break;
+
+ case KFinished:
+ // Check for any errors that we can pick up now, like missing doctype, or incomplete content
+ CheckForErrors();
+
+ // we want to leave this instance in a safe state where it can be restarted again with a single call to ParseSource.
+ // cannot delete this element, as it belongs to the document...
+ iParentElement = NULL;
+ iState = KDetermineCharset;
+
+ iDataSource->Disconnect();
+ iDataSource=NULL;
+ __ASSERT_DEBUG(iParserObserver != NULL, Panic(ENullMemVarParserObserver));
+ iParserObserver->ParseFileCompleteL();
+ break;
+
+ default:
+ User::Leave(KErrUnknown);
+ break;
+ }
+ }
+
+void CMDXMLParser::CheckForErrors()
+ {
+ if(iError == KErrNone)
+ {
+ if(iParentElement)
+ {
+ // if iParentElement is not pointing to dummy root node, there has been a problem
+ if( (iParentElement == NULL) || (iParentElement->NodeName() != KXMLDocumentElementNodeName) )
+ {
+ SetError(KErrXMLIncomplete, EXMLWorkable);
+ }
+ else if(!iParentElement->CheckChildren())
+ {
+ SetError(KErrXMLInvalidChild, EXMLWorkable);
+ }
+ else if(iParentElement->FirstChild() != NULL)
+ {
+ // multiple real (not dummy) root elements
+ TInt count = 0;
+ CMDXMLNode* iterator = iParentElement->FirstChild();
+ do
+ {
+ if(iterator->NodeType() == CMDXMLNode::EElementNode)
+ {
+ count++;
+ }
+ iterator = iterator->NextSibling();
+ }
+ while(iterator != NULL);
+
+ if(count != 1)
+ {
+ SetError(KErrXMLMultipleRootElements, EXMLWorkable);
+ }
+ }
+ }
+ }
+ if(iError == KErrNone && !iDocTypeSet)
+ {
+ SetError(KErrXMLMissingDocTypeTag, EXMLWorkable);
+ }
+
+ if(iError == KErrNone && !iVersionSet)
+ {
+ SetError(KErrXMLMissingVersionTag, EXMLWorkable);
+ }
+ }
+
+
+void CMDXMLParser::CreateDocumentL()
+//
+// Creates a generic or DTD-specific document object
+// @leave can Leave due to OOM
+//
+ {
+ delete iXMLDoc;
+ iXMLDoc = NULL;
+
+ if (iDtdRepresentation != NULL)
+ iXMLDoc = CMDXMLDocument::NewL(*iDtdRepresentation);
+ else
+ iXMLDoc = CMDXMLDocument::NewL();
+ }
+
+
+//==================================================================================
+
+TBool CMDXMLParser::DocTypeL()
+//
+// @return Returns true if the current tag is a doctype tag and sets the
+// Document DocType member accordingly on the first pass of this function.
+//
+ {
+ TBool returnValue = EFalse;
+ TInt tagIdLen = TPtrC(KXMLDocumentTypes).Length();
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ if(iElementTag->Length() > tagIdLen
+ && iElementTag->Left(tagIdLen) == KXMLDocumentTypes)
+ {
+ if(iDocTypeSet)
+ {
+ SetError(KErrXMLDuplicateDocTypeTags, EXMLWorkable);
+ }
+ else
+ {
+ iXMLDoc->SetDocTypeTagL(iElementTag->Des());
+ iDocTypeSet = ETrue;
+ }
+ returnValue = ETrue;
+ iEndOfTag = ETrue;
+ }
+
+ return returnValue;
+ }
+
+//==================================================================================
+
+TBool CMDXMLParser::ProcessingInstructionL(CMDXMLElement* aParentElement)
+//
+// creates a new processing instruction if necessary and adds to document
+// @return Returns true if the current tag is a processing instruction
+//
+ {
+ TBool returnValue = EFalse;
+ TInt startPILen = TPtrC(KXMLStartProcessingInstruction).Length();
+ TInt endPILen = TPtrC(KXMLEndProcessingInstruction).Length();
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ if((iElementTag->Left(startPILen) == KXMLStartProcessingInstruction) &&
+ (iElementTag->Right(endPILen) == KXMLEndProcessingInstruction))
+ {
+ if(aParentElement != NULL)
+ {
+ CMDXMLProcessingInstruction* inst = CMDXMLProcessingInstruction::NewLC(iXMLDoc);
+
+ TPtrC instStr = iElementTag->Des().Mid(startPILen,
+ iElementTag->Length() - (startPILen + endPILen));
+ inst->SetDataL(instStr);
+
+ __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
+ TInt error = aParentElement->AppendChild(inst);
+ CleanupStack::Pop(inst);
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLWorkable);
+ }
+ }
+
+ returnValue = ETrue;
+ iEndOfTag = ETrue;
+ }
+
+ return returnValue;
+ }
+
+
+//==================================================================================
+
+TBool CMDXMLParser::CDataSectionL(CMDXMLElement* aParentElement)
+//
+// creates a new CDataSection if necessary and adds to document
+// @return Returns true if the current tag is a CDataSection
+//
+ {
+ TBool returnValue = EFalse;
+ TInt instLen = TPtrC(KXMLStartCDataSection).Length();
+ TInt endCDataLen = TPtrC(KXMLEndCDataSection).Length();
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ if (iElementTag->Left(instLen) == KXMLStartCDataSection)
+ {
+ returnValue = ETrue;
+ if ((iElementTag->Right(endCDataLen) == KXMLEndCDataSection) && (aParentElement != NULL))
+ {
+ CMDXMLCDATASection* inst = CMDXMLCDATASection::NewLC(iXMLDoc);
+
+ TPtrC instStr = iElementTag->Des().Mid(instLen,
+ iElementTag->Length() - (instLen + endCDataLen));
+ inst->SetDataL(instStr);
+
+ __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
+ TInt error = aParentElement->AppendChild(inst);
+ CleanupStack::Pop(); // inst
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLWorkable);
+ }
+ }
+ iEndOfTag = ETrue;
+ }
+
+ return returnValue;
+ }
+
+
+//==================================================================================
+
+TBool CMDXMLParser::VersionIDL()
+//
+// @return returns true if the current tag is a version id tag and sets the
+// Document Version member accordingly on the first pass of this function.
+//
+ {
+ TBool returnValue = EFalse;
+ TInt tagIdLen = TPtrC(KXMLVersion).Length();
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ if(iElementTag->Length() > tagIdLen
+ && iElementTag->Left(tagIdLen) == KXMLVersion)
+ {
+ if(iVersionSet)
+ {
+ SetError(KErrXMLDuplicateVersionTags, EXMLWorkable);
+ }
+ else
+ {
+ iXMLDoc->SetVersionTagL(iElementTag->Des());
+ iVersionSet = ETrue;
+ }
+ returnValue = ETrue;
+ iEndOfTag = ETrue;
+ }
+
+ return returnValue;
+ }
+
+//==================================================================================
+
+TBool CMDXMLParser::CommentL(CMDXMLElement* aParentElement)
+//
+// creates a new comment if necessary and adds to document
+// @return returns true if the current tag is a comment tag
+//
+ {
+ TBool returnValue = EFalse;
+ TInt commentLen = TPtrC(KXMLStartComment).Length();
+ TInt endCommentLen = TPtrC(KXMLEndComment).Length();
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ if (iElementTag->Left(commentLen) == KXMLStartComment)
+ {
+ returnValue = ETrue;
+ if ((aParentElement != NULL) && (iElementTag->Right(endCommentLen) == KXMLEndComment))
+ {
+ CMDXMLComment* comment = CMDXMLComment::NewLC(iXMLDoc);
+
+ TPtrC commentStr = iElementTag->Des().Mid(commentLen,
+ iElementTag->Length() - (commentLen + endCommentLen));
+ comment->SetDataL(commentStr);
+
+ __ASSERT_DEBUG(aParentElement != NULL, Panic(ENullParameterParentElement));
+ TInt error = aParentElement->AppendChild(comment);
+ CleanupStack::Pop(); // comment
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLWorkable);
+ }
+ iEndOfTag = ETrue;
+ }
+ }
+
+ return returnValue;
+ }
+
+//==================================================================================
+
+EXPORT_C void CMDXMLParser::SetSourceCharacterWidth(TMDXMLParserInputCharWidth aWidth)
+ {
+ iBytesPerChar = aWidth;
+ }
+
+//==================================================================================
+
+void CMDXMLParser::GetMoreData()
+ {
+
+ // Prepare these variables.
+ iNextChar = 0; // reading from the start of the buffer
+ iCurrentInputBufferLen = 0; // we have no characters in the buffer
+ iUnicodeConversion.Zero(); // we have no characters in our UTF8->Unicode Conversion buffer.
+ iUnicodeConversionLen = 0;
+ iUnicodeReadPos = 0;
+
+ // Request more data from the data provider
+ __ASSERT_DEBUG(iDataSource != NULL, Panic(ENullMemVarDataSource));
+ iDataSource->GetData(iInputBufferPtr, iStatus);
+ SetActive();
+ iPreviousState = iState;
+ iState = KWaitingForData;
+ }
+
+//==================================================================================
+
+CMDXMLParser::TGetCharReturn CMDXMLParser::GetDoubleByteChar(TDes& aChar)
+ // when inputing we have a pointer to an 8 bit buffer (iInputBufferPtr), for unicode
+ // input we point a 16 bit descriptor (tempUnicodeInput) at the 8 bit buffer to
+ // enable us to read the 2 x 8 bit chars as a single 16 bit char.
+ // However it isn't always this simple as the data provider interface makes no guarantees
+ // on the alignment of this data. It's perfectly possible for it to end up with a unicode
+ // character where the high byte comes from the previous buffer and the low byte comes from
+ // the current one. This will put the rest of the current buffer out of line, and also all
+ // subsequent buffers unless an odd length buffer is provided. Hopfully this won't happen often.
+ {
+ aChar.Zero();
+
+ if(iUnicodeInputMisaligned)
+ {
+ TUint16 tempOut;
+ TUint8* tempRead;
+ tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
+
+ if(iCurrentInputBufferLen - iNextChar >=1)
+ {
+ // if we saved a byte last time, lets use that first
+ if(iSpareChar.Length())
+ {
+ tempOut = iSpareChar[0];
+ iSpareChar.Zero();
+ }
+ else if(iCurrentInputBufferLen - iNextChar >=2)
+ {
+ // we didn't save a byte, so we read from the stream.
+ tempOut = *tempRead;
+ tempRead++;
+ iNextChar++;
+ }
+ else
+ {
+ // our input stream must have been an odd length - this might cause alignment problems,
+ // so we need to start reading bytewise for a while
+ iUnicodeInputMisaligned = ETrue;
+
+ TUint8* tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
+ TUint16 tempVal = (TUint16)(*tempRead << 8);
+ iSpareChar.Copy(&tempVal,1);
+
+ GetMoreData();
+ return KWaitForChar;
+
+ }
+
+ // second byte (high byte) of our output comes from the input stream in all cases.
+ tempOut |= ((*tempRead & 0xFF) << 8);
+ iNextChar++;
+
+ TPtrC16 readDes(&tempOut, 1);
+ aChar = readDes.Left(1);
+ }
+ }
+ else if(iCurrentInputBufferLen - iNextChar >= 2)
+ {
+ // we may be in a position where we don't know we're going to lose a byte
+ // so we'll test for that ahead of time, and then handle that in the normal way
+
+ // if we execute this, it means that we have two bytes available to read.
+ const TUint16* word = reinterpret_cast<const TUint16*>((iInputBufferPtr.Ptr() + iNextChar));
+ TPtrC16 tempUnicodeInput(word, 2);
+ aChar = tempUnicodeInput.Left(1);
+ iNextChar+=2;
+ return KCharReturned;
+ }
+
+ TInt bytesRemaining = iCurrentInputBufferLen - iNextChar;
+
+ switch(bytesRemaining)
+ {
+ case 1:
+ {
+ // our input stream must have been an odd length - this might cause alignment problems,
+ // so we need to start reading bytewise for a while
+
+ TUint8* tempRead = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
+ TUint16 tempVal = *tempRead;
+ iSpareChar.Copy(&tempVal,1);
+ iUnicodeInputMisaligned = ETrue;
+ iNextChar++;
+ if(!aChar.Length())
+ {
+ GetMoreData();
+ return KWaitForChar;
+ }
+ }
+ break;
+ case 0:
+ {
+ // we're at the end of this block, and it's turned out to be re-aligned.
+ // we can read subsequent blocks in 16-bit chunks.
+ iUnicodeInputMisaligned = EFalse;
+ }
+ break;
+ }
+
+ return KCharReturned;
+ }
+
+//==================================================================================
+
+CMDXMLParser::TGetCharReturn CMDXMLParser::GetSingleByteChar(TDes& aChar)
+ {
+ // We have UTF8/ASCII Source, and we must need to convert some more if we got here.
+ iUnicodeConversion.Zero();
+ iUnicodeConversionLen = 0;
+ iUnicodeReadPos = 0;
+
+ // if we are not operating out of the edge buffer yet, work on the real one
+ if(!iUTF8EdgeBuffer)
+ {
+ // This is an 8 bit encoding, probably UTF-8, but could be ASCII. Because
+ // ASCII is valid UTF-8 we can just convert what we have to Unicode.
+ // We're going to convert a number of characters at a time here.
+ TInt inputBytesRemaining = iCurrentInputBufferLen - iNextChar;
+ TInt convResult;
+ TPtrC8 tempPtr( (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar, inputBytesRemaining );
+
+ convResult = CnvUtfConverter::ConvertToUnicodeFromUtf8(iUnicodeConversion, tempPtr);
+ if((convResult >= 0) || (convResult == KErrCorrupt))
+ {
+ // Sometimes the UTF8 decoder might return corrupt if it only gets a single character
+ // in this case we ignore the error and report that we have converted 0 characters
+ if (convResult == KErrCorrupt)
+ convResult = tempPtr.Length();
+
+ // This is the number of bytes converted.
+ // Keep an eye out in case there is no change in the character consumed count.
+ TInt bytesConverted = inputBytesRemaining - convResult;
+
+ // We consumed characters. Make our input buffer read position correct.
+ iNextChar += bytesConverted;
+
+ // Make our intermediate buffering correct and return the first character out of our buffer
+ // subsequent calls will just return characters from this buffer.
+ iUnicodeConversionLen = iUnicodeConversion.Length();
+ aChar = iUnicodeConversion.Left(1);
+ iUnicodeReadPos = 1;
+
+ if(convResult && convResult < KUTF8EdgeBufferLen)
+ {
+ TUint8* multiByteCheck = (TUint8*)(iInputBufferPtr.Ptr()) + iNextChar;
+
+ // There is a possibility that we've got an edge case here
+ //check if our left over character is in fact UTF8.
+ if((0x80 & *multiByteCheck) != 0)
+ {
+ // Shift 'convResult' characters off into the edge buffer.
+ delete iUTF8EdgeBuffer;
+ iUTF8EdgeBuffer = HBufC8::New(KUTF8EdgeBufferLen);
+ *iUTF8EdgeBuffer = iInputBufferPtr.Right(convResult);
+
+ TUint8 bitMask = 0x80;
+ TInt byteCount = 0;
+ while(bitMask && (bitMask & (iUTF8EdgeBuffer->Des()[0])) != 0)
+ {
+ bitMask >>= 1;
+ byteCount++;
+ };
+
+ if(!bitMask)
+ {
+ // the utf8 stream appears to be corrupt.
+ SetError(KError, EXMLFatal);
+ return KError;
+ }
+ // we need to find byteCount characters to make up the character currently stored in the edge
+ // buffer.
+ iRequiredUTF8Bytes = byteCount - iUTF8EdgeBuffer->Length();
+
+ // set the variables up so that we return any converted characters, and then begin work
+ // on the edge buffer (where we've already cached the remaining bytes if any)
+ // NOTE: We will return all the characters which we preconverted into iUnicodeConversion *before*
+ // we begin dealing with the edge buffer, because of the structure of this function.
+ iNextChar = iCurrentInputBufferLen;
+
+ if (bytesConverted == 0)
+ // If no bytes were converted then there is nothing to return,
+ // we need to wait for more data and then conbine it with what we have
+ // just put on the edge buffer.
+ {
+ // need more bytes to finish this character.
+ GetMoreData();
+ return KWaitForChar;
+ }
+ }
+ }
+ }
+
+ else
+ {
+ return KError; // something failed in the UTF8 Converter.
+ }
+ }
+ else
+ {
+ // We are converting the UTF8 Edge Buffer. We know that in it's current state, it
+ // can't be converted to Unicode.
+ // Decide if we have enough characters in our current input stream to convert to an
+ // output character (or two) yet.
+
+ if(iUTF8EdgeBuffer->Length() >= KUTF8EdgeBufferLen)
+ {
+ // our edge buffer reached the maximum length for a UTF8 character
+ // and we haven't managed to convert a unicode output.
+ // this means that the input stream is corrupt.
+ delete iUTF8EdgeBuffer;
+ iUTF8EdgeBuffer = NULL;
+
+ // Report a fatal error.
+ SetError(KError, EXMLFatal);
+ return KError;
+ }
+ else
+ {
+ TInt convResult;
+
+ // we know how many bytes are required in order to complete the utf8 buffer
+ TInt bytesAvailable = iCurrentInputBufferLen - iNextChar;
+
+ if(bytesAvailable >= iRequiredUTF8Bytes)
+ {
+ // we have enough bytes to complete this character.
+ // Go ahead and convert then return it.
+ iUTF8EdgeBuffer->Des().Append(iInputBufferPtr.Mid(iNextChar, iRequiredUTF8Bytes));
+ iUnicodeConversion.Zero();
+ convResult = CnvUtfConverter::ConvertToUnicodeFromUtf8(iUnicodeConversion, iUTF8EdgeBuffer->Des());
+
+ // regardless if we managed to convert this buffer or not, we don't need it any more.
+ delete iUTF8EdgeBuffer;
+ iUTF8EdgeBuffer = NULL;
+
+ // make sure we report any error in the conversion
+ if(convResult != 0)
+ {
+ // we either incorrectly calculated the required number of bytes or the
+ // stream is corrupt. Either way we have a fatal error.
+ SetError(KError, EXMLFatal);
+ return KError;
+ }
+
+ // Make our intermediate buffering correct and return the first character out of our buffer
+ // subsequent calls will just return characters from this buffer.
+ iUnicodeConversionLen = iUnicodeConversion.Length();
+ aChar = iUnicodeConversion.Left(1);
+ iUnicodeReadPos = 1;
+
+ // set up the main input buffers so that the next char comes from the input stream.
+ iNextChar += iRequiredUTF8Bytes;
+ iRequiredUTF8Bytes = 0;
+ }
+ else
+ {
+ // we haven't got enough bytes to complete this character, store the
+ // available byte(s) and request more data.
+ iUTF8EdgeBuffer->Des().Append(iInputBufferPtr.Mid(iNextChar, bytesAvailable));
+
+ // Move the next character index on for as many bytes as we have just added to the edge buffer
+ iNextChar += bytesAvailable;
+ // We can reduce the number of bytes require by the number of bytes added to the edge buffer
+ iRequiredUTF8Bytes -= bytesAvailable;
+
+ // need more bytes to finish this character.
+ GetMoreData();
+ return KWaitForChar;
+ }
+ }
+ }
+
+ return KCharReturned;
+ }
+
+//==================================================================================
+
+CMDXMLParser::TGetCharReturn CMDXMLParser::GetChar(TDes& aChar)
+//
+// Fetch one character from the input file
+// @param aChar the returned character.
+// @return returns true if a character returned or false if the file is finished
+//
+ {
+ // first test - see if we're providing preconverted characters.
+ if(iUnicodeConversionLen && iUnicodeReadPos < iUnicodeConversionLen)
+ {
+ // return one of the preconverted chars.
+ aChar = iUnicodeConversion.Mid(iUnicodeReadPos, 1);
+ iUnicodeReadPos++;
+
+ return KCharReturned;
+ }
+
+ // Second test - see if we require more data. If we have converted data and we require
+ // more data, this code is not intelligent enough to request data from the provider
+ // early, but that's ok.
+
+ // Buffer length held as a member variable for performance reasons
+ // this function will be accessed thousands of times
+ if(iCurrentInputBufferLen <= iNextChar)
+ {
+ GetMoreData();
+ return KWaitForChar;
+ }
+
+ // return the character, handling any of the buffer shuffling we need to do.
+ if(iBytesPerChar == 2)
+ return GetDoubleByteChar(aChar);
+ else
+ return GetSingleByteChar(aChar);
+ }
+
+//==================================================================================
+
+CMDXMLElement* CMDXMLParser::ParseStartTagL()
+//
+// Parse a start of element tag and create an element with attributes set.
+// @return Returns a pointer to the created element
+// @leave can Leave due to OOM
+//
+ {
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+
+ // there must be at least two angle brackets and a single character to be meaningful
+ if(iElementTag->Length() < 3)
+ return NULL;
+
+ CMDXMLElement* newElement = NULL;
+ TPtr elementTagPtr = iElementTag->Des();
+
+ // remove the angle brackets and trim white space
+ if(iElementTag->Right(TPtrC(KXMLEndStartTag).Length()) == KXMLEndStartTag)
+ elementTagPtr = iElementTag->Left(iElementTag->Length() - TPtrC(KXMLEndStartTag).Length());
+ else
+ elementTagPtr = iElementTag->Left(iElementTag->Length() - TPtrC(KXMLEndTag).Length());
+
+ elementTagPtr = iElementTag->Right(iElementTag->Length() - TPtrC(KXMLStartTag).Length());
+ elementTagPtr.Trim();
+
+ // find out where the name ends and the attributes begin
+ TLex16 element(elementTagPtr);
+ element.SkipCharacters();
+ TInt endOfName = element.Offset();
+
+ // separate out the name from the attributes
+ HBufC* elementName = (iElementTag->Left(endOfName)).AllocLC();
+ TPtr elementNamePtr = elementName->Des();
+ elementNamePtr.TrimRight();
+
+ TInt error = KErrNone;
+
+ __ASSERT_DEBUG(iXMLDoc != NULL, Panic(ENullMemVarXMLDoc));
+
+ TBool validElement = iXMLDoc->ValidElementNameL(elementNamePtr);
+ if(validElement || iStoreInvalid)
+ {
+ // remove the actual name from the tag so we only pass on the attributes
+ elementTagPtr = iElementTag->Right(iElementTag->Length() - endOfName);
+ elementTagPtr.TrimLeft();
+ newElement = CMDXMLElement::NewLC(iXMLDoc->CanElementHaveChildren(elementNamePtr), iXMLDoc, elementNamePtr);
+
+ error = ParseElementAttributesL(*newElement, elementTagPtr);
+ CleanupStack::Pop();
+ }
+ if(!validElement)
+ {
+ error = KErrXMLInvalidElement;
+ }
+
+ CleanupStack::PopAndDestroy(elementName); // elementName
+
+ if(error != KErrNone)
+ {
+ SetError(error, EXMLWorkable);
+ }
+
+ return newElement;
+
+ }
+
+
+TInt CMDXMLParser::ParseElementAttributesL(CMDXMLElement& aElement, TDes& aTagToParse)
+//
+// This function is used to parse the attributes.
+// @param aElement The element to which the attributes belong
+// @param aTagToParse The tag to be parsed
+// @return Returns KErrNone if both attribute name & value are valid
+// KErrXMLBadAttributeName if attribute name is invalid or KErrXMLBadAttributeValue is invalid
+// @leave can Leave due to OOM
+//
+ {
+ TInt error = KErrNone;
+ TInt attributeError = KErrNone;
+ HBufC* attributeName = NULL;
+ HBufC* attributeValue = NULL;
+ TBuf<1> attributeDelimiter; // may be " or '
+ TInt offset = KErrNone;
+
+ offset = aTagToParse.Find(KEqualSign);
+ while(offset != KErrNotFound)
+ {
+ attributeName = TPtrC(aTagToParse.Left(offset)).AllocLC();
+ TPtr attributeNamePtr = attributeName->Des();
+ attributeNamePtr.TrimRight(); // remove white space that existed between name and equal sign
+
+ // remove current attribute name and equal sign from string
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
+ aTagToParse.TrimLeft(); // remove white space that existed between equal sign and delimiter
+
+ if(error == KErrNone && aTagToParse.Length() < 2) // a name must be at followed by at least 2 delimiters
+ {
+ error = KErrXMLBadAttributeName;
+ // In this case, there is insufficient tag left to contain any more attributes
+ }
+ else if(error == KErrNone && aElement.IsAttributeSpecified(*attributeName))
+ {
+ error = KErrXMLDuplicateAttributeName;
+ // We need to remove the attribute value from the tag string or it will be
+ // picked up as part of the next attribute name.
+ attributeDelimiter = aTagToParse.Left(1);
+
+ // Check in case we've got a missing " at the beginning of the attribute. If
+ // we do, we need to try a different strategy to find the end of this attribute
+ if (attributeDelimiter != KQuotation && attributeDelimiter != KApostrophe)
+ {
+ offset = LocateNextAttribute(aTagToParse);
+ }
+ else
+ {
+ // remove start delimiter then search for next one (end delimiter)
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - 1);
+ offset = FindDelimiter(aTagToParse, attributeDelimiter);
+ }
+
+ if(offset != KErrNotFound)
+ {
+ // remove current attribute value and delimiter
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
+ aTagToParse.TrimLeft(); // remove white space that existed between delimiter and next name
+ }
+ }
+ else
+ {
+ attributeDelimiter = aTagToParse.Left(1);
+
+ if (attributeDelimiter != KQuotation && attributeDelimiter != KApostrophe)
+ {
+ // This attribute doesn't have a valid delimiter. Try and find the beginning of the next
+ // attribute and just cut this one.
+ TInt nextAttribute = LocateNextAttribute(aTagToParse);
+ if(nextAttribute > 0)
+ {
+ // Add one to next attribute because the offset includes the whitespace before it
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - (nextAttribute + 1));
+ }
+
+ if (error == KErrNone)
+ {
+ error = KErrXMLBadAttributeValue;
+ }
+ }
+ else
+ {
+ // remove start delimiter then search for next one (end delimiter)
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - 1);
+
+ offset = FindDelimiter(aTagToParse, attributeDelimiter);
+ if(offset != KErrNotFound)
+ {
+ attributeValue = TPtrC(aTagToParse.Left(offset)).AllocLC();
+ TPtr attributeValuePtr = attributeValue->Des();
+ attributeValuePtr.TrimRight(); // remove white space that existed between value and delimiter
+
+ // remove current attribute value and delimiter
+ aTagToParse = aTagToParse.Right(aTagToParse.Length() - (offset + 1));
+ aTagToParse.TrimLeft(); // remove white space that existed between delimiter and next name
+
+ // Entity convert this attribute
+ attributeError = ParseSingleAttributeL(attributeValuePtr);
+ if( attributeError != KErrNone && error == KErrNone)
+ {
+ error = attributeError;
+ }
+
+ attributeError = aElement.SetAttributeL(*attributeName, *attributeValue, iStoreInvalid);
+ if( attributeError != KErrNone && error == KErrNone)
+ {
+ error = KErrXMLInvalidAttribute;
+ }
+ CleanupStack::PopAndDestroy(attributeValue); //attributeValue
+ }
+ else if(error == KErrNone)
+ {
+ error = KErrXMLBadAttributeValue;
+ }
+ }
+ }
+
+ // next attribute pair
+ offset = aTagToParse.Find(KEqualSign);
+ CleanupStack::PopAndDestroy(attributeName); //attributeName
+ }
+
+ if(error == KErrNone && aTagToParse.Length() != 0)
+ {
+ error = KErrXMLBadAttributeValue;
+ }
+
+ return error;
+ }
+
+TInt CMDXMLParser::LocateNextAttribute(const TDesC& aTagToParse)
+ {
+ // Find the next attribute by looking for an = then search back for a ' '.
+ // This is useful when you've hit rubbish parsing the content of a start tag
+ // and are looking for somewhere sensible to start.
+ TInt nextAttribute = KErrNotFound;
+ TInt offset = aTagToParse.Find(KEqualSign);
+
+ // If the = is the first character then there isn't space for a ' ' so
+ // don't bother looking
+ if(offset > 0)
+ {
+ TPtrC invalidText = aTagToParse.Left(offset);
+ nextAttribute = invalidText.LocateReverse(' ');
+ }
+
+ return nextAttribute;
+ }
+
+TInt CMDXMLParser::ParseElementEndTag(CMDXMLElement& aElement, const TDesC& aTagToParse)
+//
+// Parses an end tag. In fact, at this point the end tag must match
+// the tag name of the start tag.
+// @param aTagToParse Text of the end tag.
+// @return Returns KErrNone if the end tag matches the start tag or KErrNotFound if there is a mismatch.
+//
+ {
+ // The tag should be of the form '</tag>' where tag is the name of this element so we will
+ // check and strip off the surrounding </ > and then compare the remains with this #
+ // node name.
+ TInt retVal = KErrNone;
+ if( aTagToParse.Length() != (aElement.NodeName().Length()+3))
+ {
+ retVal = KErrNotFound;
+ }
+ else
+ {
+ TInt startEndTagLen = TPtrC(KXMLStartEndTag).Length();
+ TInt endTagLen = TPtrC(KXMLEndTag).Length();
+
+ if((aTagToParse.Left(startEndTagLen).Compare(KXMLStartEndTag) == 0) &&
+ (aTagToParse.Right(endTagLen).Compare(KXMLEndTag) == 0))
+ {
+ if(aElement.NodeName().Compare(aTagToParse.Mid(2,
+ aTagToParse.Length() - (startEndTagLen + endTagLen))) != 0)
+ {
+ retVal = KErrNotFound;
+ }
+ }
+ }
+ return retVal;
+ }
+
+
+//==================================================================================
+
+EXPORT_C void CMDXMLParser::SetError(const TInt aErrorCode, const TXMLErrorCodeSeverity aSeverity)
+//
+// Sets iError to new errorcode if more serious than any error so far encountered
+//
+ {
+ if(iSeverity > aSeverity)
+ {
+ iSeverity = aSeverity;
+ iError = aErrorCode;
+ }
+ }
+
+//==================================================================================
+
+EXPORT_C TInt CMDXMLParser::Error() const
+ {
+ return iError;
+ }
+
+//==================================================================================
+
+EXPORT_C TXMLErrorCodeSeverity CMDXMLParser::ErrorSeverity() const
+ {
+ return iSeverity;
+ }
+
+//==================================================================================
+
+void CMDXMLParser::HandleTextL(TDes& aChar)
+//
+// Called when a character is read in and found to bo outside of an element tag
+//
+ {
+ // Save the text in a buffer.
+ // This text will get added as as a child element when the next tag is encounted.
+ if (iText == NULL)
+ iText = HBufC::NewL(KGMXMLDefaultTextBufferSize);
+
+ if (iText->Length() == iText->Des().MaxLength())
+ // The buffer will overflow if we add another character.
+ // Need to reallocate.
+ {
+ iText = iText->ReAllocL(iText->Des().MaxLength() + KGMXMLDefaultTextBufferSize);
+ }
+
+ iText->Des().Append(aChar);
+ }
+
+TBool CMDXMLParser::EndOfCDataSection()
+ {
+ TBool endOfCData = EFalse;
+ TPtrC cdataEndSection(KXMLEndCDataSection);
+ TInt instLen = TPtrC(KXMLEndCDataSection).Length()-1;
+
+ __ASSERT_DEBUG(iElementTag != NULL, Panic(ENullMemVarElementTag));
+ if(iElementTag->Right(instLen) == cdataEndSection.Left(instLen))
+ {
+ if(iElementTag->Left(instLen) == KXMLStartCDataSection)
+ endOfCData = ETrue;
+ }
+
+ return endOfCData;
+ }
+
+TInt CMDXMLParser::CheckForStartCData(const TDesC& aTextToCheck)
+ {
+ TInt index;
+ index = aTextToCheck.Find(KXMLStartCDataSection);
+ return index;
+ }
+
+TInt CMDXMLParser::FindDelimiter(TDesC& aDataToSearch, TDesC& aDelimiterToFind)
+ {
+ TInt currentOffset = 0;
+ TInt nextDelimiter = KErrNotFound;
+ TBool valid = EFalse;
+ TPtrC unsearchedData(aDataToSearch);
+
+ while (!valid && ((nextDelimiter = unsearchedData.Find(aDelimiterToFind)) != KErrNotFound))
+ {
+ // If this isn't the first time round the loop (When currentOffset == 0) we're moved
+ // our attention to the character after the delimiter we found, so add one to currentOffset
+ if(currentOffset != 0)
+ {
+ currentOffset += 1;
+ }
+ // We have a delimiter, add the position of this to currentOffset
+ currentOffset += nextDelimiter;
+
+ // Check whether this delimiter is in a CDataSection, it's valid if it isn't
+ TPtrC delimiterToCheck = aDataToSearch.Left(currentOffset);
+ valid = !InCDataSection(delimiterToCheck);
+
+ // Move on to the next section of text in case this one wasn't valid
+ unsearchedData.Set(aDataToSearch.Mid(currentOffset + 1));
+ }
+
+ if ((nextDelimiter == KErrNotFound) && (!valid))
+ {
+ return KErrNotFound;
+ }
+ else
+ {
+ return currentOffset;
+ }
+ }
+
+void CMDXMLParser::AddTextL(CMDXMLElement* aParentElement)
+ {
+ if ((aParentElement != NULL) && (iText != NULL))
+ // Add any buffered text to the parent element unless it contains only whitespace
+ {
+ // Strip off any leading whitespace
+ TInt stripCounter = 0;
+
+ if (!iPreserve) // GmXML consumes whitespace characters
+ {
+ TBool endOfWhitespace = EFalse;
+ while ((stripCounter < iText->Length()) && (!endOfWhitespace))
+ {
+ // If character is not 0x20 (space) and not between 0x09 and 0x0d
+ // it isn't whitespace
+ if( ((*iText)[stripCounter] != 0x20) &&
+ !((*iText)[stripCounter] >= 0x09 && (*iText)[stripCounter] <= 0x0d))
+ {
+ endOfWhitespace = ETrue;
+ }
+ else
+ {
+ stripCounter++;
+ }
+ }
+ }
+
+ HBufC* strippedText = TPtrC(iText->Right(iText->Length() - stripCounter)).AllocLC();
+
+ if (strippedText->Length() > 0)
+ // If there is anything left of the stripped text then entity convert and add it.
+ {
+ TPtr toConvert = strippedText->Des();
+ TInt error = iEntityConverter->EntityToTextL(toConvert);
+ if( error != KErrNone )
+ {
+ SetError(error, EXMLIndeterminate);
+ }
+ CMDXMLText* textElement = CMDXMLText::NewLC(iXMLDoc);
+ textElement->SetDataL(*strippedText);
+ CleanupStack::Pop(textElement);
+ TInt err = aParentElement->AppendChild(textElement);
+ if(err != KErrNone)
+ {
+ SetError(err, EXMLWorkable);
+ }
+ }
+
+ CleanupStack::PopAndDestroy(strippedText);
+ iText->Des().Zero();
+ }
+ }
+
+TBool CMDXMLParser::InCDataSection(TDesC& aDataToSearch)
+ {
+ TBool inCDataSection = EFalse;
+ TInt startCData = CheckForStartCData(aDataToSearch);
+ TInt endCData = 0;
+
+ while ((startCData != KErrNotFound) && !inCDataSection)
+ {
+ // We only want to look for the end of the CDataSection in the part of
+ // aDataToSearch after the start of the CDataSection. We know that the
+ // first (TPtrC)KXMLStartCDataSection.Length() of the data we're looking
+ // at won't match because it's the start tag, but it's probably more
+ // efficient to check the extra few characters than to work out the
+ // length of the tag so we can ignore them.
+ startCData += endCData;
+ TPtrC afterStart = aDataToSearch.Mid(startCData);
+ endCData = afterStart.Find(KXMLEndCDataSection);
+ if (endCData == KErrNotFound)
+ {
+ // We haven't found a match for the start of the CDataSection so
+ // we must still be in it -> "<" is valid.
+ inCDataSection = ETrue;
+ }
+ else
+ {
+ // We found a match for the start of the CDataSection. Check to
+ // see if another one has started since then.
+ endCData += startCData;
+ TPtrC afterEnd = aDataToSearch.Mid(endCData);
+ startCData = CheckForStartCData(afterEnd);
+ }
+ }
+
+ return inCDataSection;
+ }
+
+TInt CMDXMLParser::ParseSingleAttributeL(TDes& aAttributeValue)
+ {
+ TInt error = KErrNone;
+ TInt beginSection = 0;
+ TInt endSection = aAttributeValue.Find(KXMLStartCDataSection);
+
+ // We've found at least one CDataSection
+ while(endSection != KErrNotFound)
+ {
+ // Entity convert this plain text section
+ HBufC* textToConvert = TPtrC(aAttributeValue.Mid(beginSection, endSection)).AllocLC();
+ TPtr toConvert = textToConvert->Des();
+ error = iEntityConverter->EntityToTextL(toConvert);
+ aAttributeValue.Replace(beginSection, endSection, *textToConvert);
+ CleanupStack::PopAndDestroy(textToConvert);
+
+ // Move on our markers. We start the new section at the end of the old one.
+ beginSection += endSection;
+ // The end of this new section is the end of the CDataSection
+ endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLEndCDataSection);
+
+ if(endSection != KErrNotFound)
+ {
+ // Now move on our markers again. Start at the end of the CDataSection,
+ // plus the length of the end tag, and continue to the beginning of the next one.
+ beginSection += endSection + TPtrC(KXMLEndCDataSection).Length();
+ endSection = TPtrC(aAttributeValue.Mid(beginSection)).Find(KXMLStartCDataSection);
+ }
+ else
+ {
+ // There's an unterminated CDataSection in our attribute
+ error = KErrXMLBadAttributeValue;
+ }
+ }
+
+ // There are no more CDataSections, entity convert the rest of the string
+ if(!error)
+ {
+ HBufC* textToConvert = TPtrC(aAttributeValue.Mid(beginSection)).AllocLC();
+ TPtr toConvert = textToConvert->Des();
+ error = iEntityConverter->EntityToTextL(toConvert);
+ aAttributeValue.Replace(beginSection, (aAttributeValue.Length()-beginSection), *textToConvert);
+ CleanupStack::PopAndDestroy(textToConvert);
+ }
+
+ return error;
+ }
+
+
+EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport1(MMDXMLParserObserver* /*aParserObserver*/)
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport2(MMDXMLParserObserver* /*aParserObserver*/, MXMLDtd* /*aDtdRepresentation*/)
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+EXPORT_C void CMDXMLParser::PlaceholderForRemovedExport3()
+ {
+ User::Panic(KLDRIMPORT, KLdrImportedOrdinalDoesNotExist);
+ }
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/strings/SMILAttributes.st Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,289 @@
+# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
+!/**
+!An Example String Table
+!@publishedAll
+!@released
+!*/
+# XML String table
+fstringtable SMILAttributes
+#
+# Standard SMIL Element, Attributes & Values
+#
+EAAccessKey a accesskey
+EAActuate a actuate onLoad onRequest
+EAAlt a alt
+EABegin a begin
+EAClass a class
+EADestinationLevel a destinationLevel
+EADestinationPlaystate a destinationPlaystate pause play stop
+EADur a dur
+EAEnd a end
+EAExternal a external false true
+EAFill a fill freeze hold remove transition
+EAHref a href
+EAId a id
+EAMax a max
+EAMin a min
+EARepeatCount a repeatCount
+EARepeatDur a repeatDur
+EAShow a show new pause replace
+EASourceLevel a sourceLevel
+EASourcePlaystate a sourcePlaystate pause play stop
+EATabIndex a tabindex
+EATarget a target
+EATitle a title
+EAXMLLang a xml:lang
+EAnchorBaseAccessKey anchorBase accesskey
+EAnchorBaseActuate anchorBase actuate onLoad onRequest
+EAnchorBaseAlt anchorBase alt
+EAnchorBaseBegin anchorBase begin
+EAnchorBaseClass anchorBase class
+EAnchorBaseCoOrds anchorBase coords
+EAnchorBaseDestLevel anchorBase destinationLevel
+EAnchorBaseDestinationPlaystate anchorBase destinationPlaystate pause play stop
+EAnchorBaseDur anchorBase dur
+EAnchorBaseEnd anchorBase end
+EAnchorBaseEndsync anchorBase endsync
+EAnchorBaseExternal anchorBase external false true
+EAnchorBaseFill anchorBase fill hold freeze remove transition
+EAnchorBaseHRef anchorBase href
+EAnchorBaseId anchorBase id
+EAnchorBaseMax anchorBase max
+EAnchorBaseMin anchorBase min
+EAnchorBase anchorBase nohref nohref
+EAnchorBaseRepeat anchorBase repeat
+EAnchorBaseRepeatCnt anchorBase repeatCount
+EAnchorBaseRepeatDur anchorBase repeatDur
+EAnchorBaseShape anchorBase shape circle default poly rect
+EAnchorBaseShow anchorBase show new pause replace
+EAnchorBaseSkipContent anchorBase skip-content false true
+EAnchorBaseSourceLev anchorBase sourceLevel
+EAnchorBaseSourcePlaystate anchorBase sourcePlaystate pause play stop
+EAnchorBaseTabIndex anchorBase tabindex
+EAnchorBaseTarget anchorBase target
+EAnchorBaseTitle anchorBase title
+EAnchorBaseXMLLang anchorBase xml:lang
+EBodyClass body class
+EBodyId body id
+EBodyTitle body title
+EBodyXMLLang body xml:lang
+EHeadClass head class
+EHeadId head id
+EHeadTitle head title
+EHeadXMLLang head xml:lang
+ELayoutClass layout class
+ELayoutId layout id
+ELayoutSysAudioDesc layout systemAudioDesc off on
+ELayoutSysBitrate layout systemBitrate
+ELayoutSysCPU layout systemCPU
+ELayoutSysCaptions layout systemCaptions off on
+ELayoutSysComp layout systemComponent
+ELayoutSysLang layout systemLanguage
+ELayoutSysOS layout systemOperatingSystem
+ELayoutSysOverCap layout systemOverdubOrSubtitle overdub subtitle
+ELayoutSysReq layout systemRequired
+ELayoutSysScrnDepth layout systemScreenDepth
+ELayoutSysScrnSize layout systemScreenSize
+ELayoutTitle layout title
+ElayoutType layout type
+ELayoutXMLLang layout xml:lang
+EMediaAbstract media abstract
+EMediaAlt media alt
+EMediaAuthor media author
+EMediaBegin media begin
+EMediaClass media class
+EMediaClipHypBegin media clip-begin
+EMediaClipHypEnd media clip-end
+EMediaClipBegin media clipBegin
+EMediaClipEnd media clipEnd
+EMediaCopyright media copyright
+EMediaCustomTest media customTest
+EMediaDur media dur
+EMediaEnd media end
+EMediaEndsync media endsync
+EMediaFill media fill freeze hold remove transition
+EMediaId media id
+EMediaLongDesc media longdesc
+EMediaMax media max
+EMediaMin media min
+EMediaReadIndex media readIndex
+EMediaRegion media region
+EMediaRepeat media repeat
+EMediaRepeatCount media repeatCount
+EMediaRepeatDur media repeatDur
+EMediaSrc media src
+EMediaSysHypBitrate media system-bitrate
+EMediaSysHypCap media system-captions
+EMediaSysHypLang media system-language
+EMediaSysHypOverCap media system-overdub-or-caption caption overdub
+EMediaSysHypReq media system-required
+EMediaSysHypScrnDepth media system-screen-depth
+EMediaSysHypScrnSize media system-screen-size
+EMediaSysAudioDesc media systemAudioDesc off on
+EMediaSysBitrate media systemBitrate
+EMediaSysCPU media systemCPU
+EMediaSysCaptions media systemCaptions off on
+EMediaSysComp media systemComponent
+EMediaSysLang media systemLanguage
+EMediaSysOS media systemOperatingSystem
+EMediaSysOverCap media systemOverdubOrSubtitle overdub subtitle
+EMediaSysReq media systemRequired
+EMediaSysScrnDepth media systemScreenDepth
+EMediaSysScrnSize media systemScreenSize
+EMediaTitle media title
+EMediaTransIn media transIn
+EMediaTransOut media transOut
+EMediaType media type
+EMediaXMLLang media xml:lang
+EMetaClass meta class
+EMetaContent meta content
+EMetaId meta id
+EMetaName meta name
+EMetaSkipContent meta skip-content false true
+EMetaTitle meta title
+EMetaXMLLang meta xml:lang
+EMetadataClass metadata class
+EMetadataId metadata id
+EMetadataSkipContent metadata skip-content false true
+EMetadataTitle metadata title
+EMetadataXMLLang metadata xml:lang
+EPrefetchBandwith prefetch bandwidth
+EPrefetchClass prefetch class
+EPrefetchId prefetch id
+EPrefetchMediaSize prefetch mediaSize
+EPrefetchMediaTime prefetch mediaTime
+EPrefetchSkipContent prefetch skip-content false true
+EPrefetchSrc prefetch src
+EPrefetchSysAudioDesc prefetch systemAudioDesc off on
+EPrefetchSysBitrate prefetch systemBitrate
+EPrefetchSysCPU prefetch systemCPU
+EPrefetchSysCaptions prefetch systemCaptions off on
+EPrefetchSysComp prefetch systemComponent
+EPrefetchSysLang prefetch systemLanguage
+EPrefetchSysOS prefetch systemOperatingSystem
+EPrefetchSysOvrdubSub prefetch systemOverdubOrSubtitle
+EPrefetchSysRequired prefetch systemRequired
+EPrefetchSysScrnDepth prefetch systemScreenDepth
+EPrefetchSysScrnSize prefetch systemScreenSize
+EPrefetchTitle prefetch title
+EPrefetchXMLLang prefetch xml:lang
+ERegionBGHypCol region background-color
+ERegionBGCol region backgroundColor
+ERegionBottom region bottom
+ERegionClass region class
+ERegionClose region close never whenNotActive
+ERegionFit region fit fill hidden meet scroll slice
+ERegionHeight region height
+ERegionId region id
+ERegionLeft region left
+ERegionOpen region open always whenActive
+ERegionRegionName region regionName
+ERegionRight region right
+ERegionShowBG region showBackground always whenActive
+ERegionSkipContent region skip-content false true
+ERegionTitle region title
+ERegionTop region top
+ERegionWidth region width
+ERegionXMLLang region xml:lang
+ERegionZIndex region z-index
+ERootLayoutBGHypCol root-layout background-color
+ERootLayoutBGCol root-layout backgroundColor
+ERootLayoutClass root-layout class
+ERootLayoutClose root-layout close never whenNotActive
+ERootLayoutHeight root-layout height
+ERootLayoutId root-layout id
+ERootLayoutOpen root-layout open always whenActive
+ERootLayoutSkipContent root-layout skip-content false true
+ERootLayoutTitle root-layout title
+ERootLayoutWidth root-layout width
+ERootLayoutXMLLang root-layout xml:lang
+ESMILClass smil class
+ESMILId smil id
+ESMILSysAudioDesc smil systemAudioDesc off on
+ESMILSysBitrate smil systemBitrate
+ESMILSysCPU smil systemCPU
+ESMILSysCaptions smil systemCaptions off on
+ESMILSysComp smil systemComponent
+ESMILSysLang smil systemLanguage
+ESMILSysOS smil systemOperatingSystem
+ESMILSysOverCap smil systemOverdubOrSubtitle overdub subtitle
+ESMILSysReq smil systemRequired
+ESMILSysScrnDepth smil systemScreenDepth
+ESMILSysScrnSize smil systemScreenSize
+ESMILTitle smil title
+ESMILXMLLang smil xml:lang
+ESMILXMLNS smil xmlns
+ESwitchClass switch class
+ESwitchId switch id
+ESwitchSysAudioDesc switch systemAudioDesc off on
+ESwitchSysBitrate switch systemBitrate
+ESwitchSysCPU switch systemCPU
+ESwitchSysCaptions switch systemCaptions off on
+ESwitchSysComp switch systemComponent
+ESwitchSysLang switch systemLanguage
+ESwitchSysOS switch systemOperatingSystem
+ESwitchSysOverCap switch systemOverdubOrSubtitle overdub subtitle
+ESwitchSysReq switch systemRequired
+ESwitchSysScrnDepth switch systemScreenDepth
+ESwitchSysScrnSize switch systemScreenSize
+ESwitchTitle switch title
+ESwitchXMLLang switch xml:lang
+ETimingAbstract timing abstract
+ETimingAuthor timing author
+ETimingBegin timing begin
+ETimingClass timing class
+ETimingCopyright timing copyright
+ETimingCustomTest timing customTest
+ETimingDur timing dur
+ETimingEnd timing end
+ETimingEndSync timing endsync
+ETimingFill timing fill freeze hold remove transition
+ETimingId timing id
+ETimingMax timing max
+ETimingMin timing min
+ETimingRepeat timing repeat
+ETimingRepeatCount timing repeatCount
+ETimingRepeatDur timing repeatDur
+ETimingSysHypBitRate timing system-bitrate
+ETimingSysHypCaptions timing system-captions on off
+ETimingSysHypLang timing system-language
+ETimingSysHypOverCap timing system-overdub-or-caption caption overdub
+ETimingSysHypReq timing system-required
+ETimingSysHypScrnDepth timing system-screen-depth
+ETimingSysHypScrnSize timing system-screen-size
+ETimingSysAudioDesc timing systemAudioDesc off on
+ETimingSysBitrate timing systemBitrate
+ETimingSysCPU timing systemCPU
+ETimingSysCaptions timing systemCaptions off on
+ETimingSysComp timing systemComponent
+ETimingSysLang timing systemLanguage
+ETimingSysOS timing systemOperatingSystem
+ETimingSysOverdubSub timing systemOverdubOrSubtitle
+ETimingSysReq timing systemRequired
+ETimingSysScrnDepth timing systemScreenDepth
+ETimingSysScrnSize timing systemScreenSize
+ETimingTitle timing title
+ETimingXMLLAng timing xml:lang
+ETransitionClass transition class
+ETransitionDirecton transition direction forward reverse
+ETransitionDur transition dur
+ETransitionEndProg transition endProgress
+ETransitionFadeCol transition fadeColor
+ETransitionId transition id
+ETransitionSkipContent transition skip-content false true
+ETransitionStartProg transition startProgress
+ETransitionSubtype transition subtype
+ETransitionSysAudioDesc transition systemAudioDesc off on
+ETransitionSysBitrate transition systemBitrate
+ETransitionSysCPU transition systemCPU
+ETransitionSysCaptions transition systemCaptions off on
+ETransitionSysComp transition systemComponent
+ETransitionSysLang transition systemLanguage
+ETransitionSysOS transition systemOperatingSystem
+ETransitionSysOvrdubSub transition systemOverdubOrSubtitle
+ETransitionSysRequired transition systemRequired
+ETransitionSysScrnDepth transition systemScreenDepth
+ETransitionSysScrnSize transition systemScreenSize
+ETransitionTitle transition title
+ETransitionType transition type
+ETransitionXMLLang transition xml:lang
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/strings/SMILElements.st Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,46 @@
+# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
+!/**
+!An Example String Table
+!@publishedAll
+!@released
+!*/
+# XML String table
+fstringtable SMILElements
+#
+# Standard SMIL Elements
+#
+Ea a
+EAnchor anchor
+EAnimate animate
+EAnimateColor animateColor
+EAnimateMotion animateMotion
+EAnimation animation
+EArea area
+EAudio audio
+EBody body
+EBrush brush
+ECustomAttributes customAttributes
+ECustomTest customTest
+EExcl excl
+EHead head
+EImg img
+ELayout layout
+EMeta meta
+EMetadata metadata
+EPar par
+EParam param
+EPrefetch prefetch
+EpriorityClass priorityClass
+ERef ref
+ERegion region
+ERegPoint regPoint
+ERootLayout root-layout
+ESeq seq
+ESmil smil
+ESwitch switch
+EText text
+ETextstream textstream
+ETopLayout topLayout
+ETransition transition
+ETransitionFilter transitionFilter
+EVideo video
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/strings/SMILGenericElements.st Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,22 @@
+# Copyright (c) Symbian Software Ltd 2008. All rights reserved.
+!/**
+!An Example String Table
+!@publishedAll
+!@released
+!*/
+# XML String table
+fstringtable SMILGenericElements
+#
+# Standard SMIL Elements & Generic Equivalent
+#
+EAnchorBase anchor anchorBase
+EAnimationBase animation media
+EAreaBase area anchorBase
+EAudioBase audio media
+EImgBase img media
+EParBase par timing
+ERefBase ref media
+ESeqBase seq timing
+ETextBase text media
+ETextstreamBase textstream media
+EVideoBase video media
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/strings/XMLEntityReferences.st Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+# XML String table
+fstringtable XMLEntityReferences
+#
+# Standard XML Entity References
+# These are assumed to have a maximum length of 20 in the generic
+# entity converter. If any built in entity reference is added
+# with a length greater than 20 the value of KMaxBuiltinEntityLength
+# in GMXMLEntityConverter.cpp will need to be modified.
+#
+ELT < <
+EAmp & &
+EGt > >
+EDbleQuote " \"
+ESingleQuote ' '
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/GmxmlTest.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1 @@
+This is a test file for t_gmxmlfailure test harness.
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/GmxmlTestUtils.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,324 @@
+// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+#include "GmxmlTestUtils.h"
+
+
+_LIT(KMsvTestFileOutputBase,"MsgLogs");
+
+// this is used if we can't find MsgLogs anywhere
+_LIT(KMsvTestFileDefaultOutputBase,"\\MsgLogs\\");
+_LIT(KMsvPathSep,"\\");
+#define KMaxLogLineLength 256
+
+
+
+//
+//
+// CTestTimer
+//
+//
+
+ CTestTimer::CTestTimer()
+: CTimer(EPriorityLow)
+ {}
+
+ void CTestTimer::RunL()
+ {
+ if (!iReport)
+ {
+ CActiveScheduler::Stop();
+ }
+ else
+ {
+ User::RequestComplete(iReport, iStatus.Int());
+ iReport = NULL;
+ }
+ }
+
+ CTestTimer* CTestTimer::NewL()
+ {
+ CTestTimer* self = new(ELeave) CTestTimer();
+ CleanupStack::PushL(self);
+ self->ConstructL(); // CTimer
+ CActiveScheduler::Add(self);
+ CleanupStack::Pop();
+ return self;
+ }
+
+ void CTestTimer::AfterReq(TTimeIntervalMicroSeconds32 aSec, TRequestStatus& aStatus)
+ {
+ iReport = &aStatus;
+ aStatus = KRequestPending;
+ After(aSec);
+ }
+
+
+//
+//
+// CTestUtils
+//
+//
+
+ CTestUtils::CTestUtils(RTest& aRTest)
+: iRTest(aRTest), iLogToConsole(ETrue), iLogToFile(ETrue)
+ {
+ TBuf<256> command;
+ User::CommandLine(command);
+
+ command.Trim();
+ SetRunAuto(command.FindF(KTestShowMenu) == KErrNotFound);
+
+ if (!RunAuto())
+ iRTest.Printf(_L("Not Run Auto. Command line: %S\n"), &command);
+ }
+
+ CTestUtils::~CTestUtils()
+ {
+ CloseMainLog();
+ iFs.Close();
+ }
+
+ void CTestUtils::ConstructL()
+ {
+ User::LeaveIfError(iFs.Connect());
+ OpenMainLogL();
+ WriteToLog(KTestHeader);
+ }
+
+ void CTestUtils::Printf(TRefByValue<const TDesC> aFmt,...)
+ {
+ // Print to the log file.
+ TTestOverflow overflow(*this);
+ VA_LIST list;
+ VA_START(list, aFmt);
+ TBuf<0x100> aBuf;
+ aBuf.AppendFormatList(aFmt, list, &overflow);
+
+ if (iLogToConsole)
+ {
+ iRTest.Printf(aBuf);
+ }
+
+ if (iLogToFile)
+ {
+ WriteComment(aBuf);
+ }
+ }
+
+
+ void CTestUtils::CreateAllTestDirectories()
+ {
+ TChar driveChar=RFs::GetSystemDriveChar();
+ TBuf<2> systemDrive;
+ systemDrive.Append(driveChar);
+ systemDrive.Append(KDriveDelimiter);
+
+ iFs.SetSessionPath(systemDrive);
+
+ if (!iFs.MkDir(KLogsDir))
+ {
+ Printf(_L("Created c:\\logs\\ directory\n"));
+ }
+ }
+
+ TInt CTestUtils::ResolveLogFile(const TDesC& aFileName, TParse& aParseOut)
+ {
+ TFileName* savedPath = new TFileName;
+ TFileName* fileName = new TFileName;
+ if ((savedPath == NULL) || (fileName == NULL))
+ return KErrNoMemory;
+
+ fileName->Append(KMsvPathSep);
+ fileName->Append(KMsvTestFileOutputBase);
+ fileName->Append(KMsvPathSep);
+
+ // file finder will look in the session drive first, then Y->A,Z
+ // so set session drive to Y (save old and restore it afterwards)
+ iFs.SessionPath(*savedPath);
+ _LIT(KTopDrive,"Y:\\");
+ iFs.SetSessionPath(KTopDrive);
+ TFindFile file_finder(iFs);
+ TInt err = file_finder.FindByDir(*fileName,KNullDesC);
+
+ if(err==KErrNone)
+ {
+ fileName->Copy(file_finder.File());
+ AppendTestName(*fileName);
+ fileName->Append(KMsvPathSep);
+ fileName->Append(aFileName);
+ iFs.MkDirAll(*fileName);
+ aParseOut.Set(*fileName,NULL,NULL);
+ }
+ iFs.SetSessionPath(*savedPath);
+ delete savedPath;
+ delete fileName;
+ return(err);
+ }
+
+ TBool CTestUtils::RunAuto() const
+ {
+ return iRunAuto;
+}
+
+ void CTestUtils::SetRunAuto(TBool aRunAuto)
+ {
+ iRunAuto = aRunAuto;
+ }
+
+
+// appends .<PLATFORM>.<VARIANT>.log to aFileName;
+void CTestUtils::AppendVariantName(TDes& aFileName)
+ {
+#if (defined(__THUMB__) || defined(__MARM_THUMB__))
+ aFileName.Append(_L(".THUMB."));
+#endif
+#if (defined(__ARMI__) || defined(__MARM_ARMI__))
+ aFileName.Append(_L(".ARMI."));
+#endif
+#if (defined(__ARM4__) || defined(__MISA__) || defined(__MARM_ARM4__))
+ aFileName.Append(_L(".ARM4."));
+#endif
+#if defined(__WINSCW__)
+ aFileName.Append(_L(".WINSCW."));
+#else
+#if defined(__WINS__)
+ aFileName.Append(_L(".WINS."));
+#endif
+#endif
+
+#if defined(_DEBUG)
+ aFileName.Append(_L("DEB."));
+#else
+ aFileName.Append(_L("REL."));
+#endif
+ aFileName.Append(_L("LOG"));
+ }
+
+// appends the test harness name to aFileName
+void CTestUtils::AppendTestName(TDes &aFileName)
+ {
+ TInt start = RProcess().FileName().LocateReverse('\\');
+ TInt end = RProcess().FileName().LocateReverse('.');
+
+ if (end == KErrNotFound)
+ end = RProcess().FileName().Length();
+
+ aFileName.Append(RProcess().FileName().Mid(start + 1, end - start - 1));
+ }
+
+
+
+TInt CTestUtils::OpenMainLogL()
+ {
+ _LIT(KDisplayLogFile,"Log File %S\n");
+ TParse loglocation;
+ TFileName logfile;
+ TInt err=ResolveLogFile(KNullDesC, loglocation);
+ if(err!=KErrNone)
+ {
+ TChar driveChar=RFs::GetSystemDriveChar();
+ TBuf<2> systemDrive;
+ systemDrive.Append(driveChar);
+ systemDrive.Append(KDriveDelimiter);
+ TPath pathName(systemDrive) ;
+ pathName.Append(KMsvTestFileDefaultOutputBase);
+ iFs.MkDirAll(pathName);
+ err=ResolveLogFile(KNullDesC, loglocation);
+ }
+ User::LeaveIfError(err);
+ logfile.Copy(loglocation.FullName());
+ logfile.Delete(logfile.Length()-1,1);
+ AppendVariantName(logfile);
+ iRTest.Printf(KDisplayLogFile, &logfile);
+ iFs.MkDirAll(logfile);
+
+ iLogBuf=HBufC::NewL(KMaxLogLineLength);
+ iLogBuf8=HBufC8::NewL(KMaxLogLineLength);
+ return(iFile.Replace(iFs,logfile,EFileWrite|EFileShareAny));
+ }
+
+void CTestUtils::CloseMainLog()
+ {
+ delete iLogBuf;
+ iLogBuf=0;
+ delete iLogBuf8;
+ iLogBuf8=0;
+
+ iFile.Close();
+ }
+
+
+ void CTestUtils::TestStart(TInt aTest, const TDesC& aTestDescription)
+ {
+ WriteToLog(KTestStartingWithDesc, aTest, &aTestDescription);
+ }
+
+
+ void CTestUtils::TestFinish(TInt aTest, TInt aError)
+ {
+ aError ?
+ WriteToLog(KTestFailed, aTest, aError)
+ : WriteToLog(KTestPassed, aTest);
+ }
+
+
+ void CTestUtils::TestHarnessCompleted()
+ {
+ WriteToLog(KTestHarnessCompleted);
+ }
+
+ void CTestUtils::TestHarnessFailed(TInt aError)
+ {
+ WriteToLog(KTestHarnessFailed, aError);
+ }
+
+ void CTestUtils::WriteComment(const TDesC& aComment)
+ {
+ /* Prepends KTestCommentPrepend to aComment, then writes it to aFlogger */
+
+ TBuf<0x100> buf;
+ buf.Copy(aComment);
+ buf.Trim();
+ buf.Insert(0,KTestCommentPrepend);
+ WriteToLog(buf);
+ }
+
+void CTestUtils::WriteToLog(TRefByValue<const TDesC> aFmt,...)
+ {
+
+ _LIT(KDateFormatString, "%D%M%*Y%1%/1%2%/2%3 %H%:1%T%:2%S ");
+ _LIT(Kcr,"\r\n");
+ iLogBuf->Des().Zero();
+ TTime date;
+ date.HomeTime();
+ TBuf<18> dateString;
+
+ TRAPD(error,date.FormatL(dateString,(KDateFormatString)));
+ if(error)
+ {
+ dateString.Copy(_L("Invalid Date"));
+ }
+ iLogBuf->Des().Copy(dateString);
+
+ VA_LIST list;
+ VA_START(list,aFmt);
+
+ iLogBuf->Des().AppendFormatList(aFmt,list);
+ iLogBuf->Des().Append(Kcr);
+ iLogBuf8->Des().Copy(*iLogBuf);
+ iFile.Write(*iLogBuf8);
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/GmxmlTestUtils.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,144 @@
+// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef GMXML_TEST_UTILS_H_
+#define GMXML_TEST_UTILS_H_
+
+#include <f32file.h>
+#include <e32test.h>
+#include <simtsy.h>
+
+
+// Constants
+
+//Test Harness Logging
+
+#define KLogsDir _L("c:\\logs\\")
+#define KTestHeader _L("Test Results")
+#define KTestStartingWithDesc _L("Test %d Starting (%S)")
+#define KTestPassed _L("Test %d OK")
+#define KTestFailed _L("Test %d FAILED (error = %d)")
+#define KTestHarnessCompleted _L("Tests Completed")
+#define KTestHarnessFailed _L("Tests FAILED (error = %d)")
+#define KTestCommentPrepend _L(" ")
+
+#define KTestShowMenu _L("/manual")
+
+
+//
+//
+// CTestTimer
+//
+//
+
+class CTestTimer : public CTimer
+ {
+public:
+ static CTestTimer* NewL();
+ void AfterReq(TTimeIntervalMicroSeconds32 aSec, TRequestStatus& aStatus);
+protected:
+ CTestTimer();
+ void RunL();
+
+private:
+ TRequestStatus* iReport;
+ };
+
+//
+//
+// CTestUtils
+//
+//
+
+class CTestUtils : public CBase
+ {
+public:
+//File Logging
+
+ void TestStart(TInt aTest, const TDesC& aTestDescription);
+ void TestFinish(TInt aTest, TInt aError = KErrNone);
+ void TestHarnessCompleted();
+ void TestHarnessFailed(TInt aError);
+ void WriteComment(const TDesC& aComment);
+
+
+//Test Utils
+
+ virtual void CreateAllTestDirectories();
+
+ // File location
+
+
+ TInt ResolveLogFile(const TDesC& aFileName, TParse& aParseOut);
+
+ void Printf(TRefByValue<const TDesC> aFmt,...); //prints to RTest and LogFile, depending on iLogToConsole and iLogToFile
+
+
+ inline RTest& Test() const;
+
+ TBool RunAuto() const;
+ void SetRunAuto(TBool aRunAuto = ETrue);
+
+public:
+
+protected:
+ virtual void ConstructL();
+ CTestUtils(RTest& aRTest);
+ ~CTestUtils();
+
+
+ virtual void Panic(TInt aPanic) = 0;
+
+ void AppendTestName(TDes &aFileName);
+ void AppendVariantName(TDes& aFileName);
+
+ TInt OpenMainLogL();
+ void CloseMainLog();
+ void WriteToLog(TRefByValue<const TDesC> aFmt,...);
+
+
+
+protected:
+
+ RFs iFs;
+ RFile iFile;
+ RTest& iRTest;
+ TBool iLogToConsole;
+ TBool iLogToFile;
+
+ TBool iRunAuto;
+ HBufC* iLogBuf;
+ HBufC8* iLogBuf8;
+
+ };
+
+class TTestOverflow : public TDes16Overflow
+ {
+public:
+ TTestOverflow(CTestUtils& aTest)
+ : iTest(aTest) {};
+
+ // TDes16Overflow pure virtual
+ virtual void Overflow(TDes16& /*aDes*/) {iTest.Printf(_L("ERROR: Printf Overflow\n")); iTest.Test()(EFalse);};
+
+private:
+ CTestUtils& iTest;
+ };
+
+
+
+#include "GmxmlTestUtils.inl"
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/GmxmlTestUtils.inl Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,20 @@
+// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// GMXMLTESTUTILS.INL
+//
+
+RTest& CTestUtils::Test() const
+ {
+ return iRTest;
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/GmxmlTestsetup.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,150 @@
+// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef __GMXMLTESTSETUP_H__
+#define __GMXMLTESTSETUP_H__
+
+#include <e32base.h>
+#include "GmxmlTestUtils.h"
+
+// The following must be defined by the test exe
+GLREF_D RTest test;
+LOCAL_C void doTestsL();
+
+// Globals
+CTrapCleanup* theCleanup = NULL;
+
+TInt TestNum = 0;
+class CGenericTestUtils;
+CGenericTestUtils* theUtils = NULL;
+
+// Constants
+
+// Useful macros
+TInt theError;
+
+
+//**********************************
+// CGenericTestUtils
+//**********************************
+
+class CGenericTestUtils : public CTestUtils
+ {
+public:
+ static CGenericTestUtils* NewL(RTest& aTest);
+ CGenericTestUtils(RTest& aTest);
+ void Panic(TInt aPanic);
+ //
+public:
+ static void CreateDataFilesL(const TDesC& aFilename, const TDesC& aMtmName, TUid aUid);
+ static TBool WaitForKeyL(TTimeIntervalMicroSeconds32 aDelay, TKeyCode* aKeyCode = NULL);
+ static void Start(const TDesC& aDes);
+ static void Next(const TDesC& aDes);
+ static void Complete();
+ static void End();
+ };
+
+CGenericTestUtils* CGenericTestUtils::NewL(RTest& aTest)
+ {
+ CGenericTestUtils* self = new(ELeave)CGenericTestUtils(aTest);
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ CleanupStack::Pop(); // self
+ return self;
+ }
+
+CGenericTestUtils::CGenericTestUtils(RTest& aTest)
+: CTestUtils(aTest)
+ {
+ }
+
+void CGenericTestUtils::Panic(TInt)
+ {
+ test(EFalse);
+ }
+
+void CGenericTestUtils::Start(const TDesC& aDes)
+ {
+ test.Start(aDes);
+ theUtils->TestStart(++TestNum, aDes);
+ }
+
+void CGenericTestUtils::Next(const TDesC& aDes)
+ {
+ test.Next(aDes);
+ theUtils->TestStart(++TestNum, aDes);
+ }
+
+void CGenericTestUtils::Complete()
+ {
+ theUtils->TestFinish(TestNum, KErrNone);
+ }
+
+void CGenericTestUtils::End()
+ {
+ test.End();
+ }
+
+//**********************************
+// Global
+//**********************************
+
+LOCAL_C void SetupL()
+ {
+// CActiveScheduler::Install(theScheduler = new(ELeave)CTestScheduler);
+
+ // Create test class
+ theUtils = CGenericTestUtils::NewL(test);
+
+// test.Printf(_L("Cleaning Message Folder\n"));
+// CGenericTestUtils::CleanMessageFolderL();
+// CGenericTestUtils::SetDriveL(EDriveC);
+// CGenericTestUtils::SetDebugL(ETrue);
+
+ }
+
+LOCAL_C void Close(TInt aRet)
+ {
+ if (theUtils)
+ {
+ if (!aRet)
+ theUtils->TestHarnessCompleted();
+ else
+ theUtils->TestHarnessFailed(aRet);
+ }
+ delete theUtils;
+ }
+
+LOCAL_C void doMainL()
+ {
+ SetupL();
+ doTestsL();
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ __UHEAP_MARK;
+ theCleanup=CTrapCleanup::New();
+ TRAPD(ret,doMainL());
+ Close(ret);
+ delete theCleanup;
+ test.Console()->SetPos(0, 13);
+ test.End();
+ test.Close();
+ __UHEAP_MARKEND;
+ return(KErrNone);
+ }
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/body_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- 'body' contains 1 'img' element: ILLEGAL --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <img src="FirstImage.jpg" region="Image"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/head_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: head element, structure variations -->
+<!-- 'head' contains more than one 'layout' element: ILLEGAL --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <layout>
+ <!-- This is a "portrait" screen --> <root-layout width="176" height="216"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="72" left="0" top="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch element, invalid attribute -->
+<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" skip-content="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch element, invalid attribute -->
+<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" systemAudioDesc="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid__prefetch_att3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch element, invalid attribute -->
+<!-- invalid prefetch attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="Thirdimage.jpg" systemCaptions="no"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_meta_att1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute value -->
+<!-- skip-content incorrect value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="yes"/> <transition type="fade" direction="forward"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_metadata_att1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute value -->
+<!-- skip-content incorrect value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith"/> <transition type="fade" direction="forward"/> <metadata skip-content="no"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: transition element, attribute value -->
+<!-- direction incorrect attribute value --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition startProgress="0.3" endProgress="0.5" direction="backwards"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: transition element, attribute value -->
+<!-- systemAudioDesc attribute value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemAudioDesc="no"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: transition element, attribute value -->
+<!-- systemCaptions attribute value SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemCaptions="no"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/invalid_transition_att5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: transition element, invalid attribute -->
+<!-- invalid longDesc attribute SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" systemCaptions="off" longDesc="an invalid attribute"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains 2 'region' elements, followed by a 'root-layout' -->
+<!-- Elements in WRONG ORDER --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> <root-layout width="352" height="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains 2 'root-layout' elements, which is an ERROR --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <root-layout width="300" height="100"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/layout_struc_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' end tag has MISSING '/' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> <layout/> </layout> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> </head></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/par_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, structure variations -->
+<!-- 'par' contains ILLEGAL child element --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text" alt="First text" begin="0s" end="10s"/> <text src="SecondText.txt" region="Text" alt="Second text" begin="10s" end="20s"/> <audio src="FirstSound.amr"/> <region id="SomeMedia" width="176" height="144" left="0" top="0"/> <ref src="SomeMedia.abc" region="SomeMedia" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/region_att_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit ILLEGAL --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="illegal"/> <region id="Text" width="176" height="144" left="176" top="0" fit="illegal"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/smil_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: smil element, structure variations -->
+<!-- A 'smil' containing a 'head' and a 'body' in the WRONG ORDER --><smil> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Invalid/text_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: text element, structure variations -->
+<!-- MISSING '/'. 'text' element has a start tag, but no end tag. --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text> <audio src="FirstSound.amr"/> </text> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, alt, begin, end SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr" alt="First sound" begin="1s" end="6s"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, alt, begin, end IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/audio_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- clipBegin clipEnd author copyright IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio clipBegin="1s" clipEnd="2s" author="Symbian" copyright="copyright Symbian"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- 'body' contains 3 'par' elements --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- 'body' contains 1 'par' element --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/body_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Empty 'body' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/head_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: head element, structure variations -->
+<!-- 'head' contains a 'layout' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/head_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: head element, structure variations -->
+<!-- Empty 'head' element --><smil> <head/> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/head_struct_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: structure of head -->
+<!-- meta, transition, layout specified --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition id="ftb2" type="fade" subtype="fadeToColor" fadeColor="#000000"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/head_struct_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute variations -->
+<!-- name, content, skip-content SPECIFIED --><smil> <head> <transition id="myfire" type="superCool" subtype="fire"/> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/img_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- transIn transOut IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img transIn="xfade" transOut="xfade"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/img_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: img element, structure variations -->
+<!-- Empty 'img' element replaced by start and end tags --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains 'root-layout' followed by 2 'region' elements --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains 2 'region' elements --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains 'root-layout' followed by 1 'region' element --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/layout_struc_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: layout element, structure variations -->
+<!-- 'layout' contains a 'root-layout' only --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/meta_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute variations -->
+<!-- name, content SPECIFIED -->
+<!-- I haven't got proper documentation on 'meta', so for now, there is just this one test document -->
+<!-- 'meta' is a child of 'head' in the example in the documentation, but I am not sure if this is legal --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/meta_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute variations -->
+<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/metadata_att1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: metadata element, attribute variations -->
+<!-- skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <metadata skip-content="false"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- dur SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- dur IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_prefetch.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch child element -->
+<!-- prefetch SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, structure variations -->
+<!-- 'par' contains one of each possible child element --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, structure variations -->
+<!-- 'par' contains multiple child elements of the same type --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text" alt="First text" begin="0s" end="10s"/> <text src="SecondText.txt" region="Text" alt="Second text" begin="10s" end="20s"/> <audio src="FirstSound.amr"/> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/par_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: par element, structure variations -->
+<!-- Empty 'par' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="20s"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch skip-content attribute -->
+<!-- prefetch SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" skip-content="false"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch bandwidth attribute -->
+<!-- prefetch SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" bandwidth="20%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch mediatime attribute -->
+<!-- prefetch SPECIFIED mediatime attribute --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" mediaTime="60%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/prefetch_att4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: prefetch mediaSize attribute -->
+<!-- prefetch SPECIFIED mediaSize specified--><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <prefetch src="ThirdImage.jpg" mediaSize="20%"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, region, alt, clipBegin SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" clipBegin="npt=123.45s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, region, alt, clipBegin SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" region="Image" alt="Some media" clipBegin="npt=123.45s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, region, alt, longDesc, clip-begin clip-end SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref src="SomeMedia.abc" alt="Some media" longdesc="getsomemedia.html" clip-begin="5s" clip-end="2s"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/ref_att_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- abstract, src, region, alt, longDesc, readIndex SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <ref abstract="This is about some media" src="SomeMedia.abc" region="Image" alt="Some media" longdesc="getsomemedia.html" readIndex="3"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit DEFAULT='hidden' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id IMPLIED -->
+<!-- width, height, left, top DEFAULT='auto' -->
+<!-- fit SPECIFIED="hidden" --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region fit="hidden"/> <region fit="hidden"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit SPECIFIED="fill" --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="fill"/> <region id="Text" width="176" height="144" left="176" top="0" fit="fill"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit SPECIFIED="meet" --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="meet"/> <region id="Text" width="176" height="144" left="176" top="0" fit="meet"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit SPECIFIED="scroll" --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0" fit="scroll"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_att_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, width, height, left, top SPECIFIED -->
+<!-- fit SPECIFIED="slice" --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0" fit="slice"/> <region id="Text" width="176" height="144" left="176" top="0" fit="slice"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/region_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: region element, structure variations -->
+<!-- Start and End tags used for this element, rather than an Empty element tag -->
+<!-- This should be legal --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/root-layout_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- width, height SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/root-layout_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- width, height DEFAULT='auto' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: smil element, structure variations -->
+<!-- A 'smil' containing a 'head' followed by a 'body' --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: smil element, structure variations -->
+<!-- A 'smil' containing a 'head' only --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: smil element, structure variations -->
+<!-- A 'smil' containing a 'body' only --><smil> <body> <par dur="8s"> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/smil_struc_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: smil element, structure variations -->
+<!-- An empty 'smil' --><smil/>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/text_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, region, alt, begin, end SPECIFIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text src="FirstText.txt" region="Text" alt="First text" begin="1s" end="6s"/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/text_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, region, alt, begin, end IMPLIED --><smil> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image" alt="First image" begin="1s" end="6s"/> <text/> <audio src="FirstSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: transition element, attribute variations -->
+<!-- startProgress, endProgress SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition startProgress="0.3" endProgress="0.5"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute variations -->
+<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="fade" direction="forward"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/MMS_Output/Valid/transition_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
+<!-- Focus of this test: meta element, attribute variations -->
+<!-- name, content, skip-content SPECIFIED --><smil> <head> <meta name="title" content="mms"/> <meta name="author" content="John Smith" skip-content="false"/> <transition type="barWipe" skip-content="true"/> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external ILLEGAL VALUE -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" external="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" actuate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill ILLEGAL VALUE -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" fill="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate ILLEGAL VALUE -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" sourcePlaystate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate ILLEGAL VALUE -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" destinationPlaystate="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/a_att_9.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show ILLEGAL VALUE -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next" show="illegal"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/cdata_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/empty.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,3 @@
+<?xml version="1.0" ?>
+<!DOCTYPE smil SYSTEM "mms_smil.dtd">
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/entitiy_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute containing built in and character entities -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination <' & "> Entity Conversion" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#8&#x30;;resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#x52abcdef;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#x10000;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/entity_ref_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&#65536;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, unexpected attribute name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area unexpected="unexpected" shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, no closing tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"> <audio src="FirstSound.amr"/> </text> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, missing '>' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image" /
+ <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, empty element + end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"/> <img region="source" src="source.jpg"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: spurious video end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, missing end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body> </head></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, mismatched quotations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="The body of the message' xml:lang="> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_16.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, missing end of quotation --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="The body of the message xml:lang="> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, missing start of quotation --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, missing quotation marks --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, unexpected '<' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <<a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </<a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, unexpected attribute names --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref unexpected1="unexpected" src="OtherMedia.xyz" type="xyz" fill="transition" system-captions="off" unexpected2="unexpected" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, unexpected '>' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination">"http://www.example.org/presentationB#next">
+ <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, unexpected ''' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next'"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, unexpected '&' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/&presentationB#next"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_23.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, unexpected '"' at invalid location --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next">"
+ <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: incomplete file: missing 'smil' end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_25.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: incomplete file: missing 'smil' start tag --><head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout></head><body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par></body>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: smil element, repeated attribute --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, repeated attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq min="500s" author="M. Smith" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="SeqId" class="class1 class2" title="A sequence time container" xml:lang="en-GB" abstract="A sequence time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, illegal child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, illegal child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, incorrect child element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, mismatched tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/further_invalid_9.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, mismatched tags: extra character --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/inc021591.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, attribute variations -->
+<!-- Invalid comment line -->
+<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <doc a1="&#123:"/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/inc021675.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" -->
+<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- Use of '<' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream< factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Unknown element name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <image region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Unknown element name --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layou width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Repeated XML version tags -->
+<?XML version="1.0" ?><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Repeated XML version tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
+<?XML version="1.0" ?>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Repeated XML version tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen -->
+ <?XML version="1.0" ?> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Repeated DOCTYPE tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_16.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- Repeated DOCTYPE tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Repeated 'smil' tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body> </smil></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Repeated 'smil' tags --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head></smil><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- Use of '>' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB">picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith"
+ copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."
+ longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s"
+ repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove"
+ systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub"
+ systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on"
+ systemOperatingSystem="symbianos" systemCPU="arm32"
+ systemComponent="http://www.example.org/SomeCodec" region="Image"/>
+ <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </img> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- End of file within a quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, structure variations -->
+<!-- End of file within a start tag, between attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <switch> <par dur="8s" systemBitrate="40000"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> </switch> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_23.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_25.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_26.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within attribute setting --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par/> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_27.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- End of file within end tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_28.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- End tag in a different case to the start tag --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_29.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, attribute variations -->
+<!-- Invalid comment line --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- Use of '"' in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo" 1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_31.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, attribute variations -->
+<!-- Invalid comment line --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>// This is a "landscape" screen
+ <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_32.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_33.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_34.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_35.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_36.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- DOCTYPE and XML version in wrong order --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_37.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_38.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_39.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- Use of non-quoted single word attribute values --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_40.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout> <region ="Image" width="176" height="144" left="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body/></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- shape="rectangle", in place of shape="rect" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="rectangle" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- fill="removes" rather than fill="remove" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="OtherMedia" class="class1 class2" title="Ice cream factory, in new media format" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Other media" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="OtherMedia.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="removes" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- sourcePlaystate="playd" rather than "play" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="playd" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Element names in upper case --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <BODY> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </BODY></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/invalid_9.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- Element names in upper case --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <A target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </A> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground ILLEGAL VALUE -->
+<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" showBackground="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content ILLEGAL VALUE -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" skip-content="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close ILLEGAL VALUE -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" close="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/region_att_9.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open ILLEGAL VALUE -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" open="illegal"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
+<!-- height, width DEFAULT='auto' -->
+<!-- skip-content ILLEGAL VALUE -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
+<!-- height, width DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close ILLEGAL VALUE -->
+<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout close="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/root-layout_att_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
+<!-- height, width DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open ILLEGAL VALUE --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout open="illegal"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Invalid/switch_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, structure variations -->
+<!-- 'switch' contains a number of 'layout' elements, but only one is allowed --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <switch> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> <layout>
+ <!-- This is a "portrait" screen --> <root-layout width="176" height="216"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="72" left="0" top="144"/> </layout> </switch> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- sourcePlaystate SPECIFIED="pause" -->
+<!-- destinationPlaystate SPECIFIED="pause" -->
+<!-- show SPECIFIED="pause" -->
+<!-- external SPECIFIED="false" -->
+<!-- actuate SPECIFIED="onLoad" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="freeze" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="hold" -->
+<!-- sourcePlaystate SPECIFIED="stop" -->
+<!-- destinationPlaystate SPECIFIED="stop" -->
+<!-- show SPECIFIED="replace" -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="transition" -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a fill="transition" target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href, target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, id, class, title, xml:lang IMPLIED -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, structure variations -->
+<!-- 'a' contains a 'video' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, structure variations -->
+<!-- 'a' contains a 'video' element, and a 'text' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> <text src="FirstText.txt"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, structure variations -->
+<!-- 'a' contains more than one 'video' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"> <video src="rtsp://www.example.org/graph.imf" region="source"/> <video src="rtsp://www.example.org/graph2.imf"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/a_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, structure variations -->
+<!-- 'a' is an empty element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a target="destination" href="http://www.example.org/presentationB#next"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- nohref IMPLIED -->
+<!-- target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, alt, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- skip-content SPECIFIED="true" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" -->
+<!-- shape SPECIFIED="rect" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- href SPECIFIED for most anchors, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some anchors -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- skip-content SPECIFIED="false" -->
+<!-- sourcePlaystate SPECIFIED="pause" -->
+<!-- destinationPlaystate SPECIFIED="pause" -->
+<!-- show SPECIFIED="pause" -->
+<!-- external SPECIFIED="false" -->
+<!-- actuate SPECIFIED="onLoad" -->
+<!-- shape SPECIFIED="circle" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="freeze" skip-content="false" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="circle" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="circle" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- href SPECIFIED for most anchors, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some anchors -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="hold" -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate SPECIFIED="stop" -->
+<!-- destinationPlaystate SPECIFIED="stop" -->
+<!-- show SPECIFIED="replace" -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape SPECIFIED="poly" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="poly" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="poly" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- href SPECIFIED for most anchors, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some anchors -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="transition" -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape SPECIFIED="default" in the Spatial anchors --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" fill="transition" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="default" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="default" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/anchor_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- href SPECIFIED for most anchors, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one anchor, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some anchors -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial anchors, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape DEFAULT='rect' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Animation1" class="class1 class2" title="Ice cream factory, animation" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Animation" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Animation1.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/animation_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation src="Animation1.xyz" type="xyz" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- nohref IMPLIED -->
+<!-- target SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, alt, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- skip-content SPECIFIED="true" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" -->
+<!-- shape SPECIFIED="rect" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- href SPECIFIED for most areas, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some areas -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- skip-content SPECIFIED="false" -->
+<!-- sourcePlaystate SPECIFIED="pause" -->
+<!-- destinationPlaystate SPECIFIED="pause" -->
+<!-- show SPECIFIED="pause" -->
+<!-- external SPECIFIED="false" -->
+<!-- actuate SPECIFIED="onLoad" -->
+<!-- shape SPECIFIED="circle" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="freeze" skip-content="false" sourcePlaystate="pause" destinationPlaystate="pause" show="pause" target="destination" external="false" actuate="onLoad" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="circle" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="circle" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- href SPECIFIED for most areas, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some areas -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="hold" -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate SPECIFIED="stop" -->
+<!-- destinationPlaystate SPECIFIED="stop" -->
+<!-- show SPECIFIED="replace" -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape SPECIFIED="poly" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="hold" sourcePlaystate="stop" destinationPlaystate="stop" show="replace" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="poly" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="poly" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- href SPECIFIED for most areas, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some areas -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill SPECIFIED="transition" -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape SPECIFIED="default" in the Spatial areas --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" fill="transition" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area shape="default" coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area shape="default" coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/area_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: area element, attribute variations -->
+<!-- href SPECIFIED for most areas, IMPLIED for one -->
+<!-- nohref SPECIFIED="nohref" for one area, IMPLIED for the rest -->
+<!-- target SPECIFIED -->
+<!-- dur, begin, end, id IMPLIED for some areas -->
+<!-- repeatCount, repeatDur, min, max, accesskey, tabindex, alt, class, title, xml:lang IMPLIED -->
+<!-- coords SPECIFIED in the Spatial areas, & IMPLIED in the Temporal ones -->
+<!-- sourceLevel, destinationLevel DEFAULT='100&#37;' -->
+<!-- fill IMPLIED -->
+<!-- skip-content DEFAULT='true' -->
+<!-- sourcePlaystate IMPLIED -->
+<!-- destinationPlaystate DEFAULT='play' -->
+<!-- show DEFAULT='replace' -->
+<!-- external DEFAULT='false' -->
+<!-- actuate DEFAULT='onRequest' -->
+<!-- shape DEFAULT='rect' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal areas --> <video src="video" region="source" title="Interview"> <area dur="20s" begin="0s" end="20s" target="destination" href="http://www.example.org/AudioVideo" id="firstQ"/> <area dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA"/> </video>
+ <!-- Spatial areas --> <video src="video" region="source" title="Interview"> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ascii_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="10s" repeatCount="1.0" repeatDur="20s" begin="0s" end="30s" min="40s" max="50s" fill="remove" sourceLevel="100%" destinationLevel="90%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/att_order_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- Variations in the order of attributes, and whitespace variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio systemOperatingSystem="symbianos" clipBegin="smpte=10:12:33:20" systemScreenSize="640X480" clipEnd="smpte=10:12:43:20" id="AudioMedia" class="class1 class2" repeatCount="1.0" title="Ice cream factory, audio" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Audio" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." src="Audio.mp3" type="mp3" dur="1000s" repeatDur="1000s" begin="0s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenDepth="16" systemAudioDesc="on" end="1000s" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" xml:lang="en-GB" longdesc="http://www.example.org/IceCreamFactory.html"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/att_order_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- Variations in the order of attributes, and whitespace variations --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio systemOperatingSystem="symbianos" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." fill="remove" clipBegin="smpte=10:12:33:20" systemScreenSize="640X480" id="AudioMedia" type="mp3" class="class1 class2" repeatCount="1.0" title="Ice cream factory, audio" abstract="An exciting tour of an ice cream factory" min="1000s" alt="Ice cream factory: Audio" author="J. Smith" clipEnd="smpte=10:12:43:20" src="Audio.mp3" dur="1000s" repeatDur="1000s" begin="0s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenDepth="16" systemAudioDesc="on" end="1000s" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" xml:lang="en-GB" longdesc="http://www.example.org/IceCreamFactory.html"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/att_var_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: animation element, attribute variations -->
+<!-- Single quoted strings for attribute values --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <animation clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Animation1" class="class1 class2" title="Ice cream factory, animation" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Animation" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Animation1.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- customTest, region IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="AudioMedia" class="class1 class2" title="Ice cream factory, audio" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Audio" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Audio.mp3" type="mp3" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, type SPECIFIED -->
+<!-- customTest, region IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, type SPECIFIED -->
+<!-- customTest, region IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="hold" system-captions="on" system-overdub-or-caption="overdub"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, type SPECIFIED -->
+<!-- customTest, region IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3" fill="transition" system-captions="off" system-overdub-or-caption="caption"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/audio_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: audio element, attribute variations -->
+<!-- src, type SPECIFIED -->
+<!-- customTest, region IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <audio src="Audio.mp3" type="mp3"/> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/body_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, attribute variations -->
+<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body id="Body1" class="class1 class2" title="You too can have a body like mine" xml:lang="en-GB"> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/body_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/body_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- A number of 'body' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'body' contains a number of 'audio' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/body_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: body element, structure variations -->
+<!-- A number of 'body' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'body' contains a number of 'anchor' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body>
+ <!-- Spatial anchors --> <anchor coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <anchor coords="60,5,100,50" target="destination" nohref="nohref"/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]>Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[Pre]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Prese<![CDATA[]]>ntation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Present<![CDATA[a]]>tion" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pres<![CDATA[enta]]>tion" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation<![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_16.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentatio<![CDATA[n]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Present<![CDATA[ation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[Presentation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[]]>Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[Pre]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_23.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>resentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_25.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[resent]]>ation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_26.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_27.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_28.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[Presentation]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_29.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_30.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pre<![CDATA[gratuitous " delimiters " "" "]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pr<![CDATA[<!-- not a "real" comment -->]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pr<![CDATA[ <><><><<<<>>><><><>>><">< <>"<"><>"<">>>"<<"""<"<>]]>esentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next" id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Pres<![CDATA[]]>entation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/cdata_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/comments_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,22 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- Comments everywhere -->
+<!-- Comments everywhere -->
+<!-- Comments everywhere --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <!-- Comments everywhere --> <head>
+ <!-- This is a "landscape" screen --> <layout>
+ <!-- Comments everywhere --> <root-layout width="352" height="144"/>
+ <!-- Comments everywhere -->
+ <!-- Comments everywhere --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout>
+ <!-- Comments everywhere --> </head> <body>
+ <!-- Comments everywhere --> <par dur="1000s">
+ <!-- Comments everywhere --> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/>
+ <!-- Comments everywhere --> <audio src="FirstSound.amr"/>
+ <!-- Comments everywhere --> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par>
+ <!-- Comments everywhere -->
+ <!-- Comments everywhere --> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/>
+ <!-- Comments everywhere --> </par> </body></smil>
+<!-- Comments everywhere -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/doctype_variation.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 3.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2002/SMIL30Basic.dtd">
+
+<!-- Focus of this test: body element, attribute variations -->
+<!-- Different DOCTYPE info --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entitiy_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, attribute containing built in and character entities -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination <' & "> Entity Conversion" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <a dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2" title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title=""Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="">Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<5Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation&&" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation'<" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentatioc"" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presen&am"p;tation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation&quot;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&"<&e>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="r" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Fish & Chips" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Pres & tation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Presentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[]]><![CDATA[P"re]]>sentation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>ese<ntation" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_26.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="R" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_27.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Jitle" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_30.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_31.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="B" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Title" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="&quot;" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="Red &" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next" id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Blue'" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/entity_ref_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,5 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CDataSections --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>>" xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/head_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: head element, attribute variations -->
+<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head id="Head1" class="class1 class2" title="This head has no eyes or nose." xml:lang="en-GB">
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/head_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: head element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img id="Photo1" class="class1 class2" title="Ice cream factory, photo" xml:lang="en-GB" abstract="An exciting picture of an ice cream factory" alt="Ice cream factory: photo" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Photo1.jpg" type="jpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/img_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: img element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="Photo1.jpg" type="jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/inc021337.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- Comments everywhere -->
+<!-- Comments everywhere -->
+<!-- Comments everywhere --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <!-- Comments everywhere --> <head>
+ <!-- This is a "landscape" screen --> <layout>
+ <!-- Comments everywhere --> <root-layout width="352" height="144"/>
+ <!-- Comments everywhere -->
+ <!-- Comments everywhere --> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout>
+ <!-- Comments everywhere --> </head> <body>
+ <!-- Comments everywhere --> <par dur="1000s">
+ <!-- Comments everywhere --> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/>
+ <!-- Comments everywhere --> <audio src="FirstSound.amr"/>
+ <!-- Comments everywhere --> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/>
+ <!-- <audio src="snooker/crowdcheersmall.wav" begin="20s"/> --> </par>
+ <!-- Comments everywhere -->
+ <!-- Comments everywhere --> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/>
+ <!-- Comments everywhere --> </par> </body></smil>
+<!-- Comments everywhere -->
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/inc022160.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,13 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: smil element, attribute variations -->
+<!-- id, class, title, xml:lang, xmlns SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent SPECIFIED -->
+<!-- systemCaptions SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle SPECIFIED="overdub" -->
+<!-- systemAudioDesc SPECIFIED="on" -->
+<!-- bcf --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/inc025788.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,6 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: CharData --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body>Characters that need to be escaped: < &. Characters that can be escaped ' ('), > (>) and " (").
+ </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/layout_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, attribute variations -->
+<!-- id, class, title, xml:lang, type SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout id="Landscape" class="class1 class2" title="Landscape layout" xml:lang="en-GB" type="text/css"> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/layout_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: layout element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED -->
+<!-- type DEFAULT='text/smil-basic-layout' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/newline_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- Use of newline in quoted string --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.exa
+mple.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- endsync SPECIFIED="first" -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="ParId" class="class1 class2" title="A parallel time container" xml:lang="en-GB" abstract="A parallel time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- endsync SPECIFIED="last" -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="last" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync SPECIFIED="all" -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="all" fill="hold" system-captions="on" system-overdub-or-caption="overdub"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync SPECIFIED="ParId" -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par endsync="v1Id" fill="transition" system-captions="off" system-overdub-or-caption="caption"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video id="v1Id" src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/par_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: par element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync DEFAULT='last' -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="OtherMedia" class="class1 class2" title="Ice cream factory, in new media format" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Other media" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="OtherMedia.xyz" type="xyz" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/ref_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: ref element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <ref src="OtherMedia.xyz" type="xyz" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,13 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id, class, title, xml:lang, height, width, bottom, left, right, top, z-index SPECIFIED -->
+<!-- skip-content SPECIFIED="true" -->
+<!-- close SPECIFIED="never" -->
+<!-- open SPECIFIED="always" -->
+<!-- backgroundColor (NEW ATTRIBUTE NAME) SPECIFIED -->
+<!-- showBackground SPECIFIED="always" -->
+<!-- fit SPECIFIED="hidden" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region skip-content="true" id="Image" class="class1 class2" title="Image region" xml:lang="en-GB" height="144" width="176" close="never" open="always" backgroundColor="blue" bottom="144" left="0" right="176" top="0" z-index="4" showBackground="always" fit="hidden"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content SPECIFIED="false" -->
+<!-- close SPECIFIED="whenNotActive" -->
+<!-- open SPECIFIED="whenActive" -->
+<!-- background-color (DEPRICATED ATTRIBUTE NAME) SPECIFIED -->
+<!-- showBackground SPECIFIED="whenActive" -->
+<!-- fit SPECIFIED="fill" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region skip-content="false" id="Image" close="whenNotActive" open="whenActive" background-color="red" showBackground="whenActive" fit="fill"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit SPECIFIED="meet" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="meet"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit SPECIFIED="scroll" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="scroll"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit SPECIFIED="slice" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" fit="slice"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/region_att_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- id SPECIFIED -->
+<!-- class, title, xml:lang, backgroundColor, z-index IMPLIED -->
+<!-- height, width, bottom, left, right, top DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' -->
+<!-- showBackground DEFAULT='always' -->
+<!-- fit DEFAULT='hidden' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang, height, width SPECIFIED -->
+<!-- skip-content SPECIFIED="true" -->
+<!-- close SPECIFIED="never" -->
+<!-- open SPECIFIED="always" -->
+<!-- backgroundColor (NEW ATTRIBUTE NAME) SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="true" id="RootLayout" class="class1 class2" title="Root layout" xml:lang="en-GB" height="144" width="352" close="never" open="always" backgroundColor="blue"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED -->
+<!-- height, width DEFAULT='auto' -->
+<!-- skip-content SPECIFIED="false" -->
+<!-- close SPECIFIED="whenNotActive" -->
+<!-- open SPECIFIED="whenActive" -->
+<!-- background-color (DEPRICATED ATTRIBUTE NAME) SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout skip-content="false" close="whenNotActive" open="whenActive" background-color="red"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/root-layout_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: root-layout element, attribute variations -->
+<!-- id, class, title, xml:lang, backgroundColor IMPLIED -->
+<!-- height, width DEFAULT='auto' -->
+<!-- skip-content DEFAULT='true' -->
+<!-- close DEFAULT='never' -->
+<!-- open DEFAULT='always' --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- endsync SPECIFIED="first" -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" endsync="first" fill="remove" min="1000s" max="1000s" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" id="SeqId" class="class1 class2" title="A sequence time container" xml:lang="en-GB" abstract="A sequence time container" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved."> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- endsync SPECIFIED="last" -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="last" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync SPECIFIED="all" -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="all" fill="hold" system-captions="on" system-overdub-or-caption="overdub"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync SPECIFIED="ParId" -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq endsync="ParId" fill="transition" system-captions="off" system-overdub-or-caption="caption"> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, author, copyright, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- endsync DEFAULT='last' -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' contains a number of 'par' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par> <seq> <par> <img src="image1.jpg" region="Image" fill="freeze"/> <audio src="audio1.au"/> </par> <par> <img src="image2.jpg" region="Image" fill="freeze"/> <audio src="audio2.au"/> </par> <par> <img src="image3.jpg" region="Image" fill="freeze"/> <audio src="audio3.au"/> </par> </seq> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' contains a 'switch' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' contains an 'a' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <a target="destination" href="http://www.example.org/presentationB#next"> <img region="source" src="source.jpg"/> </a> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' contains 'area' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <area coords="5,5,50,50" target="destination" href="http://www.example.org/AudioVideo"/> <area coords="60,5,100,50" target="destination" nohref="nohref"/> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' contains another 'seq' element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq> <seq> <video src="http://www.example.org/graph.imf"/> <par id="ParId"> <a tabindex="4" href="http://www.example.org/presentation"> <video src="http://www.example.org/graph.imf"/> </a> <video src="http://www.example.org/v1.mpg"/> <text src="http://www.example.org/caption1.html"/> <text src="http://www.example.org/caption2.html"/> </par> </seq> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/seq_struc_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: seq element, structure variations -->
+<!-- A number of 'seq' structure variations appear elsewhere; these are some additional ones -->
+<!-- 'seq' is an empty element --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="destination" width="176" height="144" left="0" top="0"/> <region id="source" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq/> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/smil_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: smil element, attribute variations -->
+<!-- id, class, title, xml:lang, xmlns SPECIFIED --><smil id="MMSDocument" class="class1 class2" title="Slide show of my day at the seaside!" xml:lang="en-GB" xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/smil_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,8 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: smil element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED -->
+<!-- xmlns DEFAULT='http://www.w3.org/TR/REC-smil/SMIL20' --><smil> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, attribute variations -->
+<!-- id, class, title, xml:lang SPECIFIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch id="DutchAudio" class="class1 class2" title="Dutch audio" xml:lang="en-GB"> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, attribute variations -->
+<!-- id, class, title, xml:lang IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, structure variations -->
+<!-- 'switch' contains a number of 'audio' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, structure variations -->
+<!-- 'switch' contains a number of 'par' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <switch> <par dur="8s" systemBitrate="40000"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s" systemBitrate="24000"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s" systemBitrate="10000"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </switch> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/switch_struc_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, structure variations -->
+<!-- 'switch' contains a number of 'textstream' elements --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> <switch> <textstream src="movie-sub-en.rt" systemLanguage="en" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-sub-de.rt" systemLanguage="de" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-sub-nl.rt" systemLanguage="nl" systemOverdubOrSubtitle="subtitle"/> <textstream src="movie-caps-fr.rt" systemCaptions="on"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text id="Text1" class="class1 class2" title="Ice cream factory, text" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Text" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Text1.txt" type="txt" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/text_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: text element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <text src="Text1.txt" type="txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Textstream1" class="class1 class2" title="Ice cream factory, textstream" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Textstream" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Textstream1.rt" type="rt" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/textstream_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: textstream element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <img src="FirstImage.jpg" region="Image"/> <textstream src="Textstream1.rt" type="rt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/utf8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,10 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: 'a' element, utf-8 --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <body> <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink" title="
+
+
+
+
+ " xml:lang="en-GB"> <img region="source" src="source.jpg"/> </a> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, attribute variations -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, src, type, dur,
+ repeatCount, repeatDur, begin, end, min, max, region SPECIFIED -->
+<!-- systemBitrate, systemLanguage, systemRequired, systemScreenSize, systemScreenDepth, systemOperatingSystem,
+ systemCPU, systemComponent (NEW ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="on" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video clipBegin="smpte=10:12:33:20" clipEnd="smpte=10:12:43:20" id="Video1" class="class1 class2" title="Ice cream factory, video" xml:lang="en-GB" abstract="An exciting tour of an ice cream factory" alt="Ice cream factory: Video" author="J. Smith" copyright="Copyright (c) 1999-2000 Symbian Ltd. All rights reserved." longdesc="http://www.example.org/IceCreamFactory.html" src="Video1.mpg" type="mpg" dur="1000s" repeatCount="1.0" repeatDur="1000s" begin="0s" end="1000s" min="1000s" max="1000s" fill="remove" systemBitrate="28800" systemCaptions="on" systemLanguage="en" systemOverdubOrSubtitle="overdub" systemRequired="aNamespacePrefix" systemScreenSize="640X480" systemScreenDepth="16" systemAudioDesc="on" systemOperatingSystem="symbianos" systemCPU="arm32" systemComponent="http://www.example.org/SomeCodec" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,16 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth
+ (DEPRECATED ATTRIBUTE NAMES) SPECIFIED -->
+<!-- fill SPECIFIED="freeze" -->
+<!-- systemCaptions (NEW ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- systemOverdubOrSubtitle (NEW ATTRIBUTE NAME) SPECIFIED="subtitle" -->
+<!-- systemAudioDesc (NEW ATTRIBUTE NAME) SPECIFIED="off" --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="freeze" system-bitrate="28800" systemCaptions="off" system-language="en" systemOverdubOrSubtitle="subtitle" system-required="aNamespacePrefix" system-screen-size="640X480" system-screen-depth="16" systemAudioDesc="off" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="hold" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="on" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="overdub" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="hold" system-captions="on" system-overdub-or-caption="overdub" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill SPECIFIED="transition" -->
+<!-- system-captions (DEPRECATED ATTRIBUTE NAME) SPECIFIED="off" -->
+<!-- system-overdub-or-caption (DEPRECATED ATTRIBUTE NAME) SPECIFIED="caption" -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" fill="transition" system-captions="off" system-overdub-or-caption="caption" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/video_att_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,15 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: video element, attribute variations -->
+<!-- src, type, region SPECIFIED -->
+<!-- customTest IMPLIED -->
+<!-- clipBegin, clipEnd, id, class, title, xml:lang, abstract, alt, author, copyright, longdesc, dur,
+ repeatCount, repeatDur, begin, end, min, max, systemOperatingSystem, systemCPU, systemComponent IMPLIED -->
+<!-- system-bitrate, system-language, system-required, system-screen-size, system-screen-depth IMPLIED -->
+<!-- fill IMPLIED -->
+<!-- system-captions IMPLIED -->
+<!-- system-overdub-or-caption IMPLIED -->
+<!-- systemAudioDesc IMPLIED --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="1000s"> <video src="Video1.mpg" type="mpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/whitespace_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: switch element, attribute variations -->
+<!-- Whitespace variations around attributes --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head> <layout>
+ <!-- This is a "landscape" screen --> <root-layout width="352" height="144"/> <region id="Image" width="176" height="144" left="0" top="0"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="100s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <switch id="DutchAudio" class="class1 class2" title="Dutch audio" xml:lang="en-GB"> <audio src="dutchHQ.aiff" systemBitrate="56000"/> <audio src="dutchMQ.aiff" systemBitrate="28800"/> <audio src="dutchLQ.aiff"/> </switch> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/whitespace_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,9 @@
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: anchor element, attribute variations -->
+<!-- whitespace: element spread over many lines --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="source" width="176" height="144" left="0" top="0"/> <region id="destination" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <seq>
+ <!-- Temporal anchors --> <video src="video" region="source" title="Interview"> <anchor dur="20s" repeatCount="1.0" repeatDur="20s" begin="0s" end="20s" min="20s" max="20s" fill="remove" skip-content="true" sourceLevel="100%" destinationLevel="100%" sourcePlaystate="play" destinationPlaystate="play" show="new" accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest" href="http://www.example.org/AudioVideo" alt="first question" id="firstQ" class="class1 class2" title="first question" xml:lang="en-GB"/> <anchor dur="50s" begin="prev.end" end="70s" target="destination" href="http://www.example.org/Style" id="firstA" title="first answer"/> </video>
+ <!-- Spatial anchors --> <video src="video" region="source" title="Interview"> <anchor shape="rect" coords="5,5,50,50" title="Journalist" target="destination" href="http://www.example.org/AudioVideo"/> <anchor shape="rect" coords="60,5,100,50" title="Subject" target="destination" href="http://www.example.org/Style"/> </video> </seq> </body></smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/SMIL_Output/Valid/xml_version_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,7 @@
+<?xml version="3.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<!-- Focus of this test: region element, attribute variations -->
+<!-- Different XML version --><smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic"> <head>
+ <!-- This is a "landscape" screen --> <layout> <root-layout width="352" height="144"/> <region id="Image"/> <region id="Text" width="176" height="144" left="176" top="0"/> </layout> </head> <body> <par dur="8s"> <img src="FirstImage.jpg" region="Image"/> <text src="FirstText.txt" region="Text"/> <audio src="FirstSound.amr"/> </par> <par dur="7s"> <img src="SecondImage.jpg" region="Image"/> <text src="SecondText.txt" region="Text"/> <audio src="SecondSound.amr"/> </par> <par dur="4s"> <img src="ThirdImage.jpg" region="Image"/> <text src="ThirdText.txt" region="Text"/> <audio src="ThirdSound.amr"/> </par> </body></smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/body_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/head_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_meta_att1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_metadata_att1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/invalid_transition_att5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/layout_struc_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/par_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/region_att_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/smil_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/invalid/text_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/audio_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/audio_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/audio_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/body_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/body_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/body_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/head_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/head_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/head_struct_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/head_struct_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/img_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/img_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/img_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/img_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/layout_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/layout_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/layout_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/layout_struc_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/meta_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/meta_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/metadata_att1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_prefetch.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/par_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/prefetch_att1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/prefetch_att2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/prefetch_att3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/prefetch_att4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/ref_att_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_att_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/region_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/root-layout_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/root-layout_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/smil_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/smil_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/smil_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/smil_struc_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/text_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/text_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/transition_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/transition_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/mms_input/valid/transition_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_10.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_11.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_8.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/a_att_9.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/cdata_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pre<![CDATA[sentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/entitiy_2.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="0;resentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="�" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="𐀀" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/entity_ref_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="𐀀" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_10.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_11.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_12.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_13.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_14.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_15.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_16.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_17.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_18.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_19.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_20.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_21.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_22.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_23.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_24.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_25.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_8.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/further_invalid_9.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/inc021591.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/inc021675.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_10.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_11.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_12.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_13.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_14.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_15.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_16.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_17.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_18.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_19.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_20.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_21.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_22.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_23.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_24.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_25.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_26.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_27.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_28.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_29.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_31.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_32.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_33.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_34.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_35.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_36.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_37.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_38.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_39.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_40.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_8.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/invalid_9.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/region_att_10.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/region_att_11.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/region_att_7.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/region_att_8.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/region_att_9.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/root-layout_att_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/invalid/switch_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/a_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/anchor_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/anchor_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/anchor_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/anchor_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/anchor_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/animation_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/animation_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/animation_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/animation_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/animation_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/area_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/area_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/area_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/area_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/area_att_5.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ascii_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,36 @@
+<!-- Focus of this test: 'a' element, attribute variations -->
+<!-- href SPECIFIED -->
+<!-- dur, repeatCount, repeatDur, begin, end, min, max, accesskey, tabindex, target, id, class, title,
+ xml:lang SPECIFIED -->
+<!-- sourceLevel, destinationLevel SPECIFIED -->
+<!-- fill SPECIFIED="remove" -->
+<!-- sourcePlaystate SPECIFIED="play" -->
+<!-- destinationPlaystate SPECIFIED="play" -->
+<!-- show SPECIFIED="new" -->
+<!-- external SPECIFIED="true" -->
+<!-- actuate SPECIFIED="onRequest" -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <head>
+ <!-- This is a "landscape" screen -->
+ <layout>
+ <root-layout width="352" height="144"/>
+ <region id="source" width="176" height="144" left="0" top="0"/>
+ <region id="destination" width="176" height="144" left="176" top="0"/>
+ </layout>
+ </head>
+
+ <body>
+ <a dur="10s" repeatCount="1.0" repeatDur="20s" begin="0s" end="30s" min="40s" max="50s" fill="remove"
+ sourceLevel="100%" destinationLevel="90%" sourcePlaystate="play" destinationPlaystate="play" show="new"
+ accesskey="a" tabindex="1" target="destination" external="true" actuate="onRequest"
+ href="http://www.example.org/presentationB#next" id="PresBLink" class="class1 class2"
+ title="Link to element with id='next' in SMIL Presentation B" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/att_order_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/att_order_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/att_var_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/audio_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/audio_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/audio_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/audio_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/audio_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/body_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/body_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/body_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/body_struc_2.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]>Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]>resentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[Pre]]>sentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Prese<![CDATA[]]>ntation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Present<![CDATA[a]]>tion" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pres<![CDATA[enta]]>tion" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentation<![CDATA[]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_16.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentatio<![CDATA[n]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Present<![CDATA[ation]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[Presentation]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[]]>Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>resentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[Pre]]>sentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_23.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>resentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>esentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_25.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[resent]]>ation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_26.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_27.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[P]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_28.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[Presentation]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_29.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_30.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pre<![CDATA[gratuitous " delimiters " "" "]]>sentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pr<![CDATA[<!-- not a "real" comment -->]]>esentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pr<![CDATA[ <><><><<<<>>><><><>>><">< <>"<"><>"<">>>"<<"""<"<>]]>esentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next"
+ id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Pres<![CDATA[]]>entation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/cdata_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/comments_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/doctype_variation.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entitiy_1.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_1.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title=""Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_10.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="">Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_11.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<5Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_12.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentation&&" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_13.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentation'<" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_14.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentatioc"" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_15.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presen&am"p;tation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_17.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentation&quot;" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_18.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="&"<&e>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_19.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="r" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_2.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Fish & Chips" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_20.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Pres & tation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_21.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Presentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_22.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[]]><![CDATA[P"re]]>sentation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_24.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[P]]><![CDATA[r]]>ese<ntation" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_26.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Rxyz;" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_27.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_3.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Jitle" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_30.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="&gb;" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_31.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="By!;" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_4.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Title" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_5.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="&quot;" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_6.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="Red &" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_7.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="1<![CDATA[0]]>s" href="http://www.ex<![CDATA[am]]>ple.org/presentationB#next"
+ id="Pre<![CDATA[loads of CDATA <>><><> """ ]]>sBLink" title="Blue'" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/entity_ref_8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,14 @@
+<!-- Focus of this test: CDataSections -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next"
+ id="PresBLink" title="<![CDATA[>><<>>]]><![CDATA[<">"<"<">"<>""]]><![CDATA[""]]><![CDATA[P]]>resentation<![CDATA[>"<">""<!-- "" < --> ]]>>" xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/head_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/head_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/img_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/img_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/img_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/img_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/img_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/inc021337.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/inc022160.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/inc025788.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,11 @@
+<!-- Focus of this test: CharData -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ Characters that need to be escaped: < &. Characters that can be escaped ' ('), > (>) and " (").
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/layout_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/layout_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/newline_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/par_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/par_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/par_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/par_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/par_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ref_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ref_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ref_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ref_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/ref_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/region_att_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/root-layout_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/seq_struc_6.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/smil_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/smil_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/switch_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/switch_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/switch_struc_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/switch_struc_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/switch_struc_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/text_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/text_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/text_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/text_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/text_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/textstream_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/textstream_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/textstream_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/textstream_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/textstream_att_5.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/utf8.txt Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,19 @@
+<!-- Focus of this test: 'a' element, utf-8 -->
+
+<?xml version="1.0" ?>
+<!DOCTYPE SMIL PUBLIC "-//W3C//DTD SMIL 2.0 Basic//EN"
+"http://www.w3.org/TR/REC-smil/2000/SMIL20Basic.dtd">
+
+<smil xmlns="http://www.w3.org/TR/REC-smil/2000/SMIL20/Basic">
+ <body>
+ <a dur="10s" href="http://www.example.org/presentationB#next" id="PresBLink"
+ title="⨐⨓⨗⨚⨟⩡⩵⩙⨵⫙⪭⫳⫂⪄⺷⺆⺒⻁⻇⺋⺽⺷⽉⽊〷とゃドナそゖテテツ〹おせにゆテテ
+ピシジㄙㄹㅈ㈔㈑㉸㊆㌔㌷ぇをゴシ㎓㎫㍳㍄㍆㌧㌤㌄ꀵꃅꃓꃗꂹꂅꁤꁉ ェヷヹㄈツ ㄦㅇㅸㅸㄸㄷ
+𝀴𝀓𝂕𝂖𝂧𝂺𝂺𝁜𝁔𝀲𝀡𝂒𝂳𝃔𝃕𝁨𝁪𝁺𝄥𝄢𝄱𝄴𝄶𐌱𐌵𐌶𐌸𐍈𐌺𐌼𐌾𐐒𐐂𐐅𐐘𐐜𐐝𐐝𐐭⟔⟨⟨⟹⡦⡫⢛⢙⢇⡕⡕⡶⡪⡬⡬⢌⢜
+∕≄⋉⋉ ≨⊦≹∺∱∰≲⊶ ≨⊨⋈ ⋆ ⋩⋫⋜⌶⍧⎈⏂⎂⍂⌥⌨⍍ ⎘⍥⎕⎦ ⎨⎶⎄⍵⍶ ⍧⎇⍛⍕⎄⍺⍪⍋⌴⍄⍔⍤⍌⍌⍌
+▲◣𝇉𝇓𝇂𝆳 ▷◙☩♩♣♲♺☉◖◺◇◅▵◙◽☎☋☂☃▴◗☈♥♸♪♪◨◴☃◬⧆⧳⧳⩆⨋⧼⧖⨃⩂ ⨥⧖⨂⦑⦭⦭⦬⦕⦔⦔
+⩧⩡⩹⩩⩖⩖⩖⨶⨹ ⨵⪖⨕⨁⨉⨼⪖ ⪈ ⪸ ⪥ ⪖⪖⪆⩺⩨ヅㄣペヺララピコォㅶㆃ ㅴㄛㄛ " xml:lang="en-GB">
+ <img region="source" src="source.jpg"/>
+ </a>
+ </body>
+</smil>
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/video_att_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/video_att_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/video_att_3.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/video_att_4.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/video_att_5.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/whitespace_1.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/whitespace_2.txt has changed
Binary file xml/legacyminidomparser/xmlparser/test/SMIL_Test_Files/smil_input/valid/xml_version_1.txt has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,361 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+PRJ_PLATFORMS
+ DEFAULT
+
+PRJ_TESTMMPFILES
+ t_GmxmlParser.mmp
+ t_GmxmlFailure.mmp
+ t_smiltranslatortest.mmp
+
+PRJ_TESTEXPORTS
+../GmxmlTest.txt c:/gmxmltest.txt
+legacyminidomparsertest.iby /epoc32/rom/include/legacyminidomparsertest.iby
+
+
+// SMIL Input valid
+../SMIL_Test_Files/smil_input/valid/anchor_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_1.txt
+../SMIL_Test_Files/smil_input/valid/anchor_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_2.txt
+../SMIL_Test_Files/smil_input/valid/anchor_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_3.txt
+../SMIL_Test_Files/smil_input/valid/anchor_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_4.txt
+../SMIL_Test_Files/smil_input/valid/anchor_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/anchor_att_5.txt
+../SMIL_Test_Files/smil_input/valid/animation_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_1.txt
+../SMIL_Test_Files/smil_input/valid/animation_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_2.txt
+../SMIL_Test_Files/smil_input/valid/animation_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_3.txt
+../SMIL_Test_Files/smil_input/valid/animation_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_4.txt
+../SMIL_Test_Files/smil_input/valid/animation_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/animation_att_5.txt
+../SMIL_Test_Files/smil_input/valid/area_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_1.txt
+../SMIL_Test_Files/smil_input/valid/area_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_2.txt
+../SMIL_Test_Files/smil_input/valid/area_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_3.txt
+../SMIL_Test_Files/smil_input/valid/area_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_4.txt
+../SMIL_Test_Files/smil_input/valid/area_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/area_att_5.txt
+../SMIL_Test_Files/smil_input/valid/ascii_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ascii_1.txt
+../SMIL_Test_Files/smil_input/valid/att_order_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_order_1.txt
+../SMIL_Test_Files/smil_input/valid/att_order_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_order_2.txt
+../SMIL_Test_Files/smil_input/valid/att_var_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/att_var_1.txt
+../SMIL_Test_Files/smil_input/valid/audio_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_1.txt
+../SMIL_Test_Files/smil_input/valid/audio_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_2.txt
+../SMIL_Test_Files/smil_input/valid/audio_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_3.txt
+../SMIL_Test_Files/smil_input/valid/audio_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_4.txt
+../SMIL_Test_Files/smil_input/valid/audio_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/audio_att_5.txt
+../SMIL_Test_Files/smil_input/valid/a_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_1.txt
+../SMIL_Test_Files/smil_input/valid/a_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_2.txt
+../SMIL_Test_Files/smil_input/valid/a_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_3.txt
+../SMIL_Test_Files/smil_input/valid/a_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_4.txt
+../SMIL_Test_Files/smil_input/valid/a_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_att_5.txt
+../SMIL_Test_Files/smil_input/valid/a_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_1.txt
+../SMIL_Test_Files/smil_input/valid/a_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_2.txt
+../SMIL_Test_Files/smil_input/valid/a_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_3.txt
+../SMIL_Test_Files/smil_input/valid/a_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/a_struc_4.txt
+../SMIL_Test_Files/smil_input/valid/body_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_att_1.txt
+../SMIL_Test_Files/smil_input/valid/body_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_att_2.txt
+../SMIL_Test_Files/smil_input/valid/body_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_struc_1.txt
+../SMIL_Test_Files/smil_input/valid/body_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/body_struc_2.txt
+../SMIL_Test_Files/smil_input/valid/cdata_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_1.txt
+../SMIL_Test_Files/smil_input/valid/cdata_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_10.txt
+../SMIL_Test_Files/smil_input/valid/cdata_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_11.txt
+../SMIL_Test_Files/smil_input/valid/cdata_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_12.txt
+../SMIL_Test_Files/smil_input/valid/cdata_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_13.txt
+../SMIL_Test_Files/smil_input/valid/cdata_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_14.txt
+../SMIL_Test_Files/smil_input/valid/cdata_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_15.txt
+../SMIL_Test_Files/smil_input/valid/cdata_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_16.txt
+../SMIL_Test_Files/smil_input/valid/cdata_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_17.txt
+../SMIL_Test_Files/smil_input/valid/cdata_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_18.txt
+../SMIL_Test_Files/smil_input/valid/cdata_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_19.txt
+../SMIL_Test_Files/smil_input/valid/cdata_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_2.txt
+../SMIL_Test_Files/smil_input/valid/cdata_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_20.txt
+../SMIL_Test_Files/smil_input/valid/cdata_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_21.txt
+../SMIL_Test_Files/smil_input/valid/cdata_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_22.txt
+../SMIL_Test_Files/smil_input/valid/cdata_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_23.txt
+../SMIL_Test_Files/smil_input/valid/cdata_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_24.txt
+../SMIL_Test_Files/smil_input/valid/cdata_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_25.txt
+../SMIL_Test_Files/smil_input/valid/cdata_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_26.txt
+../SMIL_Test_Files/smil_input/valid/cdata_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_27.txt
+../SMIL_Test_Files/smil_input/valid/cdata_28.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_28.txt
+../SMIL_Test_Files/smil_input/valid/cdata_29.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_29.txt
+../SMIL_Test_Files/smil_input/valid/cdata_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_3.txt
+../SMIL_Test_Files/smil_input/valid/cdata_30.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_30.txt
+../SMIL_Test_Files/smil_input/valid/cdata_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_4.txt
+../SMIL_Test_Files/smil_input/valid/cdata_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_5.txt
+../SMIL_Test_Files/smil_input/valid/cdata_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_6.txt
+../SMIL_Test_Files/smil_input/valid/cdata_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_7.txt
+../SMIL_Test_Files/smil_input/valid/cdata_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/cdata_8.txt
+../SMIL_Test_Files/smil_input/valid/comments_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/comments_1.txt
+../SMIL_Test_Files/smil_input/valid/doctype_variation.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/doctype_variation.txt
+../SMIL_Test_Files/smil_input/valid/entitiy_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entitiy_1.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_1.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_10.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_11.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_12.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_13.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_14.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_15.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_17.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_18.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_19.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_2.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_20.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_21.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_22.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_24.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_26.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_27.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_3.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_30.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_30.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_31.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_31.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_4.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_5.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_6.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_7.txt
+../SMIL_Test_Files/smil_input/valid/entity_ref_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/entity_ref_8.txt
+../SMIL_Test_Files/smil_input/valid/head_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/head_att_1.txt
+../SMIL_Test_Files/smil_input/valid/head_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/head_att_2.txt
+../SMIL_Test_Files/smil_input/valid/img_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_1.txt
+../SMIL_Test_Files/smil_input/valid/img_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_2.txt
+../SMIL_Test_Files/smil_input/valid/img_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_3.txt
+../SMIL_Test_Files/smil_input/valid/img_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_4.txt
+../SMIL_Test_Files/smil_input/valid/img_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/img_att_5.txt
+../SMIL_Test_Files/smil_input/valid/inc021337.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc021337.txt
+../SMIL_Test_Files/smil_input/valid/inc022160.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc022160.txt
+../SMIL_Test_Files/smil_input/valid/inc025788.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/inc025788.txt
+../SMIL_Test_Files/smil_input/valid/layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/layout_att_1.txt
+../SMIL_Test_Files/smil_input/valid/layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/layout_att_2.txt
+../SMIL_Test_Files/smil_input/valid/newline_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/newline_1.txt
+../SMIL_Test_Files/smil_input/valid/par_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_1.txt
+../SMIL_Test_Files/smil_input/valid/par_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_2.txt
+../SMIL_Test_Files/smil_input/valid/par_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_3.txt
+../SMIL_Test_Files/smil_input/valid/par_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_4.txt
+../SMIL_Test_Files/smil_input/valid/par_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/par_att_5.txt
+../SMIL_Test_Files/smil_input/valid/ref_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_1.txt
+../SMIL_Test_Files/smil_input/valid/ref_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_2.txt
+../SMIL_Test_Files/smil_input/valid/ref_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_3.txt
+../SMIL_Test_Files/smil_input/valid/ref_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_4.txt
+../SMIL_Test_Files/smil_input/valid/ref_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/ref_att_5.txt
+../SMIL_Test_Files/smil_input/valid/region_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_1.txt
+../SMIL_Test_Files/smil_input/valid/region_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_2.txt
+../SMIL_Test_Files/smil_input/valid/region_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_3.txt
+../SMIL_Test_Files/smil_input/valid/region_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_4.txt
+../SMIL_Test_Files/smil_input/valid/region_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_5.txt
+../SMIL_Test_Files/smil_input/valid/region_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/region_att_6.txt
+../SMIL_Test_Files/smil_input/valid/root-layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_1.txt
+../SMIL_Test_Files/smil_input/valid/root-layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_2.txt
+../SMIL_Test_Files/smil_input/valid/root-layout_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/root-layout_att_3.txt
+../SMIL_Test_Files/smil_input/valid/seq_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_1.txt
+../SMIL_Test_Files/smil_input/valid/seq_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_2.txt
+../SMIL_Test_Files/smil_input/valid/seq_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_3.txt
+../SMIL_Test_Files/smil_input/valid/seq_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_4.txt
+../SMIL_Test_Files/smil_input/valid/seq_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_att_5.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_1.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_2.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_3.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_4.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_5.txt
+../SMIL_Test_Files/smil_input/valid/seq_struc_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/seq_struc_6.txt
+../SMIL_Test_Files/smil_input/valid/smil_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/smil_att_1.txt
+../SMIL_Test_Files/smil_input/valid/smil_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/smil_att_2.txt
+../SMIL_Test_Files/smil_input/valid/switch_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_att_1.txt
+../SMIL_Test_Files/smil_input/valid/switch_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_att_2.txt
+../SMIL_Test_Files/smil_input/valid/switch_struc_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_1.txt
+../SMIL_Test_Files/smil_input/valid/switch_struc_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_2.txt
+../SMIL_Test_Files/smil_input/valid/switch_struc_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/switch_struc_3.txt
+../SMIL_Test_Files/smil_input/valid/textstream_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_1.txt
+../SMIL_Test_Files/smil_input/valid/textstream_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_2.txt
+../SMIL_Test_Files/smil_input/valid/textstream_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_3.txt
+../SMIL_Test_Files/smil_input/valid/textstream_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_4.txt
+../SMIL_Test_Files/smil_input/valid/textstream_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/textstream_att_5.txt
+../SMIL_Test_Files/smil_input/valid/text_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_1.txt
+../SMIL_Test_Files/smil_input/valid/text_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_2.txt
+../SMIL_Test_Files/smil_input/valid/text_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_3.txt
+../SMIL_Test_Files/smil_input/valid/text_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_4.txt
+../SMIL_Test_Files/smil_input/valid/text_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/text_att_5.txt
+../SMIL_Test_Files/smil_input/valid/utf8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/utf8.txt
+../SMIL_Test_Files/smil_input/valid/video_att_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_1.txt
+../SMIL_Test_Files/smil_input/valid/video_att_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_2.txt
+../SMIL_Test_Files/smil_input/valid/video_att_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_3.txt
+../SMIL_Test_Files/smil_input/valid/video_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_4.txt
+../SMIL_Test_Files/smil_input/valid/video_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/video_att_5.txt
+../SMIL_Test_Files/smil_input/valid/whitespace_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/whitespace_1.txt
+../SMIL_Test_Files/smil_input/valid/whitespace_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/whitespace_2.txt
+../SMIL_Test_Files/smil_input/valid/xml_version_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/valid/xml_version_1.txt
+
+// SMIL Input invalid
+../SMIL_Test_Files/smil_input/invalid/a_att_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_10.txt
+../SMIL_Test_Files/smil_input/invalid/a_att_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_11.txt
+../SMIL_Test_Files/smil_input/invalid/a_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_6.txt
+../SMIL_Test_Files/smil_input/invalid/a_att_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_7.txt
+../SMIL_Test_Files/smil_input/invalid/a_att_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_8.txt
+../SMIL_Test_Files/smil_input/invalid/a_att_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/a_att_9.txt
+../SMIL_Test_Files/smil_input/invalid/cdata_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/cdata_1.txt
+../SMIL_Test_Files/smil_input/invalid/empty.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/empty.txt
+../SMIL_Test_Files/smil_input/invalid/entitiy_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entitiy_2.txt
+../SMIL_Test_Files/smil_input/invalid/entity_ref_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_1.txt
+../SMIL_Test_Files/smil_input/invalid/entity_ref_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_2.txt
+../SMIL_Test_Files/smil_input/invalid/entity_ref_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_3.txt
+../SMIL_Test_Files/smil_input/invalid/entity_ref_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/entity_ref_4.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_1.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_10.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_11.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_12.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_13.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_14.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_15.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_16.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_17.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_18.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_19.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_2.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_20.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_21.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_22.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_23.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_24.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_25.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_3.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_4.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_5.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_6.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_7.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_8.txt
+../SMIL_Test_Files/smil_input/invalid/further_invalid_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/further_invalid_9.txt
+../SMIL_Test_Files/smil_input/invalid/inc021591.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/inc021591.txt
+../SMIL_Test_Files/smil_input/invalid/inc021675.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/inc021675.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_1.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_1.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_10.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_11.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_12.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_12.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_13.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_13.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_14.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_14.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_15.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_15.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_16.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_16.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_17.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_17.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_18.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_18.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_19.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_19.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_2.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_2.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_20.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_20.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_21.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_21.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_22.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_22.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_23.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_23.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_24.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_24.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_25.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_25.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_26.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_26.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_27.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_27.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_28.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_28.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_29.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_29.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_3.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_3.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_31.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_31.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_32.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_32.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_33.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_33.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_34.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_34.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_35.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_35.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_36.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_36.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_37.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_37.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_38.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_38.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_39.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_39.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_4.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_40.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_40.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_5.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_6.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_7.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_8.txt
+../SMIL_Test_Files/smil_input/invalid/invalid_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/invalid_9.txt
+../SMIL_Test_Files/smil_input/invalid/region_att_10.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_10.txt
+../SMIL_Test_Files/smil_input/invalid/region_att_11.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_11.txt
+../SMIL_Test_Files/smil_input/invalid/region_att_7.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_7.txt
+../SMIL_Test_Files/smil_input/invalid/region_att_8.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_8.txt
+../SMIL_Test_Files/smil_input/invalid/region_att_9.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/region_att_9.txt
+../SMIL_Test_Files/smil_input/invalid/root-layout_att_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_4.txt
+../SMIL_Test_Files/smil_input/invalid/root-layout_att_5.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_5.txt
+../SMIL_Test_Files/smil_input/invalid/root-layout_att_6.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/root-layout_att_6.txt
+../SMIL_Test_Files/smil_input/invalid/switch_struc_4.txt c:/legacyminidomparsertest/smil_test_files/smil_input/invalid/switch_struc_4.txt
+
+// MMS Input valid
+../SMIL_Test_Files/mms_input/valid/audio_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_1.txt
+../SMIL_Test_Files/mms_input/valid/audio_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_2.txt
+../SMIL_Test_Files/mms_input/valid/audio_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/audio_att_3.txt
+../SMIL_Test_Files/mms_input/valid/body_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/body_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_2.txt
+../SMIL_Test_Files/mms_input/valid/body_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/body_struc_3.txt
+../SMIL_Test_Files/mms_input/valid/head_struct_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struct_4.txt
+../SMIL_Test_Files/mms_input/valid/head_struct_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struct_5.txt
+../SMIL_Test_Files/mms_input/valid/head_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/head_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/head_struc_3.txt
+../SMIL_Test_Files/mms_input/valid/img_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_1.txt
+../SMIL_Test_Files/mms_input/valid/img_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_2.txt
+../SMIL_Test_Files/mms_input/valid/img_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_att_3.txt
+../SMIL_Test_Files/mms_input/valid/img_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/img_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/layout_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/layout_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_3.txt
+../SMIL_Test_Files/mms_input/valid/layout_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_4.txt
+../SMIL_Test_Files/mms_input/valid/layout_struc_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/layout_struc_5.txt
+../SMIL_Test_Files/mms_input/valid/metadata_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/metadata_att1.txt
+../SMIL_Test_Files/mms_input/valid/meta_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/meta_att_1.txt
+../SMIL_Test_Files/mms_input/valid/meta_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/meta_att_2.txt
+../SMIL_Test_Files/mms_input/valid/par_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_att_1.txt
+../SMIL_Test_Files/mms_input/valid/par_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_att_2.txt
+../SMIL_Test_Files/mms_input/valid/par_prefetch.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_prefetch.txt
+../SMIL_Test_Files/mms_input/valid/par_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/par_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_2.txt
+../SMIL_Test_Files/mms_input/valid/par_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/par_struc_4.txt
+../SMIL_Test_Files/mms_input/valid/prefetch_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att1.txt
+../SMIL_Test_Files/mms_input/valid/prefetch_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att2.txt
+../SMIL_Test_Files/mms_input/valid/prefetch_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att3.txt
+../SMIL_Test_Files/mms_input/valid/prefetch_att4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/prefetch_att4.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_1.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_2.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_3.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_4.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_5.txt
+../SMIL_Test_Files/mms_input/valid/ref_att_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/ref_att_6.txt
+../SMIL_Test_Files/mms_input/valid/region_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_1.txt
+../SMIL_Test_Files/mms_input/valid/region_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_2.txt
+../SMIL_Test_Files/mms_input/valid/region_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_3.txt
+../SMIL_Test_Files/mms_input/valid/region_att_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_4.txt
+../SMIL_Test_Files/mms_input/valid/region_att_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_5.txt
+../SMIL_Test_Files/mms_input/valid/region_att_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_att_6.txt
+../SMIL_Test_Files/mms_input/valid/region_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/region_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/root-layout_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/root-layout_att_1.txt
+../SMIL_Test_Files/mms_input/valid/root-layout_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/root-layout_att_2.txt
+../SMIL_Test_Files/mms_input/valid/smil_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_1.txt
+../SMIL_Test_Files/mms_input/valid/smil_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_3.txt
+../SMIL_Test_Files/mms_input/valid/smil_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_4.txt
+../SMIL_Test_Files/mms_input/valid/smil_struc_5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/smil_struc_5.txt
+../SMIL_Test_Files/mms_input/valid/text_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/text_att_1.txt
+../SMIL_Test_Files/mms_input/valid/text_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/text_att_2.txt
+../SMIL_Test_Files/mms_input/valid/transition_att_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_1.txt
+../SMIL_Test_Files/mms_input/valid/transition_att_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_2.txt
+../SMIL_Test_Files/mms_input/valid/transition_att_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/valid/transition_att_3.txt
+
+// MMS Input invalid
+../SMIL_Test_Files/mms_input/invalid/body_struc_4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/body_struc_4.txt
+../SMIL_Test_Files/mms_input/invalid/head_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/head_struc_2.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_metadata_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_metadata_att1.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_meta_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_meta_att1.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_transition_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att2.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_transition_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att3.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_transition_att4.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att4.txt
+../SMIL_Test_Files/mms_input/invalid/invalid_transition_att5.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid_transition_att5.txt
+../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att1.txt
+../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att2.txt
+../SMIL_Test_Files/mms_input/invalid/invalid__prefetch_att3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/invalid__prefetch_att3.txt
+../SMIL_Test_Files/mms_input/invalid/layout_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_2.txt
+../SMIL_Test_Files/mms_input/invalid/layout_struc_6.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_6.txt
+../SMIL_Test_Files/mms_input/invalid/layout_struc_7.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/layout_struc_7.txt
+../SMIL_Test_Files/mms_input/invalid/par_struc_3.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/par_struc_3.txt
+../SMIL_Test_Files/mms_input/invalid/region_att_7.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/region_att_7.txt
+../SMIL_Test_Files/mms_input/invalid/smil_struc_2.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/smil_struc_2.txt
+../SMIL_Test_Files/mms_input/invalid/text_struc_1.txt c:/legacyminidomparsertest/smil_test_files/mms_input/invalid/text_struc_1.txt
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/legacyminidomparsertest.iby Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,29 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __LEGACYMINIDOMPARSERTEST_IBY__
+#define __LEGACYMINIDOMPARSERTEST_IBY__
+
+#include <legacyminidomparser.iby>
+
+file=ABI_DIR\BUILD_DIR\t_gmxmlparser.exe sys\bin\t_gmxmlparser.exe
+file=ABI_DIR\BUILD_DIR\t_gmxmlfailure.exe sys\bin\t_gmxmlfailure.exe
+
+file=ABI_DIR\BUILD_DIR\t_smiltranslatortest.exe sys\bin\t_smiltranslatortest.exe
+
+
+#endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/legacyminidomparsertest.pkg Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,368 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; All rights reserved.
+; This component and the accompanying materials are made available
+; under the terms of "Eclipse Public License v1.0"
+; which accompanies this distribution, and is available
+; at the URL "http://www.eclipse.org/legal/epl-v10.html".
+;
+; Initial Contributors:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;Legacyminidomparsertest.pkg
+
+; Languages -
+&EN
+
+; Installation header
+#{"Legacyminidomparsertest"}, (0x20032626), 1, 0, 0, TYPE=SA
+%{"Nokia Corporation"}
+:"Nokia Corporation"
+
+(0x101f7961),0, 0, 0 ,{"Series60ProductID"}
+; Install files
+;Test exes
+"\epoc32\release\armv5\urel\t_gmxmlparser.exe" - "c:\sys\bin\t_gmxmlparser.exe"
+"\epoc32\release\armv5\urel\t_gmxmlfailure.exe" - "c:\sys\bin\t_gmxmlfailure.exe"
+"\epoc32\release\armv5\urel\t_smiltranslatortest.exe" - "c:\sys\bin\t_smiltranslatortest.exe"
+
+"..\gmxmltest.txt" - "c:\gmxmltest.txt"
+
+;SMIL Input Valid
+"..\SMIL_Test_Files\smil_input\valid\anchor_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\anchor_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\anchor_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\anchor_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\anchor_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\anchor_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\animation_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\animation_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\animation_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\animation_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\animation_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\animation_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\area_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\area_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\area_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\area_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\area_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\area_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\ascii_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ascii_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\att_order_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_order_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\att_order_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_order_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\att_var_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\att_var_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\audio_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\audio_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\audio_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\audio_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\audio_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\audio_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\a_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\a_struc_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\body_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\body_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\body_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_struc_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\body_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\body_struc_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_10.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_11.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_12.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_13.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_14.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_15.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_16.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_17.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_18.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_19.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_20.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_21.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_22.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_23.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_24.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_25.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_26.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_27.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_28.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_28.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_29.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_29.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_30.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_30.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_6.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_7.txt"
+"..\SMIL_Test_Files\smil_input\valid\cdata_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\cdata_8.txt"
+"..\SMIL_Test_Files\smil_input\valid\comments_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\comments_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\doctype_variation.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\doctype_variation.txt"
+"..\SMIL_Test_Files\smil_input\valid\Entitiy_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\Entitiy_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_10.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_11.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_12.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_13.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_14.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_15.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_17.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_18.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_19.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_20.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_21.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_22.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_24.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_26.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_27.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_30.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_30.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_31.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_31.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_6.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_7.txt"
+"..\SMIL_Test_Files\smil_input\valid\entity_ref_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\entity_ref_8.txt"
+"..\SMIL_Test_Files\smil_input\valid\head_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\head_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\head_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\head_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\img_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\img_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\img_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\img_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\img_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\img_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\INC021337.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC021337.txt"
+"..\SMIL_Test_Files\smil_input\valid\INC022160.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC022160.txt"
+"..\SMIL_Test_Files\smil_input\valid\INC025788.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\INC025788.txt"
+"..\SMIL_Test_Files\smil_input\valid\layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\layout_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\layout_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\newline_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\newline_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\par_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\par_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\par_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\par_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\par_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\par_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\ref_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\ref_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\ref_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\ref_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\ref_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\ref_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\region_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\region_att_6.txt"
+"..\SMIL_Test_Files\smil_input\valid\root-layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\root-layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\root-layout_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\root-layout_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\seq_struc_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\seq_struc_6.txt"
+"..\SMIL_Test_Files\smil_input\valid\smil_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\smil_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\smil_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\smil_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\switch_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\switch_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\switch_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\switch_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\switch_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\switch_struc_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\textstream_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\textstream_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\textstream_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\textstream_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\textstream_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\textstream_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\text_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\text_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\text_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\text_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\text_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\text_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\utf8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\utf8.txt"
+"..\SMIL_Test_Files\smil_input\valid\video_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\video_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\video_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_3.txt"
+"..\SMIL_Test_Files\smil_input\valid\video_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_4.txt"
+"..\SMIL_Test_Files\smil_input\valid\video_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\video_att_5.txt"
+"..\SMIL_Test_Files\smil_input\valid\whitespace_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\whitespace_1.txt"
+"..\SMIL_Test_Files\smil_input\valid\whitespace_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\whitespace_2.txt"
+"..\SMIL_Test_Files\smil_input\valid\xml_version_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\valid\xml_version_1.txt"
+
+
+;SMIL Input InValid
+"..\SMIL_Test_Files\smil_input\invalid\a_att_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_10.txt"
+"..\SMIL_Test_Files\smil_input\invalid\a_att_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_11.txt"
+"..\SMIL_Test_Files\smil_input\invalid\a_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_6.txt"
+"..\SMIL_Test_Files\smil_input\invalid\a_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_7.txt"
+"..\SMIL_Test_Files\smil_input\invalid\a_att_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_8.txt"
+"..\SMIL_Test_Files\smil_input\invalid\a_att_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\a_att_9.txt"
+"..\SMIL_Test_Files\smil_input\invalid\cdata_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\cdata_1.txt"
+"..\SMIL_Test_Files\smil_input\invalid\Entitiy_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\Entitiy_2.txt"
+"..\SMIL_Test_Files\smil_input\invalid\entity_ref_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_1.txt"
+"..\SMIL_Test_Files\smil_input\invalid\entity_ref_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_2.txt"
+"..\SMIL_Test_Files\smil_input\invalid\entity_ref_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_3.txt"
+"..\SMIL_Test_Files\smil_input\invalid\entity_ref_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\entity_ref_4.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_1.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_10.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_11.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_12.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_13.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_14.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_15.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_16.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_17.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_18.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_19.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_2.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_20.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_21.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_22.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_23.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_24.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_25.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_3.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_4.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_5.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_6.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_7.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_8.txt"
+"..\SMIL_Test_Files\smil_input\invalid\further_invalid_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\further_invalid_9.txt"
+"..\SMIL_Test_Files\smil_input\invalid\INC021591.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\INC021591.txt"
+"..\SMIL_Test_Files\smil_input\invalid\INC021675.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\INC021675.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_1.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_10.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_11.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_12.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_12.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_13.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_13.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_14.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_14.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_15.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_15.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_16.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_16.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_17.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_17.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_18.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_18.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_19.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_19.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_2.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_20.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_20.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_21.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_21.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_22.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_22.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_23.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_23.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_24.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_24.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_25.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_25.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_26.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_26.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_27.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_27.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_28.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_28.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_29.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_29.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_3.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_31.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_31.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_32.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_32.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_33.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_33.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_34.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_34.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_35.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_35.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_36.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_36.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_37.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_37.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_38.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_38.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_39.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_39.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_4.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_40.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_40.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_5.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_6.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_7.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_8.txt"
+"..\SMIL_Test_Files\smil_input\invalid\invalid_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\invalid_9.txt"
+"..\SMIL_Test_Files\smil_input\invalid\region_att_10.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_10.txt"
+"..\SMIL_Test_Files\smil_input\invalid\region_att_11.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_11.txt"
+"..\SMIL_Test_Files\smil_input\invalid\region_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_7.txt"
+"..\SMIL_Test_Files\smil_input\invalid\region_att_8.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_8.txt"
+"..\SMIL_Test_Files\smil_input\invalid\region_att_9.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\region_att_9.txt"
+"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_4.txt"
+"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_5.txt"
+"..\SMIL_Test_Files\smil_input\invalid\root-layout_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\root-layout_att_6.txt"
+"..\SMIL_Test_Files\smil_input\invalid\switch_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\smil_input\invalid\switch_struc_4.txt"
+
+
+
+;MMS Input valid
+"..\SMIL_Test_Files\mms_input\valid\audio_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\audio_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\audio_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\audio_att_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\body_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\body_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\body_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struc_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\head_struct_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struct_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\head_struct_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\body_struct_5.txt"
+"..\SMIL_Test_Files\mms_input\valid\head_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\head_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\head_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\head_struc_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\img_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\img_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\img_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_att_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\img_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\img_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\layout_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\layout_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\layout_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\layout_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\layout_struc_5.txt"
+"..\SMIL_Test_Files\mms_input\valid\metadata_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\metadata_att1.txt"
+"..\SMIL_Test_Files\mms_input\valid\meta_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\meta_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\meta_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\meta_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_prefetch.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_prefetch.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\par_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\par_struc_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\prefetch_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att1.txt"
+"..\SMIL_Test_Files\mms_input\valid\prefetch_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att2.txt"
+"..\SMIL_Test_Files\mms_input\valid\prefetch_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att3.txt"
+"..\SMIL_Test_Files\mms_input\valid\prefetch_att4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\prefetch_att4.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_5.txt"
+"..\SMIL_Test_Files\mms_input\valid\ref_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\ref_att_6.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_5.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_att_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_att_6.txt"
+"..\SMIL_Test_Files\mms_input\valid\region_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\region_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\root-layout_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\root-layout_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\root-layout_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\root-layout_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\smil_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\smil_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_3.txt"
+"..\SMIL_Test_Files\mms_input\valid\smil_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_4.txt"
+"..\SMIL_Test_Files\mms_input\valid\smil_struc_5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\smil_struc_5.txt"
+"..\SMIL_Test_Files\mms_input\valid\text_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\text_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\text_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\text_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\transition_att_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_1.txt"
+"..\SMIL_Test_Files\mms_input\valid\transition_att_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_2.txt"
+"..\SMIL_Test_Files\mms_input\valid\transition_att_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\valid\transition_att_3.txt"
+
+
+
+;MMS Input invalid
+"..\SMIL_Test_Files\mms_input\invalid\body_struc_4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\body_struc_4.txt"
+"..\SMIL_Test_Files\mms_input\invalid\head_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\head_struc_2.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_metadata_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_metadata_att1.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_meta_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_meta_att1.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att2.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att3.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att4.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att4.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid_transition_att5.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid_transition_att5.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att1.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att2.txt"
+"..\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\invalid__prefetch_att3.txt"
+"..\SMIL_Test_Files\mms_input\invalid\layout_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_2.txt"
+"..\SMIL_Test_Files\mms_input\invalid\layout_struc_6.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_6.txt"
+"..\SMIL_Test_Files\mms_input\invalid\layout_struc_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\layout_struc_7.txt"
+"..\SMIL_Test_Files\mms_input\invalid\par_struc_3.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\par_struc_3.txt"
+"..\SMIL_Test_Files\mms_input\invalid\region_att_7.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\region_att_7.txt"
+"..\SMIL_Test_Files\mms_input\invalid\smil_struc_2.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\smil_struc_2.txt"
+"..\SMIL_Test_Files\mms_input\invalid\text_struc_1.txt" - "c:\legacyminidomparsertest\SMIL_Test_Files\mms_input\invalid\text_struc_1.txt"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/t_GmxmlFailure.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,35 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+//RTEST
+
+TARGET t_gmxmlfailure.exe
+TARGETTYPE exe
+
+SOURCEPATH ../
+SOURCE t_GmxmlFailure.CPP
+SOURCE t_XMLParserLOG.CPP
+
+USERINCLUDE ../
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+
+LIBRARY efsrv.lib euser.lib xmlparser.lib
+EPOCSTACKSIZE 0x8000
+
+VENDORID 0x70000001
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/t_GmxmlParser.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,41 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// t_gmxmlparser.mmp
+//
+
+//RTEST
+
+TARGET t_gmxmlparser.exe
+TARGETTYPE exe
+
+SOURCEPATH ../
+SOURCE GmxmlTestUtils.cpp
+SOURCE t_GmxmlParser.CPP
+
+
+USERINCLUDE ../
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+LIBRARY xmlparser.lib
+
+
+EPOCSTACKSIZE 0x8000
+
+
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/group/t_smiltranslatortest.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,53 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// t_smiltranslatortest.mmp
+//
+
+//RTEST
+
+TARGET t_smiltranslatortest.exe
+TARGETTYPE exe
+
+SOURCEPATH ../
+SOURCE t_smiltranslatortest.cpp
+SOURCE t_Smildtd.cpp
+
+
+USERINCLUDE ../
+
+OS_LAYER_SYSTEMINCLUDE_SYMBIAN
+
+
+
+LIBRARY euser.lib
+LIBRARY efsrv.lib
+LIBRARY xmlparser.lib
+LIBRARY bafl.lib
+
+SOURCEPATH ../../STRINGS
+START STRINGTABLE SMILElements.st
+ EXPORTPATH /epoc32/include
+END
+START STRINGTABLE SMILGenericElements.st
+ EXPORTPATH /epoc32/include
+END
+START STRINGTABLE SMILAttributes.st
+ EXPORTPATH /epoc32/include
+END
+
+EPOCSTACKSIZE 0x8000
+
+
+
+SMPSAFE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_GmxmlFailure.CPP Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,249 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <e32std.h>
+#include <e32test.h>
+#include "t_GmxmlFailure.h"
+#include "t_XMLParserLOG.H"
+
+LOCAL_D CActiveScheduler* scheduler;
+LOCAL_D CImLog* log;
+_LIT(KTestTitle, "T_GmxmlFailure");
+_LIT(KExistingFilePath, "c:\\GmxmlTest.txt");
+_LIT(KNonExistingFilePath, "c:\\msg\\NotExist.txt");
+LOCAL_D CGmxmlFailure* myTester;
+// Global variables
+RTest gTest(_L("t_GmxmlFailure Test Harness"));
+
+CGmxmlFailure :: CGmxmlFailure() : CActive(EPriorityStandard)
+ {
+ }
+
+/**
+ * Second stage constructor:
+ * Creates the XML parser and calls the ParseFile() with
+ * a non-exixtent file
+ */
+
+void CGmxmlFailure :: ConstructL()
+ {
+ iSession.Connect();
+ iCMDXMLParser = CMDXMLParser::NewL(this);
+ log->AppendComment(_L8("Performing tests on opening non-existing file"));
+ LoadXmlFile(KNonExistingFilePath);
+ log->AppendComment(_L8("Completed checking of opening non-existing file"));
+
+ CActiveScheduler::Add(this);
+
+ iState = ENonExistFileState;
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+
+void CGmxmlFailure::LoadXmlFile(const TDesC &aFilePath)
+ {
+ TInt err=iCMDXMLParser->ParseFile(iSession, aFilePath);
+ if(err!=KErrNone)
+ {
+ log->AppendError(_L8("Parse File returned an error "),err);
+ }
+ }
+
+void CGmxmlFailure::LockXmlFile()
+ {
+ RFile file;
+ //Open the file before calling ParseFile function.
+ file.Open(iSession, KExistingFilePath,EFileShareExclusive);
+ //Call the ParseFile() on the locked file
+ TInt err=iCMDXMLParser->ParseFile(iSession, KExistingFilePath);
+ if(err!=KErrNone)
+ {
+ log->AppendError(_L8("Parse File returned an error "),err);
+ }
+ file.Close();
+ }
+
+CGmxmlFailure :: ~CGmxmlFailure()
+/**
+ * Destructor
+ */
+ {
+ iSession.Close();
+ delete iCMDXMLParser;
+ }
+
+CGmxmlFailure* CGmxmlFailure :: NewLC()
+/**
+* Allocates a new CGmxmlFailure test object and pushes
+* it on clean up stack.
+* @return New CGmxmlFailure
+*/
+ {
+ CGmxmlFailure* self = new (ELeave) CGmxmlFailure();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+void CGmxmlFailure :: ParseFileCompleteL()
+/**
+* Function from MMDXMLParserObserver class
+*/
+ {
+ }
+
+
+void CGmxmlFailure :: DoCancel()
+/**
+* Functions from CActive class
+*/
+ {
+ }
+
+void CGmxmlFailure :: RunL()
+ {
+ switch(iState)
+ {
+ case ENonExistFileState:
+ {
+ CActiveScheduler::Stop();
+ iState = ELockFileState;
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+ break;
+ case ELockFileState:
+ {
+ CActiveScheduler::Stop();
+ iState = EEndState;
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+ break;
+ case EEndState:
+ {
+ CActiveScheduler::Stop();
+ }
+ break;
+ default:
+ break;
+ }
+
+ }
+
+LOCAL_C void InitL()
+ {
+ TBuf<80> logFile(KLogFileName);
+
+#if defined(__WINS__) && defined(__WINSCW__)
+ logFile.Append(_L(".WINSCW"));
+#elif(__WINS__)
+ logFile.Append(_L(".WINS"));
+#else
+ logFile.Append(_L(".MARM"));
+#endif
+
+#if defined(_DEBUG)
+ logFile.Append(_L(".DEB"));
+#else
+ logFile.Append(_L(".REL"));
+#endif
+ logFile.Append(_L(".LOG"));
+
+ gTest.Printf(_L("\nLog File "));
+ gTest.Printf(logFile);
+ gTest.Printf(_L("\n"));
+ log = CImLog::NewL(logFile, EAppend);
+ CleanupStack::PushL(log);
+ log->AppendComment(_L8("Test Results"));
+ log->AppendComment(_L8("T_GMXMLFAILURE memory leak test in XMLParser"));
+ log->AppendComment(_L8("Test 1 Starting"));
+ }
+
+/**
+ * setup test environment, create CGmxmlFailure object and run test.
+ *
+ * This is an memory leak test.
+ * Test case:
+ * Passes the file name and session to CMDXMLParser::ParseFile()
+ * as arguments and run the memory leak test.
+ * Running Instructions:
+ * 1. Build this test harness: cd \GMXML\XMLParser\GROUP
+ * bldmake bldfiles
+ * abld test build wins udeb t_GmxmlFailure
+ * 2. Run t_GmxmlFailure.exe: cd \epoc32\release\wins\udeb
+ * t_GmxmlFailure -dtextshell --
+ *
+ * Output files produced by running test harness:
+ * <DRIVE>:\msglogs\T_GMXMLFAILURE.<PLATFORM>.<VARIANT>.txt
+ */
+
+LOCAL_C void doMainL()
+ {
+ gTest.Start(KTestTitle);
+ InitL();
+ scheduler = new (ELeave) CActiveScheduler;
+ CleanupStack::PushL(scheduler);
+ CActiveScheduler::Install( scheduler );
+ __UHEAP_MARK;
+ myTester = CGmxmlFailure::NewLC();
+ CActiveScheduler::Start();
+ log->AppendComment(_L8("Completed tests. No panic"));
+ log->AppendComment(_L8("Test PASSED"));
+ log->AppendComment(_L8("Test 1 OK"));
+
+ log->AppendComment(_L8("Test 2 Starting"));
+ log->AppendComment(_L8("Performing tests on opening existing file"));
+ myTester->LoadXmlFile(KExistingFilePath);
+ log->AppendComment(_L8("Completed checking of opening existing file"));
+ CActiveScheduler::Start();
+ log->AppendComment(_L8("Completed tests. No panic"));
+ log->AppendComment(_L8("Test PASSED"));
+ log->AppendComment(_L8("Test 2 OK"));
+
+ log->AppendComment(_L8("Test 3 Starting"));
+ log->AppendComment(_L8("Performing tests on locked file"));
+ myTester->LockXmlFile();
+ log->AppendComment(_L8("Completed checking of opening a locked file"));
+ CActiveScheduler::Start();
+ log->AppendComment(_L8("Completed tests. No panic"));
+ log->AppendComment(_L8("Test PASSED"));
+ log->AppendComment(_L8("Test 3 OK"));
+
+ CleanupStack::PopAndDestroy(myTester); // myTester
+ __UHEAP_MARKEND;
+
+ log->AppendComment(_L8("No memory leak in XMLParser"));
+ log->AppendComment(_L8("T_GMXMLFAILURE Tests Complete"));
+ log->AppendComment(_L8("Tests Completed"));
+
+ CleanupStack::PopAndDestroy(2); // scheduler, log
+ gTest.End();
+ gTest.Close();
+ }
+
+/** entry point for test executable */
+GLDEF_C TInt E32Main()
+ {
+ CTrapCleanup* theCleanup = CTrapCleanup::New();
+ TRAPD(ret,doMainL());
+ gTest(ret==KErrNone);
+ delete theCleanup;
+
+ return(KErrNone);
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_GmxmlFailure.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,76 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <e32base.h>
+#include <f32file.h>
+#include <gmxmlparser.h>
+
+/** @file
+ * This file contains the declaration of the generic CGmxmlFailure class
+ * which is responsible for testing the memory leak in the XMLParser.
+ */
+
+class CGmxmlFailure : public CActive, public MMDXMLParserObserver
+ {
+public:
+ /** Allocates and constructs a new CGmxmlFailure test.
+ @return New CGmxmlFailure
+ */
+ static CGmxmlFailure* NewLC();
+
+ // Second constructor
+ void ConstructL();
+
+ /** Constructor. */
+ CGmxmlFailure();
+
+ /** Destructor. */
+ ~CGmxmlFailure();
+
+ /**
+ * Functions from MMDXMLParserObserver class
+ */
+ void ParseFileCompleteL();
+
+ /**
+ * Function from MMDXMLComposerObserver
+ */
+ void ComposeFileCompleteL();
+
+ void LoadXmlFile(const TDesC &aFilePath);
+ void LockXmlFile();
+
+public: // from CActive
+ void DoCancel();
+ /*
+ * RunL function inherited from CActive base class - carries out the actual
+ * parser leak test.
+ * @leave can Leave due to OOM
+ */
+ void RunL();
+
+private:
+ CMDXMLParser* iCMDXMLParser;
+ RFs iSession; // File session for ParseFile.
+ TInt iState;
+ enum TStates
+ {
+ EEndState = 0x00,
+ ENonExistFileState,
+ ELockFileState,
+ };
+ };
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_GmxmlParser.CPP Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,207 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#include <e32test.h>
+#include <e32std.h>
+#include <f32file.h>
+#include <gmxmlparser.h>
+
+#include "GmxmlTestsetup.h"
+
+
+_LIT(KGMXMLParserTest,"T_GMXMLParser");
+class CTestGMXMLParser;
+
+RTest test(KGMXMLParserTest);
+LOCAL_D CTestGMXMLParser* testParser;
+LOCAL_D CActiveScheduler* scheduler;
+
+//------------------------------------------------------------------------------
+
+class CStreamErrorDataSupplier : public CBase, public MMDXMLParserDataProvider
+ {
+public:
+ static CStreamErrorDataSupplier * NewL();
+ ~CStreamErrorDataSupplier () {}
+
+ // From MMDXMLParserDataProvided
+ void GetData(TPtrC8& aPtr, TRequestStatus &aStatus);
+ void Disconnect() {}
+ };
+
+//------------------------------------------------------------------------------
+
+CStreamErrorDataSupplier* CStreamErrorDataSupplier::NewL()
+ {
+ CStreamErrorDataSupplier* self = new (ELeave) CStreamErrorDataSupplier();
+ return self;
+ }
+
+//------------------------------------------------------------------------------
+// From MMDXMLParserDataProvided
+void CStreamErrorDataSupplier::GetData(TPtrC8& /*aPtr*/, TRequestStatus &aStatus)
+ {
+ TRequestStatus *s = &aStatus;
+ User::RequestComplete(s, KDataStreamError);
+ return;
+ }
+
+//------------------------------------------------------------------------------
+
+class CTestGMXMLParser : public CActive, public MMDXMLParserObserver
+ {
+public:
+ static CTestGMXMLParser* NewLC();
+ ~CTestGMXMLParser();
+ void ConstructL();
+ void RunTestL();
+
+public: // from CActive
+ void DoCancel();
+ void RunL();
+
+public: // from MMDXMLParserObserver
+ void ParseFileCompleteL();
+
+private:
+ CTestGMXMLParser();
+
+public:
+ TBool iParseFileCompleted; // Whether the ParseFileCompleted was called.
+ TBool iParserCalled; // Whether the GMXMLParser::ParseSource was called
+
+private:
+ CMDXMLParser* iParser;
+ CStreamErrorDataSupplier* iDataSupplier;
+ CTestTimer* iTimer;
+
+ static const TTimeIntervalMicroSeconds32 TestParserTimeout;
+ };
+
+//------------------------------------------------------------------------------
+
+const TTimeIntervalMicroSeconds32 CTestGMXMLParser::TestParserTimeout = 10000000; // 10s
+
+//------------------------------------------------------------------------------
+
+CTestGMXMLParser* CTestGMXMLParser::NewLC()
+ {
+ CTestGMXMLParser* self = new (ELeave) CTestGMXMLParser();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+//------------------------------------------------------------------------------
+
+CTestGMXMLParser::~CTestGMXMLParser()
+ {
+ delete iParser;
+ delete iDataSupplier;
+ delete iTimer;
+ }
+
+//------------------------------------------------------------------------------
+
+CTestGMXMLParser::CTestGMXMLParser() : CActive(EPriorityStandard), iParseFileCompleted(EFalse), iParserCalled(EFalse)
+ {
+ }
+
+//------------------------------------------------------------------------------
+
+void CTestGMXMLParser::ConstructL()
+ {
+ iParser = CMDXMLParser::NewL(this);
+ iTimer = CTestTimer::NewL();
+
+ CActiveScheduler::Add(this);
+
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+
+//------------------------------------------------------------------------------
+
+void CTestGMXMLParser::RunL()
+ {
+ RunTestL();
+ }
+
+//------------------------------------------------------------------------------
+
+void CTestGMXMLParser::DoCancel()
+ {
+ }
+
+//------------------------------------------------------------------------------
+
+void CTestGMXMLParser::RunTestL()
+ {
+ if (!iParserCalled)
+ {
+ delete iDataSupplier;
+ iDataSupplier = NULL;
+ iDataSupplier = CStreamErrorDataSupplier::NewL();
+ iParser->ParseSource(iDataSupplier);
+
+ iStatus = KRequestPending;
+ SetActive();
+ iParserCalled = ETrue;
+ // Create a timer to stop the active scheduler if ParseFileComplete not called.
+ iTimer->AfterReq(CTestGMXMLParser::TestParserTimeout, iStatus);
+ }
+ else
+ CActiveScheduler::Stop();
+ }
+
+//------------------------------------------------------------------------------
+
+void CTestGMXMLParser::ParseFileCompleteL()
+ {
+ // Success.
+ iParseFileCompleted = ETrue;
+
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ }
+
+//------------------------------------------------------------------------------
+
+LOCAL_C void doTestsL()
+ {
+ scheduler = new (ELeave) CActiveScheduler;
+ CleanupStack::PushL(scheduler);
+ CActiveScheduler::Install( scheduler );
+ testParser = CTestGMXMLParser::NewLC();
+
+ theUtils->WriteComment(_L("\nPerforming Tests\n"));
+ theUtils->Start(_L("Testing GMXMLParser receiving KDataStreamError from MMDXMLParserDataProvider::GetData()"));
+ CActiveScheduler::Start();
+ theUtils->Complete();
+
+ // Succeed only if the GMXMLParser::ParserSource was called and it resulted
+ // in ParseFileCompleted being called.
+ if (!testParser->iParserCalled || !testParser->iParseFileCompleted)
+ {
+ theUtils->WriteComment(_L("\nParseFileCompleted was not called within the timeout (10s)!"));
+ User::Leave(KErrGeneral);
+ }
+
+ CleanupStack::PopAndDestroy(2); //testParser, ischeduler
+ }
+
+//------------------------------------------------------------------------------
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_SmilData.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,228 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the definitions of elemenent names and transitions
+// for the SMIL DTD.
+//
+//
+
+/**
+ @file
+*/
+
+#ifndef T_SMILDATA_H
+#define T_SMILDATA_H
+
+// Constants for the initial and terminal states
+const TInt KSMILDTDStartState = 0;
+const TInt KSMILDTDEndState = -1;
+const TInt KSMILDTDMinJump = 5; // Don't do binary chop below this size. Not a critical value.
+
+#define MAKESMILDTDSTATETYPE( from, to, str ) { from, to, _S(str), (sizeof(str)-1) }
+
+//Literal definitions for element names
+_LIT(KSMILDTDElta, "a");
+_LIT(KSMILDTDEltanchor, "anchor");
+_LIT(KSMILDTDEltanimation, "animation");
+_LIT(KSMILDTDEltarea, "area");
+_LIT(KSMILDTDEltaudio, "audio");
+_LIT(KSMILDTDEltbody, "body");
+_LIT(KSMILDTDElthead, "head");
+_LIT(KSMILDTDEltimg, "img");
+_LIT(KSMILDTDEltlayout, "layout");
+_LIT(KSMILDTDEltpar, "par");
+_LIT(KSMILDTDEltprefetch, "prefetch");
+_LIT(KSMILDTDEltref, "ref");
+_LIT(KSMILDTDEltregion, "region");
+_LIT(KSMILDTDEltroot_layout, "root-layout");
+_LIT(KSMILDTDEltseq, "seq");
+_LIT(KSMILDTDEltsmil, "smil");
+_LIT(KSMILDTDEltswitch, "switch");
+_LIT(KSMILDTDElttext, "text");
+_LIT(KSMILDTDElttextstream, "textstream");
+_LIT(KSMILDTDEltvideo, "video");
+_LIT(KSMILDTDEltmeta, "meta");
+_LIT(KSMILDTDEltmetadata, "metadata");
+_LIT(KSMILDTDEltDoc, "documentelement");
+_LIT(KSMILDTDEltTrans, "transition");
+// Child Validation States
+
+// Array of allowed child element state transitions
+// <!ELEMENT seq (text|img|audio|video|animation|textstream|ref|switch|a|anchor|area|par|seq)*>
+// Same for par
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDTimingChildStates[15] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 0, "a"),
+ MAKESMILDTDSTATETYPE(0, 0, "anchor"),
+ MAKESMILDTDSTATETYPE(0, 0, "animation"),
+ MAKESMILDTDSTATETYPE(0, 0, "area"),
+ MAKESMILDTDSTATETYPE(0, 0, "audio"),
+ MAKESMILDTDSTATETYPE(0, 0, "img"),
+ MAKESMILDTDSTATETYPE(0, 0, "par"),
+ MAKESMILDTDSTATETYPE(0, 0, "prefetch"),
+ MAKESMILDTDSTATETYPE(0, 0, "ref"),
+ MAKESMILDTDSTATETYPE(0, 0, "seq"),
+ MAKESMILDTDSTATETYPE(0, 0, "switch"),
+ MAKESMILDTDSTATETYPE(0, 0, "text"),
+ MAKESMILDTDSTATETYPE(0, 0, "textstream"),
+ MAKESMILDTDSTATETYPE(0, 0, "video")
+ };
+
+LOCAL_D const TInt KSMILDTDTimingChildStateTranCount = 15;
+
+
+LOCAL_D const TSMILDTDChildStateType SMILDTDAChildStates[8] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 0, "animation"),
+ MAKESMILDTDSTATETYPE(0, 0, "audio"),
+ MAKESMILDTDSTATETYPE(0, 0, "img"),
+ MAKESMILDTDSTATETYPE(0, 0, "ref"),
+ MAKESMILDTDSTATETYPE(0, 0, "text"),
+ MAKESMILDTDSTATETYPE(0, 0, "textstream"),
+ MAKESMILDTDSTATETYPE(0, 0, "video")
+ };
+
+LOCAL_D const TInt KSMILDTDAChildStateTranCount = 8;
+
+
+// Array of allowed child element state transitions
+// <!ELEMENT body (par|seq|text|img|audio|video|animation|textstream|ref|switch|a|anchor|area)*>
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDBodyChildStates[15] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 0, "a"),
+ MAKESMILDTDSTATETYPE(0, 0, "anchor"),
+ MAKESMILDTDSTATETYPE(0, 0, "area"),
+ MAKESMILDTDSTATETYPE(0, 0, "animation"),
+ MAKESMILDTDSTATETYPE(0, 0, "audio"),
+ MAKESMILDTDSTATETYPE(0, 0, "img"),
+ MAKESMILDTDSTATETYPE(0, 0, "par"),
+ MAKESMILDTDSTATETYPE(0, 0, "prefetch"),
+ MAKESMILDTDSTATETYPE(0, 0, "ref"),
+ MAKESMILDTDSTATETYPE(0, 0, "seq"),
+ MAKESMILDTDSTATETYPE(0, 0, "switch"),
+ MAKESMILDTDSTATETYPE(0, 0, "text"),
+ MAKESMILDTDSTATETYPE(0, 0, "textstream"),
+ MAKESMILDTDSTATETYPE(0, 0, "video")
+ };
+
+LOCAL_D const TInt KSMILDTDBodyChildStateTranCount = 15;
+
+
+// Array of allowed child element state transitions
+// <!ELEMENT head (layout|switch)?> PLUS we allow meta's anywhere!
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDHeadChildStates[10] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(1, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 1, "layout"),
+ MAKESMILDTDSTATETYPE(0, 0, "meta"),
+ MAKESMILDTDSTATETYPE(1, 1, "meta"),
+ MAKESMILDTDSTATETYPE(0, 0, "metadata"),
+ MAKESMILDTDSTATETYPE(1, 1, "metadata"),
+ MAKESMILDTDSTATETYPE(0, 0, "transition"),
+ MAKESMILDTDSTATETYPE(1, 1, "transition"),
+ MAKESMILDTDSTATETYPE(0, 1, "switch")
+ };
+
+LOCAL_D const TInt KSMILDTDHeadChildStateTranCount = 10;
+
+
+// Array of allowed child element state transitions
+// <!ELEMENT layout (root-layout?,(region)*)>
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDLayoutChildStates[5] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(1, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 1, "region"),
+ MAKESMILDTDSTATETYPE(1, 1, "region"),
+ MAKESMILDTDSTATETYPE(0, 1, "root-layout")
+ };
+
+LOCAL_D const TInt KSMILDTDLayoutChildStateTranCount = 5;
+
+
+// Array of allowed child element state transitions
+// <!ELEMENT MediaObject (area|anchor)*>
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDMediaChildStates[3] =
+ {
+ MAKESMILDTDSTATETYPE( 0, -1, "") ,
+ MAKESMILDTDSTATETYPE( 0, 0, "anchor"),
+ MAKESMILDTDSTATETYPE( 0, 0, "area")
+ };
+
+LOCAL_D const TInt KSMILDTDMediaChildStateTranCount = 3;
+
+// Array of allowed child element state transitions
+// <!ELEMENT smil (head?,body?)>
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDSmilChildStates[6] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(1, -1, ""),
+ MAKESMILDTDSTATETYPE(2, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 2, "body"),
+ MAKESMILDTDSTATETYPE(1, 2, "body"),
+ MAKESMILDTDSTATETYPE(0, 1, "head")
+ };
+
+LOCAL_D const TInt KSMILDTDSmilChildStateTranCount = 6;
+
+// Array of allowed child element state transitions
+// <!ELEMENT switch ((text|img|audio|video|animation|textstream|ref|a|anchor|area)*|(par|seq)*|layout)>
+// Entries must be sorted by tag and then by from state
+LOCAL_D const TSMILDTDChildStateType SMILDTDSwitchChildStates[31] =
+ {
+ MAKESMILDTDSTATETYPE(0, -1, ""),
+ MAKESMILDTDSTATETYPE(1, -1, ""),
+ MAKESMILDTDSTATETYPE(2, -1, ""),
+ MAKESMILDTDSTATETYPE(3, -1, ""),
+ MAKESMILDTDSTATETYPE(0, 1, "a"),
+ MAKESMILDTDSTATETYPE(1, 1, "a"),
+ MAKESMILDTDSTATETYPE(0, 1, "anchor"),
+ MAKESMILDTDSTATETYPE(1, 1, "anchor"),
+ MAKESMILDTDSTATETYPE(0, 1, "animation"),
+ MAKESMILDTDSTATETYPE(1, 1, "animation"),
+ MAKESMILDTDSTATETYPE(0, 1, "area"),
+ MAKESMILDTDSTATETYPE(1, 1, "area"),
+ MAKESMILDTDSTATETYPE(0, 1, "audio"),
+ MAKESMILDTDSTATETYPE(1, 1, "audio"),
+ MAKESMILDTDSTATETYPE(0, 1, "img"),
+ MAKESMILDTDSTATETYPE(1, 1, "img"),
+ MAKESMILDTDSTATETYPE(0, 3, "layout"),
+ MAKESMILDTDSTATETYPE(0, 2, "par"),
+ MAKESMILDTDSTATETYPE(2, 2, "par"),
+ MAKESMILDTDSTATETYPE(0, 1, "prefetch"),
+ MAKESMILDTDSTATETYPE(1, 1, "prefetch"),
+ MAKESMILDTDSTATETYPE(0, 1, "ref"),
+ MAKESMILDTDSTATETYPE(1, 1, "ref"),
+ MAKESMILDTDSTATETYPE(0, 2, "seq"),
+ MAKESMILDTDSTATETYPE(2, 2, "seq"),
+ MAKESMILDTDSTATETYPE(0, 1, "text"),
+ MAKESMILDTDSTATETYPE(1, 1, "text"),
+ MAKESMILDTDSTATETYPE(0, 1, "textstream"),
+ MAKESMILDTDSTATETYPE(1, 1, "textstream"),
+ MAKESMILDTDSTATETYPE(0, 1, "video"),
+ MAKESMILDTDSTATETYPE(1, 1, "video")
+ };
+
+LOCAL_D const TInt KSMILDTDSwitchChildStateTranCount = 31;
+
+#endif // T_SMILDATA_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_SmilDtd.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,119 @@
+// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the definition of the SMILDTD class
+//
+//
+/**
+ * @file
+ * @publishedPartner
+ * @released
+ */
+#ifndef T_SMILDTD_H
+#define T_SMILDTD_H
+
+#include <e32def.h>
+#include <gmxmldocument.h>
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "t_smildtdenum.h"
+#endif
+/**
+MXMLDtd is a mixin class. If User wants to derive from MXMLDtd class ,
+then one should not derive from any other class at the same time.
+i.e A class can not derive from CBase at all using MXMLDtd.
+
+Represents the SMIL DTD.
+It is used for validation of SMIL documents.
+@publishedPartner
+@released
+*/
+class CSMILDtd: public MXMLDtd
+ {
+public:
+
+ /** Allocates and constructs a new SMIL DTD validator.
+
+ @leave KErrNoMemory Out of memory
+ @return New SMIL DTD validator */
+ IMPORT_C static CSMILDtd* NewL();
+
+ /** Allocates and constructs a new SMIL DTD validator, leaving the object on the
+ cleanup stack.
+
+ @leave KErrNoMemory Out of memory
+ @return New SMIL DTD validator */
+ IMPORT_C static CSMILDtd* NewLC();
+
+ /** Destructor. */
+ IMPORT_C virtual ~CSMILDtd();
+
+protected:
+ /*
+ * Function to determine whether an Element name is valid in DTD
+ * @return ETrue the if element name valid - else EFalse
+ * @param aElement the element name to be tested
+ * @leave can leave due to OOM
+ */
+ virtual TBool IsValidElementL(const TDesC& aElement) const;
+
+ /*
+ * Function to determine whether an attribute name and value is valid in DTD
+ * @return KErrNone if name&value are valid, KXMLBadAttributeName if attrib name invalid
+ * KXMLBadAttributeValue if attrib value invalid
+ * @param aElement the element to which the attributes belong
+ * @param aAttribute the attribute to be tested
+ * @leave aAttributeValue the attributeValue to be tested
+ * @leave can leave due to OOM
+ */
+
+ virtual TInt IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const;
+
+ /*
+ * Function to determine whether the parent/child relationship is valid in DTD
+ * @return ETrue if parent/child relationship is valid
+ * @param aParentElement the name of the parent element to be tested
+ * @param aChildElements an array of child element name to be tested
+ * @leave can leave due to OOM
+ */
+
+ virtual TBool AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const;
+
+
+ /*
+ * Function to determine whether it is valid for a particular element to
+ * have children
+ * @param aElement the name of the element to be tested
+ * @return ETrue if it is valid for element to have children
+ */
+ virtual TBool CanElementHaveChildren(const TDesC& aElement) const;
+
+
+ /*
+ * Constructor
+ */
+ CSMILDtd();
+
+private:
+ /*
+ * Second stage constructor
+ */
+ void ConstructL();
+
+ TBool CheckValidChildren(const TSMILDTDChildStateType aStateTrans[],TInt aStateCount, const CDesCArray& aChildElements) const;
+
+ };
+
+#endif
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_Smildtd.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,549 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// CSMILDTD.cpp
+// @file
+// This file contains the definition of the SMILDTD class
+// which describes the SMIL DTD and is responsible for validation
+// of SMIL documents
+//
+//
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "t_smildtdenum.h"
+#endif
+#include "t_SmilDtd.h"
+#include "t_SmilData.h"
+#include <stringpool.h>
+#include "smilelements.h"
+#include "smilattributes.h"
+#include "smilgenericelements.h"
+#include <gmxmlconstants.h>
+
+//
+// Global functions //
+//
+
+
+EXPORT_C CSMILDtd* CSMILDtd::NewL()
+//
+// Two phase static factory function constructor
+// @return Created CSMILDtd
+// @leave can Leave due to OOM
+//
+ {
+ CSMILDtd* self = NewLC();
+ CleanupStack::Pop();
+ return self;
+ }
+
+EXPORT_C CSMILDtd* CSMILDtd::NewLC()
+//
+// Two phase static factory function constructor
+// @return Created CSMILDtd
+// @leave can Leave due to OOM
+//
+ {
+ CSMILDtd* self = new (ELeave) CSMILDtd();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+void CSMILDtd::ConstructL()
+//
+// Second stage constructor
+// @leave can Leave due to OOM
+//
+ {
+ // nothing to do
+ }
+
+
+CSMILDtd::CSMILDtd()
+ {
+ }
+
+
+EXPORT_C CSMILDtd::~CSMILDtd()
+ {
+ }
+
+TBool CSMILDtd::IsValidElementL(const TDesC& aElement) const
+ {
+//
+// Checks to see if the element name passed in has been specified in the string table
+// @param aElementName the element name to be checked
+// @return ETrue if defined in the string table else EFalse
+// @leave Leave due to OOM
+//
+
+ // Use the string table SMILElements to validate the element name
+ TBool validElement = EFalse;
+
+ RStringPool pool;
+ CleanupClosePushL(pool);
+ pool.OpenL(SMILElements::Table);
+
+ int numTableEntries = SMILElements::Table.iCount;
+ if(numTableEntries != 0)
+ {
+ // Using a binary search since the table is always sorted alphabetically by element.
+
+ // Set us search indices to outer bounds of array
+ TInt left = 0;
+ TInt right = numTableEntries - 1;
+ TInt compareResult = 0;
+ TInt pos;
+ while (right >= left)
+ {
+ pos = (left + right) / 2;
+
+ RStringF tableEntry = pool.StringF(pos, SMILElements::Table);
+ HBufC* buf = HBufC::NewLC(tableEntry.DesC().Length());
+ buf->Des().Copy(tableEntry.DesC());
+
+ TLex string(*buf);
+
+ TPtrC token = string.NextToken();
+ compareResult = aElement.Compare(token);
+ if(compareResult == 0)
+ validElement = ETrue;
+
+ CleanupStack::PopAndDestroy(buf);
+
+
+ if(compareResult == 0)
+ break;
+ else if (compareResult > 0)
+ left = pos + 1;
+ else
+ right = pos - 1;
+ }
+
+ }
+ CleanupStack::PopAndDestroy(); // close pool
+ return validElement;
+
+ }
+
+TInt CSMILDtd::IsValidAttributeForElementL(const TDesC& aElement, const TDesC& aAttribute, const TDesC& aAttributeValue) const
+ {
+//
+// Checks that both the Attribute Name & Attribute Value are valid using string tables stored in the document
+// @param aAttributeName - name of attribute to be checked
+// @param aAttributeValue - value of attribute to be checked
+// @return KErrNone if attribute & value are valid, otherwise KErrXMLBadAttributeName or KErrXMLBadAttributeValue
+// @leave Leave due to OOM
+//
+
+
+ // To reduce the size of the element/attribute/value generic element names are used
+ // So for example 'img' and 'video' are both represented by the genericelement 'media'
+ // A table exists (SMILGenericElements) detailing these relationships
+
+ // So first we see if there is a generic element name for this element
+ // If not then genericElementName will just be the element name passed in
+ HBufC* genericElementName = NULL;
+
+
+ RStringPool pool;
+ CleanupClosePushL(pool);
+ pool.OpenL(SMILGenericElements::Table);
+
+ TInt numTableEntries = SMILGenericElements::Table.iCount;
+ if(numTableEntries != 0)
+ {
+ // Using a binary search since the table is always sorted alphabetically by element.
+
+ // Set us search indices to outer bounds of array
+ TInt left = 0;
+ TInt right = numTableEntries - 1;
+ TInt pos;
+ while (right >= left)
+ {
+ pos = (left + right) / 2;
+
+ RStringF elementAndGeneric = pool.StringF(pos, SMILGenericElements::Table);
+
+ HBufC* buf = HBufC::NewLC(elementAndGeneric.DesC().Length());
+ buf->Des().Copy(elementAndGeneric.DesC());
+ TLex string(*buf);
+
+ TPtrC token = string.NextToken();
+ TInt compare = aElement.Compare(token);
+
+ if(compare == 0)
+ {
+ // We've got a match so use the generic name
+ // This isn't pushed on the CleanupStack here as we need to be able to pop
+ // buf and pool whilst genericElementName is still in scope. It will be
+ // pushed once these aren't necessary. Because of this THERE MUST BE
+ // NOTHING THAT LEAVES UNTIL genericElementName IS PUT ONTO THE CLEANUPSTACK
+ genericElementName =(string.NextToken()).AllocL();
+ }
+
+ CleanupStack::PopAndDestroy(buf); //buf
+
+
+ if(compare == 0)
+ break;
+ else if (compare > 0)
+ left = pos + 1;
+ else
+ right = pos - 1;
+ }
+ }
+
+ CleanupStack::PopAndDestroy(); // Close pool
+
+ if(genericElementName != NULL)
+ {
+ CleanupStack::PushL(genericElementName);
+ }
+ else
+ {
+ // We didn't find a generic name so use the element name passed in
+ genericElementName = HBufC::NewLC(aElement.Length());
+ genericElementName->Des().Copy(aElement);
+ }
+
+ // Using the generic element name test to see if we have a valid attribute and value
+
+ // assume the attribute name is invalid
+ TInt error = KErrXMLBadAttributeName;
+
+ // retrieve the attributeValue string table
+ // this is of the form elementName attributeName attribValue1 attribValue2 ...
+
+ CleanupClosePushL(pool);
+ pool.OpenL(SMILAttributes::Table);
+
+ numTableEntries = SMILAttributes::Table.iCount;
+ if(numTableEntries != 0)
+ {
+ // Using a binary search since the table is always sorted alphabetically by element+attribute.
+
+ // Set us search indices to outer bounds of array
+ TInt left = 0;
+ TInt right = numTableEntries - 1;
+ TInt compareResult = 0;
+ TInt pos;
+ while (right >= left)
+ {
+ pos = (left + right) / 2;
+
+ RStringF tableEntry = pool.StringF(pos, SMILAttributes::Table);
+ HBufC* buf = HBufC::NewLC(tableEntry.DesC().Length());
+ buf->Des().Copy(tableEntry.DesC());
+
+ TLex string(*buf);
+
+ // Get the element name from the string table (the first token)
+ TPtrC token = string.NextToken();
+ // Is this the element name we are interested in
+ compareResult = genericElementName->Compare(token);
+ if(compareResult == 0)
+ {
+ // we're looking at an entry in the string table for this element
+ // so test to see if it's the correct attribute too.
+ token.Set(string.NextToken());
+ compareResult = aAttribute.Compare(token);
+ if(compareResult == 0)
+ {
+ // we've got the correct entry in the table (both element & attribute match)
+ // so now assume the error is an incorrect attribute value
+ error = KErrXMLBadAttributeValue;
+
+ // get hold of the first valid attribure value
+ token.Set(string.NextToken());
+ // if we don't have a list of attribute values then we can assume whatever we've got is valid
+ // so set the error to KErrNone
+ if (token.Length() == 0)
+ error = KErrNone;
+ else
+ {
+ // Cycle through all listed attribute values to see if we have a valid one
+ while (token.Length() != 0)
+ {
+ if (aAttributeValue.Compare(token) == 0)
+ {
+ // value of attribute is valid
+ error = KErrNone;
+ break;
+ }
+ else
+ token.Set(string.NextToken());
+
+ }
+ }
+
+ }
+
+ }
+ CleanupStack::PopAndDestroy(buf); // buf
+ if (compareResult == 0) // Matching item found
+ break;
+ else if (compareResult > 0)
+ left = pos + 1;
+ else
+ right = pos - 1;
+ }
+
+ }
+ CleanupStack::PopAndDestroy(2); // pool, genericElementName
+
+ return error;
+ }
+
+TBool CSMILDtd::AreValidChildElementsL(const TDesC& aParentElement, const CDesCArray& aChildElements) const
+// Function to determine whether the parent/child relationship is valid in DTD
+// @return ETrue if parent/child relationship is valid
+// @param aParentElement the name of the parent element to be tested
+// @param aChildElements an array of child element name to be tested
+// @leave leave due to OOM
+//
+ {
+ TBool retVal = EFalse;
+
+
+
+ if(aParentElement == KSMILDTDElta)
+ {
+ retVal = CheckValidChildren(SMILDTDAChildStates,KSMILDTDAChildStateTranCount, aChildElements);
+ }
+
+ else if( aParentElement == KSMILDTDEltDoc)
+ {
+ retVal = ETrue;
+ }
+
+
+ else if(aParentElement == KSMILDTDEltanimation || aParentElement == KSMILDTDEltaudio || aParentElement == KSMILDTDEltimg || aParentElement == KSMILDTDEltref
+ || aParentElement == KSMILDTDElttext || aParentElement == KSMILDTDElttextstream || aParentElement == KSMILDTDEltvideo)
+ {
+ retVal = CheckValidChildren(SMILDTDMediaChildStates, KSMILDTDMediaChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDEltbody)
+ {
+ retVal = CheckValidChildren(SMILDTDBodyChildStates, KSMILDTDBodyChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDElthead)
+ {
+ retVal = CheckValidChildren(SMILDTDHeadChildStates, KSMILDTDHeadChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDEltlayout)
+ {
+ retVal = CheckValidChildren(SMILDTDLayoutChildStates, KSMILDTDLayoutChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDEltpar || aParentElement == KSMILDTDEltseq)
+ {
+ retVal = CheckValidChildren(SMILDTDTimingChildStates, KSMILDTDTimingChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDEltsmil)
+ {
+ retVal = CheckValidChildren(SMILDTDSmilChildStates, KSMILDTDSmilChildStateTranCount, aChildElements);
+ }
+
+ else if(aParentElement == KSMILDTDEltswitch)
+ {
+ retVal = CheckValidChildren(SMILDTDSwitchChildStates, KSMILDTDSwitchChildStateTranCount, aChildElements);
+ }
+
+ return retVal;
+ }
+
+
+TBool CSMILDtd::CheckValidChildren(const TSMILDTDChildStateType aStateTrans[],TInt aStateCount, const CDesCArray& aChildElements) const
+//
+// Checks child element ownership based on a Finite State Machine
+// @param aFirstChild - pointer to first child element
+// @param aStateTrans - Array of state transition elements.
+// The elements must be ordered by tag name first and then starting state
+// as this routine uses the ordering to drive an efficient search.
+// @param aStateCount - the number of state transitions in the array
+// @return true if the list of children matches the defined state machine
+//
+ {
+ // This routine works by considering the allowed set of child elements as a Finite State
+ // Machine. When tracing through the list of children, each child encountered causes
+ // a state transition. The actual states are 'between' elements. The states are
+ // simply referred to by numbers, 0 is the starting state, the legal final state is
+ // state -1, other states are positive integers (the actual values have no significance,
+ // only the transitions and the start and end are of importance.
+ // When the list of children ends, a special 'empty tag' element is considered to be
+ // found. If this empty tag element causes a transition to the final state then the list
+ // has been successfully traversed.
+ // If, at any point, a child element is encountered which does not lead to a valid
+ // transition from the current state then the list is invalid. By considering the
+ // empty tag element to be on the end of the list we handle the requirements for valid
+ // completion.
+ // This routine is general - it just needs to be fed a set of state transitions for a specific
+ // element type.
+
+ TBool returnValue = true; // We are successful until proved otherwise
+ if( aStateCount < 1 )
+ {
+ returnValue = false; // Just check for a duff count
+ }
+ TInt fromState=KSMILDTDStartState; // Current state - the one we are looking for a transition from
+ TInt toState=KSMILDTDEndState; // State to which this tag leads us - initialised to avoid warning
+ TInt midPoint= aStateCount / 2; // Middle of the state array, used for binary search
+ TInt initJump = midPoint / 2; // Size of initial jump for binary search
+ TInt tranArrInd; // Index into the state transition array
+
+ // Prime the search with the initial state and the tag for the first element
+ // We skip nodes which are not elements (e.g. text, comments or processing instructions)
+
+
+ for (TInt i = 0; i<aChildElements.Count(); i++)
+ {
+ // Check for the 'empty tag'. We could take a local copy but that would
+ // not be most efficient so we have slightly more complex code.
+
+ {
+ // Given a current state and tag, find a valid transition.
+ // Use a binary search - the array is sorted on tag name first and then
+ // from state. We binary chop to a suitable level and then do a linear
+ // search until we hit pay-dirt or find an element which proves. We
+ // only bother to binary search based on the tag name.
+ // This is a home baked binary chop and could potentially be made more elegant.
+
+ tranArrInd = midPoint;
+ TInt jump = initJump;
+ TBool keepChopping = true;
+ TInt compVal;
+ TPtrC tranTag;
+ while(keepChopping)
+ {
+ tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
+
+ compVal = aChildElements[i].Compare(tranTag);
+ if(compVal < 0)
+ {
+ tranArrInd -= jump;
+ }
+ else if(compVal > 0)
+ {
+ tranArrInd += jump;
+ }
+ jump = jump / 2;
+ if((compVal == 0) || (jump < KSMILDTDMinJump))
+ {
+ keepChopping = false;
+ }
+ }// endwhile
+ // We have now finished binary chopping, either because we matched the tag or because
+ // We got to a small jump size. Now do a linear scan, up or down, to fimd a match.
+
+ TBool up = true; // Direction of scan
+ tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
+ compVal = aChildElements[i].Compare(tranTag);
+ if((compVal < 0) ||
+ ((compVal == 0) && (fromState < aStateTrans[tranArrInd].FromState)))
+ {
+ up = false;
+ }
+ if( up )
+ {
+ while((tranArrInd < aStateCount) &&
+ ((compVal > 0) ||
+ ((compVal == 0) && (fromState > aStateTrans[tranArrInd].FromState))))
+ {
+ tranArrInd ++;
+ tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
+ if(tranArrInd < aStateCount)
+ {
+ compVal = aChildElements[i].Compare(tranTag);
+ }
+ }// endwhile stepping up
+ }
+ else
+ {
+ while((tranArrInd >= 0) &&
+ ((compVal < 0) ||
+ ((compVal == 0) && (fromState < aStateTrans[tranArrInd].FromState))))
+ {
+ tranArrInd --;
+ tranTag.Set( aStateTrans[tranArrInd].TagName, aStateTrans[tranArrInd].TagLength);
+ if(tranArrInd >= 0)
+ {
+ compVal = aChildElements[i].Compare(tranTag);
+ }
+ }// endwhile stepping down
+ }
+ // If we have a match, fine, else this is an illegal transition
+ if((tranArrInd >= 0) && (tranArrInd < aStateCount) &&
+ (compVal == 0) && (fromState == aStateTrans[tranArrInd].FromState))
+ {
+ toState = aStateTrans[tranArrInd].ToState;
+ }
+ else
+ {
+ returnValue = false;
+ break;
+ }
+ }//end else not reached end of list of children
+
+ fromState = toState;
+ }// endfor
+
+ if(returnValue)
+ {
+ tranArrInd = 0;
+ while((tranArrInd < aStateCount) &&
+ (aStateTrans[tranArrInd].FromState != fromState) &&
+ (aStateTrans[tranArrInd].TagLength == 0))
+ {
+ tranArrInd++;
+ }
+ if((tranArrInd < aStateCount) &&
+ (aStateTrans[tranArrInd].FromState == fromState) &&
+ (aStateTrans[tranArrInd].TagLength == 0))
+ {
+ toState = aStateTrans[tranArrInd].ToState ; // Better be the final state!
+ }
+ else
+ {
+ returnValue = false ; // No legal transition
+ }
+ }
+
+
+ return returnValue;
+ }
+
+
+
+
+TBool CSMILDtd::CanElementHaveChildren(const TDesC& aElement) const
+//
+// Function to determine whether it is valid for a particular element to
+// have children
+// @param aElement the name of the element to be tested
+// @return ETrue if it is valid for element to have children
+//
+ {
+ TBool retVal = ETrue;
+ if(aElement == KSMILDTDEltanchor || aElement == KSMILDTDEltmeta || aElement == KSMILDTDEltroot_layout
+ || aElement == KSMILDTDEltregion || aElement == KSMILDTDEltarea || aElement == KSMILDTDEltmetadata
+ || aElement == KSMILDTDEltprefetch || aElement == KSMILDTDEltTrans)
+ retVal = EFalse;
+
+ return retVal;
+
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_XMLParserLOG.CPP Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,190 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifdef _DEBUG
+#undef _MSG_NO_LOGGING
+#endif
+
+#include "t_XMLParserLOG.H"
+
+
+CImLog::CImLog()
+ {
+ __DECLARE_NAME(_S("CImLog"));
+ }
+
+//
+// NewL - user describes full file path and file name for the log file
+//
+CImLog *CImLog::NewL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode)
+ {
+ CImLog* self = new (ELeave) CImLog();
+ CleanupStack::PushL(self);
+ self->ConstructL(aFullFilePath,aImLogOpenMode);
+ CleanupStack::Pop();
+ return self;
+ }
+
+//
+// 2nd phase of construction
+//
+#ifndef _MSG_NO_LOGGING
+void CImLog::ConstructL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode)
+#else
+void CImLog::ConstructL(const TDesC& /*aFullFilePath*/, TImLogOpenMode /*aImLogOpenMode*/)
+#endif
+ {
+#ifndef _MSG_NO_LOGGING
+
+ User::LeaveIfError(iFs.Connect());
+ TFileName logFile;
+ logFile.Append(aFullFilePath);
+
+ if (aImLogOpenMode==EAppend)
+ {
+ TInt err=iFile.Open(iFs,logFile,EFileWrite|EFileShareAny);
+ if (err==KErrNotFound)
+ {
+ iFile.Create(iFs,logFile,EFileWrite|EFileShareAny);
+ }
+ else if (err != KErrNone)
+ {
+ User::Leave(err);
+ }
+ TInt position=1;
+ User::LeaveIfError(iFile.Seek(ESeekEnd,position));
+ }
+ else
+ {
+ // If the log directory has not been created, no log will be created. OK
+ User::LeaveIfError(iFile.Replace(iFs,logFile,EFileWrite|EFileShareAny));
+ }
+
+#endif // _MSG_NO_LOGGING
+ }
+
+CImLog::~CImLog()
+ {
+#ifndef _MSG_NO_LOGGING
+
+ iFile.Close();
+ iFs.Close();
+
+#endif // _MSG_NO_LOGGING
+ }
+
+//
+// Log an error message
+//
+#ifndef _MSG_NO_LOGGING
+void CImLog::AppendError(const TDesC8& aErrorMessage, TInt aErrorCode)
+#else
+void CImLog::AppendError(const TDesC8& /*aErrorMessage*/, TInt /*aErrorCode*/)
+#endif
+ {
+#ifndef _MSG_NO_LOGGING
+ WriteToLog(KLogErrorString, &aErrorMessage, aErrorCode);
+#endif
+ }
+
+//
+// Log a comment
+//
+#ifndef _MSG_NO_LOGGING
+void CImLog::AppendComment(const TDesC8& aMessage)
+#else
+void CImLog::AppendComment(const TDesC8& /*aMessage*/)
+#endif
+ {
+#ifndef _MSG_NO_LOGGING
+ WriteToLog(KLogCommentString, &aMessage);
+#endif
+ }
+
+//
+// Construct a string with date, a message type indicator (out, in, error) sort out formatting
+//
+#ifndef _MSG_NO_LOGGING
+void CImLog::BuildLogString(const TDesC8& aFormat,const TDesC8& aOutPut, TBool aWriteCrLf)
+#else
+void CImLog::BuildLogString(const TDesC8& /*aFormat*/,const TDesC8& /*aOutPut*/, TBool /*aWriteCrLf*/)
+#endif
+ {
+#ifndef _MSG_NO_LOGGING
+
+ TPtrC8 logString(aOutPut);
+
+ for(;;)
+ {
+ TInt crLfPos=logString.Find(KLogCR);
+ if(crLfPos==KErrNotFound)
+ {
+ break;
+ }
+ else
+ {
+ TPtrC8 line;
+ if (aWriteCrLf && (crLfPos == logString.Size() - 2))
+ {
+ line.Set(logString);
+ }
+ else
+ {
+ line.Set(logString.Left(crLfPos));
+ }
+ WriteToLog(TRefByValue<const TDesC8>(aFormat),&line);
+ logString.Set(logString.Mid(crLfPos+2));
+ }
+ }
+
+ if(logString.Length())
+ {
+ WriteToLog(TRefByValue<const TDesC8>(aFormat),&logString);
+ }
+
+#endif // _MSG_NO_LOGGING
+ }
+
+//
+// Write information to the log file
+//
+#ifndef _MSG_NO_LOGGING
+void CImLog::WriteToLog(TRefByValue<const TDesC8> aFmt,...)
+#else
+void CImLog::WriteToLog(TRefByValue<const TDesC8> /*aFmt*/,...)
+#endif
+ {
+#ifndef _MSG_NO_LOGGING
+
+ TBuf8<1024> buf;
+ TTime date;
+ date.HomeTime();
+ TBuf<18> dateString;
+ TRAPD(error, date.FormatL(dateString,(KLogDateFormatString)));
+ if(error)
+ {
+ dateString.Copy(_L("Invalid Date"));
+ }
+ buf.Copy(dateString);
+
+ VA_LIST list;
+ VA_START(list,aFmt);
+
+ buf.AppendFormatList(aFmt,list);
+ buf.Append(KLogCR);
+ iFile.Write(buf);
+
+#endif // _MSG_NO_LOGGING
+ }
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_XMLParserLOG.H Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,66 @@
+// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#if !defined(__E32BASE_H__)
+#include <e32base.h>
+#endif
+
+#if !defined(__F32FILE_H__)
+#include <f32file.h>
+#endif
+
+_LIT(KLogFileName, "C:\\MsgLogs\\T_GMXMLFAILURE");
+_LIT8(KLogErrorString, "** %S %d");
+_LIT8(KLogCommentString, " %S");
+_LIT8(KLogCR, "\r\n");
+_LIT(KLogDateFormatString, "%D%M%*Y%1%/1%2%/2%3 %H%:1%T%:2%S");
+
+
+// Setting to select whether a new log file will be created,
+// or existing one will be appended to...
+
+/**
+@internalTechnology
+@released
+*/
+enum TImLogOpenMode
+ {
+ EReplace,
+ EAppend
+ };
+
+class CImLog : public CBase
+/**
+@internalTechnology
+@released
+*/
+ {
+public:
+ static CImLog* NewL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode);
+ ~CImLog();
+
+ void AppendComment(const TDesC8& aMessage);
+ void AppendError(const TDesC8& aErrorMessage, TInt aErrorCode);
+private:
+ CImLog();
+ void ConstructL(const TDesC& aFullFilePath, TImLogOpenMode aImLogOpenMode);
+
+ void BuildLogString(const TDesC8& aFormat,const TDesC8& aOutPut, TBool aWriteCrLf = EFalse);
+ void WriteToLog(TRefByValue<const TDesC8> aFmt,...);
+private:
+ RFile iFile;
+ RFs iFs;
+ };
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_smildtdenum.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,42 @@
+// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// smildtdenum.h
+//
+//
+/**
+ * @file
+ * @internalComponent
+ * @released
+ */
+#ifndef T_SMILDTDENUM_H
+#define T_SMILDTDENUM_H
+
+#include <e32def.h>
+
+// Structures and definitions for child element checking.
+// The child element checks are managed by a state machine and this type defines
+// allowed transitions.
+struct TSMILDTDChildStateType
+/**
+@internalComponent
+@released
+*/
+ {
+ TInt FromState; // Starting state - 0 = initial state
+ TInt ToState; // Next state - -1 = terminating state
+ const TText *TagName; // Name of tag causing the transition, empty string = finished
+ TInt TagLength; // Length of tag string (helps to make the descriptor)
+ };
+
+#endif // T_SMILDTDENUM_H
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/legacyminidomparser/xmlparser/test/t_smiltranslatortest.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1219 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+// This file contains the Console Test Harness for testing the SMILTranslator .dll
+// It carries this out by searching for all files of a certain type (as specified by
+// KWildName) that reside in a given set of directories (as specified by KInputPathList)
+// It then passes each file through a Parser object, picks up the resultant Document
+// object and passes this straight back to the composer object. Output is a new XML
+// file of the same name but different directory (same as initial directory but with
+// KTestFindStr replaced by KTestReplaceStr & KTestReplaceStr2) - these directories are
+// created automatically. The application then reports any errors for each file before
+// moving onto the next one. These error reports are copied to the console screen (but
+// usually too fast to read); to the output window in developer studio; and to a flat
+// file (named and located as specified in KErrorFileName)
+// There are 3 types of test that may be run. The Basic test merely
+// translates all input files to output files. The Performance test does the same thing
+// multiple times (as specified by KPerformanceTestIterations), although the log file
+// output will only relate to the last run. Finally the Memory test utilises the Heap
+// Allocation Failure tool to incrementally run and progressively fail at each and every
+// attempt to allocate memory, it's finally run should complete successfully to prove
+// that no memory leaks have occurred in spite of X hundreds of previously failed runs.
+// Note that this finally test should be done with a much reduced number of files
+// residing in the input directories.
+// The application can test ASCII or Unicode input and output (4 combinations possible).
+// To vary the input you must manually add ASCII or Unicode files to the input
+// directories.
+// The tests can be run automatically or interactively:
+// For interactive tests, run with '-i as follows:
+// SMILTRANSLATORTEST.EXE -i
+// To run with out user interaction, please see the following examples:
+// SMILTRANSLATORTEST.EXE -h # show command line help
+// SMILTRANSLATORTEST.EXE # runs with default options
+// SMILTRANSLATORTEST.EXE -file_type ascii -data_mode file -test_type basic # same as above
+// SMILTRANSLATORTEST.EXE -use_file_handles # msgapi2 only
+// SMILTRANSLATORTEST.EXE -use_full_paths # msgapi2 only
+// SMILTRANSLATORTEST.EXE -test_type performance -performance_iteratons 3 # performance test with 3 iterations
+//
+//
+
+/**
+ @file
+*/
+
+//#define DEBUG_SMILTRANSLATORTEST_
+
+#include <e32test.h>
+#include <e32std.h>
+#include <f32file.h>
+#include <txtetext.h>
+#include <gmxmlparser.h>
+#include <gmxmlcomposer.h>
+#ifdef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include "t_smildtdenum.h"
+#endif
+#include "t_SmilDtd.h"
+#include <bacline.h>
+
+// Constants
+_LIT(KErrorFileName,"c:\\legacyminidomparsertest\\SMIL_Test_Files\\ErrorLog.txt");
+_LIT(KParseError," Parse File error = ");
+_LIT(KComposeError," Compose File error = ");
+_LIT(KOutputNewLine,"\r\n");
+_LIT(KStartFile,"Starting test of file ");
+_LIT(KTxtAsciiOrUnicode,"Unicode (F1), Ascii (F2) or Utf-8 (F3) output?");
+_LIT(KTxtBufferOrFile,"\nTest file API (F1), test buffer API (F2)");
+_LIT(KTxtChooseTest,"\nPress:\nF1 (or any other key) for Basic test\nF2 for Performance test\nF3 for Memory Allocation test");
+_LIT(KSmilTranslatorTest,"Smil Translator");
+_LIT(KInputPathList, "c:\\legacyminidomparsertest\\SMIL_Test_Files\\SMIL_Input\\Valid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\MMS_Input\\Valid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\SMIL_Input\\Invalid\\;c:\\legacyminidomparsertest\\SMIL_Test_Files\\MMS_Input\\Invalid\\;");
+_LIT(KTestFindStr, "_Input\\");
+_LIT(KTestReplaceStr, "_Output\\");
+_LIT(KWildName, "*.txt"); // read all file that match *.txt
+_LIT(KOptionI, "-i"); // unary: interactive mode
+_LIT(KOptionH, "-h");
+// note: traditional style args "--file-type" don't work with the CCommandLineArguments class
+_LIT(KOptionFileType, "-file_type"); // binary: ascii, utf8, unicode
+_LIT(KOptionDataMode, "-data_mode"); // binary: buffer, file
+_LIT(KOptionTestType, "-test_type"); // binary: basic, performance, memory
+_LIT(KOptionPerformanceIterations, "-performance_iterations"); // binary: <number of iterations>
+_LIT(KOptionUseFileHandles, "-use_file_handles"); // unary: use file handles as input
+_LIT(KOptionUseFullPaths, "-use_full_paths"); // unary: use full paths as input
+_LIT(KTxtChooseFileInput, "Choose input file type: Using file path (F1), Using file handle (F2)?");
+
+// Globals
+LOCAL_D CTrapCleanup* theCleanup;
+LOCAL_D CActiveScheduler* scheduler;
+LOCAL_D RTest test(KSmilTranslatorTest);
+LOCAL_D RFs fileSystem;
+class CTestConfig;
+LOCAL_D CTestConfig* testConfig;
+
+//
+// TestConfig
+class CTestConfig : public CBase
+ {
+public:
+ typedef enum {EBasic, EPerformance, EMemory} TTestType;
+ typedef enum {EFileData, EBufferData} TXMLDataMode;
+ static CTestConfig* NewLC();
+ ~CTestConfig() {}
+
+ TInt ProcessCommandLineL();
+ void InteractiveMode();
+
+ // accessors
+ TBool NeedsHelp() const {return iNeedsHelp; }
+ TBool IsInteractive() const {return iIsInteractive; }
+ TXMLFileType FileType() const {return iFileType; }
+ TXMLDataMode DataMode() const {return iDataMode; }
+ TTestType TestType() const {return iTestType; }
+ TInt PerformanceTestIterations() const {return iPerformanceTestIterations; }
+
+ // display
+ void DisplayHelp();
+ void UseageErr();
+ void Dump();
+
+ TBool UseFileHandles() const {return iUseFileHandles; }
+
+
+private:
+ void ConstructL();
+ TBool UnaryArgPresent(CCommandLineArguments* aArgs,TInt aArgCount, const TDesC& aOption);
+ TInt ExtractBinaryArg(CCommandLineArguments* aArgs,TInt aArgCount, const TDesC& aOption,TBuf<32>& aBuf);
+
+ TBool FileTypeFromStr(const TBuf<32>& aFileType);
+ TBool DataModeFromStr(const TBuf<32>& aDataMode);
+ TBool TestTypeFromStr(const TBuf<32>& aTestType);
+private:
+ TBool iNeedsHelp;
+ TBool iIsInteractive;
+ TXMLFileType iFileType;
+ TTestType iTestType;
+ TXMLDataMode iDataMode;
+ TInt iPerformanceTestIterations;
+ TBool iUseFileHandles;
+ };
+
+void CTestConfig::ConstructL()
+ {
+ iNeedsHelp=EFalse;
+ iIsInteractive=EFalse;
+ iFileType=EAscii;
+ iTestType=EBasic;
+ iDataMode=EFileData;
+ iPerformanceTestIterations=100;
+ iUseFileHandles = EFalse;
+ }
+
+CTestConfig* CTestConfig::NewLC()
+ {
+ CTestConfig* self=new(ELeave)CTestConfig();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+TBool CTestConfig::FileTypeFromStr(const TBuf<32>& aFileType)
+ {
+ TBool found=ETrue;
+ if(aFileType.Compare(_L("ascii"))==0)
+ {
+ iFileType=EAscii;
+ }
+ else if(aFileType.Compare(_L("utf8"))==0)
+ {
+ iFileType=EUtf8;
+ }
+ else if (aFileType.Compare(_L("unicode"))==0)
+ {
+ iFileType=EUnicode;
+ }
+ else
+ {
+ found=EFalse;
+ }
+ return found;
+ }
+
+TBool CTestConfig::DataModeFromStr(const TBuf<32>& aDataMode)
+ {
+ TBool found=ETrue;
+ if(aDataMode.Compare(_L("buffer"))==0)
+ {
+ iDataMode=EBufferData;
+ }
+ else if(aDataMode.Compare(_L("file"))==0)
+ {
+ iDataMode=EFileData;
+ }
+ else
+ {
+ found=EFalse;
+ }
+ return found;
+ }
+
+TBool CTestConfig::TestTypeFromStr(const TBuf<32>& aTestType)
+ {
+ TBool found=ETrue;
+ if (aTestType.Compare(_L("basic"))==0)
+ {
+ iTestType=EBasic;
+ }
+ else if (aTestType.Compare(_L("performance"))==0)
+ {
+ iTestType=EPerformance;
+ }
+ else if (aTestType.Compare(_L("memory"))==0)
+ {
+ iTestType=EMemory;
+ }
+ else
+ {
+ found=EFalse;
+ }
+ return found;
+ }
+
+void CTestConfig::DisplayHelp()
+ {
+ test.Printf(KOptionH);
+ test.Printf(_L("\thelp\r\n"));
+ test.Printf(KOptionI);
+ test.Printf(_L("\tinteractive mode\r\n"));
+ test.Printf(KOptionFileType);
+ test.Printf(_L("\tascii|utf8|unicode\r\n"));
+ test.Printf(KOptionDataMode);
+ test.Printf(_L("\tbuffer-data|file-data\r\n"));
+ test.Printf(KOptionTestType);
+ test.Printf(_L("\tbasic|performance|memory\r\n"));
+ test.Printf(KOptionPerformanceIterations);
+ test.Printf(_L(" N\tthe number of iterations to perform\r\n"));
+ test.Printf(KOptionUseFileHandles);
+ test.Printf(_L("\tuse file handles for the test\r\n"));
+ test.Printf(KOptionUseFullPaths);
+ test.Printf(_L("\tuse file paths for the test\r\n"));
+ }
+
+void CTestConfig::UseageErr()
+ {
+ test.Printf(_L("\r\nUseage Err:\r\n"));
+ DisplayHelp();
+ }
+
+void CTestConfig::Dump()
+ {
+ RDebug::Print(_L("\r\n"));
+ RDebug::Print(_L("SMILTRANSLATORTEST Config Settings:\r\n"));
+ RDebug::Print(_L("===================================\r\n"));
+ RDebug::Print(_L("iNeedsHelp = %d\r\n"),iNeedsHelp);
+ RDebug::Print(_L("iIsInteractive = %d\r\n"),iIsInteractive);
+ RDebug::Print(_L("iFiletype = %d\r\n"),iFileType);
+ RDebug::Print(_L("iTestType = %d\r\n"),iTestType);
+ RDebug::Print(_L("iDataMode = %d\r\n"),iDataMode);
+ RDebug::Print(_L("iPerformanceTestIterations = %d\r\n"),iPerformanceTestIterations);
+ RDebug::Print(_L("iUseFileHanldes = %d\r\n"),iUseFileHandles);
+ }
+
+TBool CTestConfig::UnaryArgPresent(CCommandLineArguments *aArgs, TInt aArgCount, const TDesC& aOption)
+ {
+ TInt i = 1;
+ while ((i<aArgCount)&&aArgs->Arg(i).Compare(aOption))
+ {
+ ++i;
+ }
+ return i<aArgCount;
+ }
+
+TInt CTestConfig::ExtractBinaryArg(CCommandLineArguments *aArgs, TInt aArgCount, const TDesC& aOption,TBuf<32>& aBuf)
+ {
+ TInt err=KErrNotFound;
+ TInt i=0;
+
+ while ((i<aArgCount)&&aArgs->Arg(i).Compare(aOption))
+ {
+ ++i;
+ }
+ if (i<aArgCount)
+ {
+ if (++i<aArgCount)
+ {
+ err=KErrNone;
+ aBuf=aArgs->Arg(i);
+ }
+ else
+ {
+ err=KErrArgument;
+ }
+ }
+ return err;
+ }
+
+void CTestConfig::InteractiveMode()
+ {
+ TKeyCode choice;
+
+ test.Printf(KTxtAsciiOrUnicode);
+ choice=test.Getch();
+
+ if(choice==EKeyHelp)
+ {
+ iFileType=EAscii;
+ }
+ else if(choice==EKeyDial)
+ {
+ iFileType=EUtf8;
+ }
+ else
+ {
+ iFileType=EUnicode;
+ }
+ test.Printf(KTxtBufferOrFile);
+ choice=test.Getch();
+ if(choice==EKeyHelp)
+ {
+ iDataMode=EBufferData;
+ }
+ else
+ {
+ iDataMode=EFileData;
+ }
+
+ // Get user's input on whether to use file paths or file handles for the input files
+ test.Printf(KOutputNewLine());
+ test.Printf(KTxtChooseFileInput());
+ choice=test.Getch();
+ iUseFileHandles=EFalse;
+ if(choice==EKeyHelp) // F2
+ {
+ iUseFileHandles = ETrue;
+ }
+
+ test.Printf(KTxtChooseTest);
+ choice=test.Getch();
+ if(choice==EKeyHelp) // F2
+ {
+ iTestType=EPerformance;
+ }
+ else if (choice==EKeyDial) // F3
+ {
+ iTestType=EMemory;
+ }
+ else // any key
+ {
+ iTestType=EBasic;
+ }
+ }
+
+TInt CTestConfig::ProcessCommandLineL()
+ {
+ // Handle command line arguments
+ CCommandLineArguments* args=CCommandLineArguments::NewLC();
+
+ TInt argCount=args->Count();
+
+ // Search for: "-h"/help parameter
+ if (UnaryArgPresent(args,argCount,KOptionH))
+ {
+ iNeedsHelp = ETrue;
+ CleanupStack::Pop(args);
+ delete args;
+ return KErrNone;
+ }
+
+ // Search for: "-i"/interactive parameter
+ if(UnaryArgPresent(args,argCount,KOptionI))
+ {
+ if (argCount==2)
+ {
+ iIsInteractive=ETrue;
+ }
+ else
+ {
+ UseageErr();
+ }
+ }
+ // Search for: "-usefilehandles" parameter
+ if(UnaryArgPresent(args,argCount,KOptionUseFileHandles))
+ {
+ iUseFileHandles=ETrue;
+ }
+ // Search for: "-usefullpaths" parameter
+ if(UnaryArgPresent(args,argCount,KOptionUseFullPaths))
+ {
+ iUseFileHandles=EFalse;
+ }
+
+ // Search for: --file-type, --data-mode, --test-type
+ TBuf<32> buf;
+ TInt err;
+ if (((err=ExtractBinaryArg(args,argCount,KOptionFileType,buf))==KErrNone)&&(!FileTypeFromStr(buf))||
+ err==KErrArgument)
+ {
+ UseageErr();
+ CleanupStack::PopAndDestroy(args);
+ return KErrArgument;
+ }
+ if (((err=ExtractBinaryArg(args,argCount,KOptionDataMode,buf))==KErrNone)&&(!DataModeFromStr(buf))||
+ err==KErrArgument)
+ {
+ UseageErr();
+ CleanupStack::PopAndDestroy(args);
+ return KErrArgument;
+ }
+ if (((err=ExtractBinaryArg(args,argCount,KOptionTestType,buf))==KErrNone)&&(!TestTypeFromStr(buf))||
+ err==KErrArgument)
+ {
+ UseageErr();
+ CleanupStack::PopAndDestroy(args);
+ return KErrArgument;
+ }
+ if (((err=ExtractBinaryArg(args,argCount,KOptionPerformanceIterations,buf))==KErrNone))
+ {
+ TLex16 lexer(buf.Ptr());
+ TInt iterations;
+ lexer.Val(iterations);
+ iPerformanceTestIterations = iterations;
+ }
+ else if (err==KErrArgument)
+ {
+ UseageErr();
+ CleanupStack::PopAndDestroy(args);
+ return KErrArgument;
+ }
+ CleanupStack::PopAndDestroy(args);
+ return KErrNone;
+ }
+
+//
+
+class CTestDataSupplier : public CBase, public MMDXMLParserDataProvider
+ {
+public:
+ static CTestDataSupplier* NewL(RFs &aRFs, const TDesC& aFileName);
+ ~CTestDataSupplier();
+
+ // From MMDXMLParserDataProvided
+ void GetData(TPtrC8 &aPtr, TRequestStatus &aStatus);
+ void Disconnect();
+
+private:
+ void ConstructL(RFs &aRFs, const TDesC& aFileName);
+
+private:
+ HBufC8* iCurrentChunk;
+ RFile iFile;
+ TInt iChunkSize; // Start at 1, then increment for subsequent chunk
+ };
+
+
+CTestDataSupplier* CTestDataSupplier::NewL(RFs &aRFs, const TDesC& aFileName)
+ {
+ CTestDataSupplier* self = new (ELeave) CTestDataSupplier();
+ CleanupStack::PushL(self);
+ self->ConstructL(aRFs, aFileName);
+ CleanupStack::Pop(self);
+ return self;
+ }
+
+CTestDataSupplier::~CTestDataSupplier()
+ {
+ iFile.Close();
+ delete iCurrentChunk;
+ }
+
+// From MMDXMLParserDataProvided
+// TODO: Should GetData be a leaving function? Allows more flexibility to implementations of this funtion?
+void CTestDataSupplier::GetData(TPtrC8 &aPtr, TRequestStatus &aStatus)
+ {
+ // Read the data into the descriptor
+ delete iCurrentChunk;
+ iCurrentChunk = NULL;
+ iCurrentChunk = HBufC8::NewL(iChunkSize);
+ TPtr8 chunk = iCurrentChunk->Des();
+ iFile.Read(chunk, iChunkSize); // Ignore the error code, assume end of file if we haven't read any data.
+
+ TDataProviderResults result;
+
+ if (iCurrentChunk->Length() != 0)
+ {
+ aPtr.Set(*iCurrentChunk);
+ result = KMoreData;
+ }
+ else
+ {
+ // Assume that if we haven't got any data then we're at the end of the stream.
+ result = KDataStreamEnd;
+ }
+
+// iChunkSize++;
+ TRequestStatus *s = &aStatus;
+ User::RequestComplete(s, (TInt)result);
+ return;
+ }
+
+void CTestDataSupplier::Disconnect()
+ {
+ // Don't need to do anything here.
+ }
+
+void CTestDataSupplier::ConstructL(RFs &aRFs, const TDesC& aFileName)
+ {
+ iChunkSize = 1;
+
+ // Open the file that will supply the data
+ User::LeaveIfError(iFile.Open(aRFs, aFileName, EFileRead));
+ }
+
+
+//
+// CSmilTranslatorTestUtils declaration
+//
+
+class CSmilTranslatorTestUtils : public CActive, public MMDXMLParserObserver, public MMDXMLComposerObserver
+ {
+public:
+ static CSmilTranslatorTestUtils* NewLC();
+ ~CSmilTranslatorTestUtils();
+ void ConstructL();
+ void RunTestL();
+ TInt FilesProcessed() const {return iFilesProcessed; }
+
+public: // from CActive
+ void DoCancel();
+ void RunL();
+
+public: // from MMDXMLParserObserver
+ void ParseFileCompleteL();
+
+public: // from MMDXMLComposerObserver
+ void ComposeFileCompleteL();
+
+private:
+ CSmilTranslatorTestUtils();
+ void SetOutputFileName();
+ void AppendErrorStr(TInt aError, TDes& aOutputMsg);
+ void AppendSeverityStr(TInt aSeverity, TDes& aOutputMsg);
+
+private:
+ enum TComposerState
+ {
+ EComposing,
+ ESizing
+ };
+
+ RFs iSession;
+ CMDXMLDocument* iXMLDoc;
+
+
+ CMDXMLParser* iParser;
+ CMDXMLComposer* iComposer;
+ TBuf<255> iInputFileName;
+ TBuf<255> iOutputFileName;
+ TComposerState iComposerState;
+ TInt iSize;
+ RFile iErrorFile;
+ CTestDataSupplier* iDataSupplier;
+
+ // return list of found files used by TFileFinder class
+ CDir* iFileList;
+
+ // buffer for composing the error messages for output to the screen and error file
+ TBuf<255> iOutputMsg;
+
+ TFindFile *iFileFinder;
+
+ TInt iState;
+ TInt iErr;
+ TInt iIndex;
+
+ enum TSmilTestStates
+ {
+ KInit = 0x00,
+ KParseFile,
+ KCheckResults,
+ KEnd
+ };
+
+ TTime iStartTime;
+ TTime iStartComposeTime;
+ TInt64 iComposeTime;
+ TInt iFilesProcessed;
+
+ TBool iUseFileHandle;
+ };
+
+//===================================================================================
+
+//
+// CSmilTranslatorTestUtils definition
+//
+
+CSmilTranslatorTestUtils* CSmilTranslatorTestUtils::NewLC()
+ {
+ CSmilTranslatorTestUtils* self = new (ELeave) CSmilTranslatorTestUtils();
+ CleanupStack::PushL(self);
+ self->ConstructL();
+ return self;
+ }
+
+//===================================================================================
+
+CSmilTranslatorTestUtils::~CSmilTranslatorTestUtils()
+ {
+ delete iFileList;
+ delete iXMLDoc;
+ delete iParser;
+ delete iComposer;
+ iSession.Close();
+ }
+
+//===================================================================================
+
+CSmilTranslatorTestUtils::CSmilTranslatorTestUtils() : CActive(EPriorityStandard), iFileFinder()
+ {
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::ConstructL()
+ {
+
+ iSession.Connect();
+ iComposer = CMDXMLComposer::NewL(this);
+#define VALIDATE
+#ifndef VALIDATE
+ iParser = CMDXMLParser::NewL(this);
+#else
+ CSMILDtd* smil = CSMILDtd::NewLC();
+ iParser = CMDXMLParser::NewL(this, smil);
+ CleanupStack::Pop(smil);
+#endif
+
+ iUseFileHandle = testConfig->UseFileHandles();
+
+ iState = KInit;
+ iErr = KErrNone;
+ iStartTime.UniversalTime();
+ iFilesProcessed = 0;
+
+ CActiveScheduler::Add(this);
+
+ TRequestStatus *s = &iStatus;
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::RunL()
+ {
+ RunTestL();
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::DoCancel()
+ {
+ }
+
+//===================================================================================
+
+#define DES_AS_8_BIT(str) (TPtrC8((TText8*)((str).Ptr()), (str).Size()))
+
+void CSmilTranslatorTestUtils::RunTestL()
+ {
+ TRequestStatus *s = &iStatus;
+
+ // used to generate a leave if an out of memory error was encountered, specifically
+ // during the memory test loop in E32Main(). This is necessary because leaves in
+ // the .dll Active Object RunL() functions do not return to this application, so
+ // have to be Trapped in the Active objects and translated into an error code.
+ TBool memoryError = EFalse;
+
+ switch(iState)
+ {
+ case KInit:
+ {
+ // Utility class for file manipulation
+ iFileFinder = new TFindFile(iSession);
+
+ TPtrC errorFileName(KErrorFileName);
+
+ // create err dir if doesn't exist - this api ignores the file name (ignores everything after final '/')
+ fileSystem.MkDirAll(KErrorFileName);
+
+ // overwrite any existing file of this name
+ iErr = iErrorFile.Replace(iSession, errorFileName, EFileWrite | EFileStreamText);
+
+ if(iErr == KErrNone)
+ {
+ TBuf<1> bom;
+ bom.Append(CEditableText::EByteOrderMark);
+ iErrorFile.Write(DES_AS_8_BIT(bom));
+ // will search multiple directories, but halt after completing current directory
+ // if at least one match is made. Remembers which directories have been searched
+ // in order to continue search using .FindWild() function later
+ iErr = iFileFinder->FindWildByPath(KWildName, &KInputPathList, iFileList);
+ iIndex = 0;
+ }
+
+ if(iErr == KErrNone)
+ {
+ iState = KParseFile;
+ }
+ else
+ {
+ iState = KEnd;
+ }
+ User::RequestComplete(s, KErrNone);
+ SetActive();
+ }
+ break;
+
+ case KParseFile:
+ {
+ ++iFilesProcessed;
+ iErr = KErrNone;
+
+ TParse fullEntry;
+ fullEntry.Set((*iFileList)[iIndex++].iName,& iFileFinder->File(),NULL);
+ iInputFileName = fullEntry.FullName(); // extract individual path + name from list
+ SetOutputFileName(); // output name is based on input one
+
+ iOutputMsg = KStartFile;
+ iOutputMsg.Append(iInputFileName); // display full path
+ test.Start(iOutputMsg); // print to console
+
+ // test console automatically places output on a new line, for output
+ // to error file we need to add white space ready for next line
+ iOutputMsg.Append(KOutputNewLine);
+ iErrorFile.Write(DES_AS_8_BIT(iOutputMsg)); // print to error file
+
+ // schedule Parser active object for call to it's RunL function
+ if (testConfig->DataMode() == CTestConfig::EBufferData)
+ {
+ // We're testing the buffering API...
+ // Create a data supplier object and pass it in to the parser
+ delete iDataSupplier;
+ iDataSupplier = NULL;
+ iDataSupplier = CTestDataSupplier::NewL(iSession, iInputFileName);
+ iParser->ParseSource(iDataSupplier);
+ }
+ else
+ {
+ if( iUseFileHandle )
+ {
+ RFile file;
+ User::LeaveIfError(file.Open(iSession, iInputFileName, EFileRead | EFileShareReadersOnly));
+ // No function declaration of ParseFile() that take RFile Object parameter
+ // iParser->ParseFile(file);
+ iParser->ParseFile(iSession, iInputFileName);
+ }
+ else
+ {
+ // We're testing the file mode so parse the file.
+ iParser->ParseFile(iSession, iInputFileName);
+ }
+ }
+
+ iState = KCheckResults;
+ iStatus = KRequestPending;
+ SetActive();
+ }
+ break;
+
+ case KCheckResults:
+ {
+ // when execution begins again one parse followed by a compose would have
+ // completed for the current file, handle any error messages generated here
+ iErr = iParser->Error();
+ TInt severity = iParser->ErrorSeverity();
+ if(iErr != KErrNone)
+ {
+ iOutputMsg = KParseError;
+ AppendErrorStr(iErr, iOutputMsg);
+ AppendSeverityStr(severity, iOutputMsg);
+ iOutputMsg.Append(KOutputNewLine);
+
+ // IF there are no more errors for this file bung in an
+ // extra line to make output more prominent
+ if(iComposer->Error() == KErrNone)
+ {
+ iOutputMsg.Append(KOutputNewLine);
+ }
+ test.Printf(iOutputMsg); // print to console
+ iErrorFile.Write(DES_AS_8_BIT(iOutputMsg)); // print to error file
+
+ if(iErr == KErrNoMemory)
+ {
+ memoryError = ETrue;
+ }
+ }
+
+ iErr = iComposer->Error();
+ severity = iComposer->ErrorSeverity();
+ if(iErr != KErrNone)
+ {
+ iOutputMsg = KComposeError;
+ AppendErrorStr(iErr, iOutputMsg);
+ AppendSeverityStr(severity, iOutputMsg);
+ iOutputMsg.Append(KOutputNewLine);
+ iOutputMsg.Append(KOutputNewLine);
+ test.Printf(iOutputMsg);
+ iErrorFile.Write(DES_AS_8_BIT(iOutputMsg));
+
+ if(iErr == KErrNoMemory)
+ {
+ memoryError = ETrue;
+ }
+ }
+
+ test.End();
+
+ // if the OOM condition occured during Parsing or Composing
+ if(memoryError)
+ {
+ User::Leave(KErrNoMemory);
+ }
+
+ iState = KParseFile;
+
+ if(iIndex >= iFileList->Count())
+ {
+ // fileList must be deleted after each loop prior to being passed
+ // back to fileFinder (unnecessary after KErrNotFound)
+ delete iFileList;
+ iFileList = 0; // Just in case it doesn't get set in the FindWild
+
+ // continue wildcard search for next directory in list
+ iErr = iFileFinder->FindWild(iFileList);
+ iIndex = 0;
+ if(iErr != KErrNone)
+ iState = KEnd;
+ }
+
+ SetActive();
+ User::RequestComplete(s, KErrNone);
+ }
+ break;
+
+ default:
+ case KEnd:
+ {
+ TTime endTime;
+ TTimeIntervalSeconds interval;
+ endTime.UniversalTime();
+ endTime.SecondsFrom(iStartTime, interval);
+
+ TBuf<100> time;
+ _LIT(KComposeTime, "Total time for composing: %d microseconds\n");
+ time.Format(KComposeTime, iComposeTime);
+ iErrorFile.Write(DES_AS_8_BIT(time));
+
+ _LIT(KTimeTaken, "Total time for tests: %d seconds");
+ time.Format(KTimeTaken, interval.Int());
+ iErrorFile.Write(DES_AS_8_BIT(time));
+
+
+ delete iFileFinder;
+ delete iDataSupplier;
+ CActiveScheduler::Stop();
+ }
+ break;
+ }
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::AppendErrorStr(TInt aError, TDes& aOutputMsg)
+ {
+ switch(aError)
+ {
+ case KErrXMLBadAttributeValue:
+ aOutputMsg.Append(_L("Bad Attribute Value")); break;
+
+ case KErrXMLBadAttributeName:
+ aOutputMsg.Append(_L("Bad Attribute Name")); break;
+
+ case KErrXMLInvalidChild:
+ aOutputMsg.Append(_L("Invalid Child")); break;
+
+ case KErrXMLBadNesting:
+ aOutputMsg.Append(_L("Bad Nesting")); break;
+
+ case KErrXMLIncomplete:
+ aOutputMsg.Append(_L("Incomplete")); break;
+
+ case KErrXMLBadElementName:
+ aOutputMsg.Append(_L("Bad Element Name")); break;
+
+ case KErrXMLDuplicateDocTypeTags:
+ aOutputMsg.Append(_L("Duplicate DocType Tags")); break;
+
+ case KErrXMLDuplicateVersionTags:
+ aOutputMsg.Append(_L("Duplicate Version Tags")); break;
+
+ case KErrXMLDuplicateRootElements:
+ aOutputMsg.Append(_L("Duplicate Root Elements")); break;
+
+ case KErrXMLMissingDocTypeTag:
+ aOutputMsg.Append(_L("Missing DocType Tag")); break;
+
+ case KErrXMLMissingVersionTag:
+ aOutputMsg.Append(_L("Missing Version Tag")); break;
+
+ case KErrXMLDuplicateAttributeName:
+ aOutputMsg.Append(_L("Duplicate Attribute Name")); break;
+
+ case KErrXMLMultipleRootElements:
+ aOutputMsg.Append(_L("Mulitiple Root Elements")); break;
+
+ case KErrXMLCorruptFile:
+ aOutputMsg.Append(_L("Corrupt File")); break;
+
+ case KErrXMLIllegalCharacter:
+ aOutputMsg.Append(_L("Illegal Character")); break;
+
+ case KErrXMLBadEntity:
+ aOutputMsg.Append(_L("Malformed Entity")); break;
+
+ case KErrXMLInvalidElement:
+ aOutputMsg.Append(_L("Invalid Element")); break;
+
+ case KErrXMLInvalidAttribute:
+ aOutputMsg.Append(_L("Invalid Attribute")); break;
+
+ case KErrPathNotFound:
+ aOutputMsg.Append(_L("File Path Not Found")); break;
+
+ case KErrNoMemory:
+ aOutputMsg.Append(_L("Memory Allocation Failure")); break;
+
+ case KErrNotSupported:
+ aOutputMsg.Append(_L("Not Supported")); break;
+
+ default:
+ aOutputMsg.Append(_L("Unknown Error")); break;
+ }
+ }
+
+//===================================================================================
+void CSmilTranslatorTestUtils::AppendSeverityStr(TInt aSeverity, TDes& aOutputMsg)
+ {
+ aOutputMsg.Append(_L(", Severity "));
+ switch(aSeverity)
+ {
+ case EXMLFatal:
+ aOutputMsg.Append(_L("Fatal"));
+ break;
+ case EXMLIndeterminate:
+ aOutputMsg.Append(_L("Indeterminate"));
+ break;
+ case EXMLWorkable:
+ aOutputMsg.Append(_L("Workable"));
+ break;
+ case EXMLNone:
+ aOutputMsg.Append(_L("None"));
+ break;
+ default:
+ aOutputMsg.Append(_L("Unknown"));
+ break;
+ }
+ }
+//===================================================================================
+
+void CSmilTranslatorTestUtils::ParseFileCompleteL()
+// call back function called from Parser::RunL()
+ {
+ // iXMLDoc ends up owned by this class, must delete off the old one on each pass.
+ delete iXMLDoc;
+ iXMLDoc = NULL;
+
+ // get parsed file, don't worry about errors, composer should be robust enough to handle bad files
+ iXMLDoc = iParser->DetachXMLDoc();
+
+ iComposerState = EComposing;
+ TRequestStatus *s = &iStatus;
+
+ iStartComposeTime.UniversalTime();
+
+ // create output dir if doesn't exist - this api ignores the file name (ignores everything after final '/')
+ fileSystem.MkDirAll(iOutputFileName);
+
+ // schedule composer active object for call to it's RunL function
+
+ if( iUseFileHandle )
+ {
+ RFile file;
+ TInt fileError = file.Replace(iSession, iOutputFileName, EFileWrite | EFileStream);
+
+ if( fileError==KErrNone )
+ {
+ // No function declaration of ComposeFile() that take RFile Object parameter
+// iErr = iComposer->ComposeFile(file, iXMLDoc, filetype);
+ iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
+ }
+ else
+ {
+ // if a file error has occured, we need to set the internal error state
+ // and can only do this by trying to compose again with the filepath so
+ // it fails internally
+ iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
+ }
+ }
+ else
+ {
+ iErr = iComposer->ComposeFile(iSession, iOutputFileName, iXMLDoc, testConfig->FileType());
+ }
+
+ // we are waiting on this event...
+ User::RequestComplete(s, KErrNone);
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::ComposeFileCompleteL()
+// call back function called from Composer::RunL()
+ {
+ TTime timeNow;
+ timeNow.UniversalTime();
+ TTimeIntervalMicroSeconds timeForCompose = timeNow.MicroSecondsFrom(iStartComposeTime);
+ iComposeTime += timeForCompose.Int64();
+
+ if (iComposerState == ESizing)
+ {
+ // Check the size of the file that has been written against the size calulated by the
+ // call to CMDXMLComposer::CalculateFileSize
+
+ RFile outputXMLFile;
+ outputXMLFile.Open(iSession, iOutputFileName, EFileRead);
+
+ TInt actualSize;
+ User::LeaveIfError(outputXMLFile.Size(actualSize));
+
+ if (iSize != actualSize)
+ {
+ // The calculated file size doesn't match the real file size, this test has failed
+ TBuf<255> outputMsg;
+
+ outputMsg.Append(KOutputNewLine);
+ outputMsg.Append(_L("Test Failed - The calculated file size doesn't match the actual size."));
+ outputMsg.Append(KOutputNewLine);
+
+ test.Printf(outputMsg); // print to console
+ iErrorFile.Write(DES_AS_8_BIT(outputMsg)); // print to error file
+ }
+
+ outputXMLFile.Close();
+
+ // If we are sizing then stop the active scheduler. Once the scheduler is stopped
+ // and this function exits, program control resumes where the scheduler was started
+ // in RunTestL.
+// CActiveScheduler::Stop();
+ }
+
+ else if (iComposerState == EComposing)
+ {
+ // The XML file has been composed. Now we need to run the sizing function to check
+ // that we can calculate the size correctly.
+
+ // Set the state to sizing and run the sizing operation...
+ iComposerState = ESizing;
+
+ // Calculate the file size and wait for the callback to this function again.
+ iComposer->CalculateFileSize(iSize, iXMLDoc, testConfig->FileType());
+ }
+ }
+
+//===================================================================================
+
+void CSmilTranslatorTestUtils::SetOutputFileName()
+ {
+ TInt offset;
+
+ iOutputFileName = iInputFileName;
+ if((offset = iOutputFileName.Find(KTestFindStr)) != KErrNotFound)
+ {
+ iOutputFileName.Replace(offset, TPtrC(KTestFindStr).Length(), KTestReplaceStr);
+ }
+ }
+
+//===================================================================================
+
+//
+// TestHarness implementation
+//
+
+
+
+LOCAL_C TInt startTestL()
+ {
+ TInt err = KErrNone;
+
+ // we may need to make some output dirs if they don't already exist
+ fileSystem.Connect();
+
+ scheduler = new (ELeave) CActiveScheduler;
+ CleanupStack::PushL(scheduler);
+ CActiveScheduler::Install( scheduler );
+
+ CSmilTranslatorTestUtils* ttu=CSmilTranslatorTestUtils::NewLC();
+
+ // suspend execution until active object scheduler is finished
+ CActiveScheduler::Start();
+
+ if (ttu->FilesProcessed()==0)
+ err=KErrNotFound;
+
+ fileSystem.Close();
+ CleanupStack::PopAndDestroy(2, scheduler); //scheduler, as well as the object
+ //placed on the stack by CSmilTranslatorTestUtils::NewLC();
+ return err;
+ }
+
+LOCAL_C TInt doMainL()
+ {
+ testConfig = CTestConfig::NewLC();
+
+ // set command line options
+ TInt err=testConfig->ProcessCommandLineL();
+ if(err!=KErrNone)
+ return err;
+
+ // users specified -h: display help to console and abort
+ if (testConfig->NeedsHelp())
+ {
+ testConfig->DisplayHelp();
+ test.Getch();
+ return KErrNone;
+ }
+
+ // user specified -i: let them override settings inside the console
+ if (testConfig->IsInteractive())
+ testConfig->InteractiveMode();
+
+#ifdef DEBUG_SMILTRANSLATORTEST_
+ testConfig->Dump();
+#endif
+
+ TInt returnCode = KErrNone;
+
+ // performance Performance Test
+ if (testConfig->TestType() == CTestConfig::EPerformance)
+ {
+ TInt loopFor = 0;
+ do
+ {
+ loopFor++;
+ returnCode=startTestL(); // Qualified: false leavescan error
+ }
+ while(loopFor!=testConfig->PerformanceTestIterations() && returnCode == KErrNone);
+ }
+ else if (testConfig->TestType()==CTestConfig::EMemory)
+ {
+ TInt after = 0;
+ do
+ {
+ after++;
+ User::__DbgSetAllocFail(RHeap::EUser, RHeap::EDeterministic, after);
+ returnCode=startTestL();
+ }
+ while(returnCode != KErrNone);
+ }
+ // Assume user wants a basic test
+ else
+ {
+ returnCode=startTestL();
+ }
+
+ CleanupStack::Pop(testConfig);
+ return returnCode;
+ }
+void CopyFileL()
+ {
+ RFs fs;
+ fs.Connect();
+ CleanupClosePushL(fs);
+
+ CFileMan* fileMan = CFileMan::NewL(fs);
+ CleanupStack::PushL(fileMan);
+
+ // Do the file copy
+ //User::LeaveIfError(fileMan->Copy(_L("z:\\gmxmltest.txt"),_L("c:\\gmxmltest.txt"),CFileMan::EOverWrite));
+ //User::LeaveIfError(fileMan->Copy(_L("z:\\legacyminidomparsertest"),_L("c:\\legacyminidomparsertest"),CFileMan::EOverWrite|CFileMan::ERecurse));
+
+ CleanupStack::PopAndDestroy(2);
+ }
+
+GLDEF_C TInt E32Main()
+ {
+ __UHEAP_MARK;
+ theCleanup=CTrapCleanup::New();
+ test.Start(_L("Smil Translator"));
+ TRAPD(err,CopyFileL());
+ test(err == KErrNone);
+ TInt returnCode=KErrNone;
+ TRAP(returnCode,returnCode=doMainL());
+ test(returnCode==KErrNone);
+ delete testConfig;
+ delete theCleanup;
+ test.End();
+ test.Close();
+ __UHEAP_MARKEND;
+ User::Heap().Check();
+ return(KErrNone);
+ }
+
+// End Of File
--- a/xml/xmlparser/group/XMLInterface.mmp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,90 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-#include <platform_paths.hrh>
-//#include <platform/mw/Browser_platform_variant.hrh>
-
-TARGET XMLInterface.dll
-TARGETTYPE dll
-UID 0x1000008d 0x101F9750
-//TARGETPATH ?target_path
-
-VENDORID VID_DEFAULT
-
-#if defined(ARMCC)
-DEFFILE ../eabi/xmlinterface.def
-#elif defined(WINSCW)
-DEFFILE ../bwinscw/xmlinterface.def
-#elif defined(WINS)
- DEFFILE ../bwins/xmlinterface.def
-#else
- DEFFILE ../bmarm/xmlinterface.def
-#endif
-
-SOURCEPATH ../src
-SOURCE RXMLReader.cpp
-SOURCE wml_1_3_dict.c
-SOURCE syncml_1_0_dict.c
-SOURCE xhtml_1_0_dict.c
-SOURCE sl_dict.c
-SOURCE CXMLReader.cpp
-SOURCE CXMLAttributes.cpp
-SOURCE CXMLObserver.cpp
-
-// RESOURCE resource_file
-// RESOURCE resource_file2
-
-USERINCLUDE ../inc
-
-OS_LAYER_SYSTEMINCLUDE
-OS_LAYER_LIBC_SYSTEMINCLUDE
-
-CAPABILITY CAP_GENERAL_DLL
-
-LIBRARY efsrv.lib
-LIBRARY euser.lib
-LIBRARY bafl.lib
-LIBRARY charconv.lib
-LIBRARY cxmlparser.lib
-
-#ifdef __S60_32__
-LANG sc
-#else
-LANGUAGE_IDS
-#endif
-/*
-START WINS
-?wins_specific_information
-END
-
-START MARM
-?marm_specific_information
-END
-*/
-// Other possible keywords:
-
-// DOCUMENT ?file, that is not compiled, but added to MSVC project workspace (i.e. release notes)
-/*
-START BITMAP ?target
-TARGETPATH ?emulated_path_on_target_machine
-HEADER
-SOURCEPATH ?source_path
-SOURCE ?color_depth ?source_bitmap
-END
-*/
-// DEFFILE ?filename
-// AIF ?filename
--- a/xml/xmlparser/group/bld.inf Thu Jul 01 15:13:40 2010 +0530
+++ b/xml/xmlparser/group/bld.inf Mon Sep 13 13:16:40 2010 +0530
@@ -29,11 +29,11 @@
// Move the includes into "Public Nokia implemented" in CORE_OS_LAYER_IBY_EXPORT_PATH
-../rom/Xmlinterface.iby CORE_OS_LAYER_IBY_EXPORT_PATH(Xmlinterface.iby)
+../rom/xmlinterface.iby CORE_OS_LAYER_IBY_EXPORT_PATH(xmlinterface.iby)
PRJ_MMPFILES
-XMLInterface.mmp
+xmlinterface.mmp
PRJ_TESTMMPFILES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/group/xmlinterface.mmp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,90 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+#include <platform_paths.hrh>
+//#include <platform/mw/Browser_platform_variant.hrh>
+
+TARGET XMLInterface.dll
+TARGETTYPE dll
+UID 0x1000008d 0x101F9750
+//TARGETPATH ?target_path
+
+VENDORID VID_DEFAULT
+
+#if defined(ARMCC)
+DEFFILE ../eabi/xmlinterface.def
+#elif defined(WINSCW)
+DEFFILE ../bwinscw/xmlinterface.def
+#elif defined(WINS)
+ DEFFILE ../bwins/xmlinterface.def
+#else
+ DEFFILE ../bmarm/xmlinterface.def
+#endif
+
+SOURCEPATH ../src
+SOURCE RXMLReader.cpp
+SOURCE wml_1_3_dict.c
+SOURCE syncml_1_0_dict.c
+SOURCE xhtml_1_0_dict.c
+SOURCE sl_dict.c
+SOURCE CXMLReader.cpp
+SOURCE CXMLAttributes.cpp
+SOURCE CXMLObserver.cpp
+
+// RESOURCE resource_file
+// RESOURCE resource_file2
+
+USERINCLUDE ../inc
+
+OS_LAYER_SYSTEMINCLUDE
+OS_LAYER_LIBC_SYSTEMINCLUDE
+
+CAPABILITY CAP_GENERAL_DLL
+
+LIBRARY efsrv.lib
+LIBRARY euser.lib
+LIBRARY bafl.lib
+LIBRARY charconv.lib
+LIBRARY cxmlparser.lib
+
+#ifdef __S60_32__
+LANG sc
+#else
+LANGUAGE_IDS
+#endif
+/*
+START WINS
+?wins_specific_information
+END
+
+START MARM
+?marm_specific_information
+END
+*/
+// Other possible keywords:
+
+// DOCUMENT ?file, that is not compiled, but added to MSVC project workspace (i.e. release notes)
+/*
+START BITMAP ?target
+TARGETPATH ?emulated_path_on_target_machine
+HEADER
+SOURCEPATH ?source_path
+SOURCE ?color_depth ?source_bitmap
+END
+*/
+// DEFFILE ?filename
+// AIF ?filename
--- a/xml/xmlparser/inc/CXMLAttributes.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,131 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-#ifndef __CXMLATTRIBUTES_H
-#define __CXMLATTRIBUTES_H
-
-// INCLUDES
-#include <e32std.h>
-#include <badesca.h>
-#include <xml/MXMLAttributes.h>
-
-
-// CLASS DECLARATION
-
-/**
-* Implementation of MXMLAttributes interface.
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class CXMLAttributes : public CBase, public MXMLAttributes
-{
-public: // Constructors and destructor
-
- /**
- * Two-phased constructor.
- */
- static CXMLAttributes* NewL();
-
- static CXMLAttributes* NewLC();
-
-/**
-* Destructor.
-*/
- virtual ~CXMLAttributes();
-
-public: // Implementation of MXMLAttributes Functions
-
-/**
-* Implementation of MXMLAttributes::GetIndexL(TDesC& aName)
-*/
- TInt GetIndex(TDesC& aName);
-
-/**
-* Implementation of MXMLAttributes::GetLenght()
-*/
- TInt GetLength();
-
-/**
-* Implementation of MXMLAttributes::GetNameL(TInt aIndex).
-*/
- TPtrC GetName(TInt aIndex);
-
-/**
-* Implementation of MXMLAttributes::GetValueL(TDesC& aName, TDesC& aValue).
-*/
- TPtrC GetValue(TDesC& aName);
-
-/**
-* Implementation of MXMLAttributes::GetValueL(TInt& aIndex, TDesC& aValue).
-*/
- TPtrC GetValue(TInt& aIndex);
-
-/**
-* Implementation of MXMLAttributes::GetTypeL(Tint aIndex, TDesC& aType).
-*/
-// R&D: Feature: GetType missing from Attributes
- TPtrC GetType(TInt aIndex);
-
-/**
-* Implementation of MXMLAttributes::GetTypeL(TDesC& aName, TDesC& aType).
-*/
-// R&D: Feature: GetType missing from Attributes
- TPtrC GetType(TDesC& aName);
-
-public: // New Functions
-
-/**
-* Appends new attribute to attrinbuteslist.
-* @since ?Series60_version
-* @param aName: Attribute name.
-* @param aValue: Attribute value.
-* @return none.
-*/
- void AppendL(const TDesC& aName, const TDesC& aValue);
-
-/**
-* Resets the attribute list.
-* @since ?Series60_version
-* @param aName: Attribute name.
-* @param aValue: Attribute value.
-* @return none.
-*/
- void Reset();
-
-protected:
-/**
- * C++ default constructor.
- */
- CXMLAttributes();
-
-private:
-
- void ConstructL();
-
-private: // Data
-
- // Store Attribute Names
- CDesCArraySeg* iDescAttName;
- // Store Attribute Values
- CDesCArraySeg* iDescAttValue;
-};
-
-#endif // __CXMLATTRIBUTES_H
-
-// End of File
--- a/xml/xmlparser/inc/CXMLObserver.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,172 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-#ifndef __CXMLOBSERVER_H
-#define __CXMLOBSERVER_H
-
-// INCLUDES
-#include <e32std.h>
-#include <txtetext.h>
-#include "CXMLAttributes.h"
-#include <xml/MXMLContentHandler.h>
-#include <xml/MWBXMLContentHandler.h>
-
-
-// CLASS DECLARATION
-
-/**
-* Help class for CXMLReader.
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class CXMLObserver : public CBase
- {
- public: // Constructors and destructor
-
- /**
- * Two-phased constructor.
- */
- static CXMLObserver* NewL();
-
- static CXMLObserver* NewLC();
-
- /**
- * Destructor.
- */
- ~CXMLObserver();
-
-public: // New functions
-
-/**
-* Registers content handler
-* @since ?Series60_version
-* @param aContentHandler: The ContentHandler to use.
-* @return none.
-*/
- inline void SetContentHandler(MXMLContentHandler* aContentHandler){iContentHandler = aContentHandler;}
-
-/**
-* Registers a binary content handler
-* @since ?Series60_version
-* @param aContentHandler: The ContentHandler to use.
-* @return none.
-*/
- inline void SetContentHandler(MWBXMLContentHandler* aContentHandler){iBinaryContentHandler = aContentHandler;}
-
-/**
-* Gets content handler
-* @since ?Series60_version
-* @param none.
-* @return ContentHandler.
-*/
- inline MXMLContentHandler* GetContentHandler(){return iContentHandler;}
-
- /**
-* Gets binary content handler
-* @since ?Series60_version
-* @param none.
-* @return ContentHandler.
-*/
- inline MWBXMLContentHandler* GetBinaryContentHandler(){return iBinaryContentHandler;}
-
-
-/**
-* Gets current attribute list
-* @since ?Series60_version
-* @return pointer to current attribute list
-*/
- inline CXMLAttributes* GetAttributes(){return iAttributes;}
-
-/**
-* Get current element
-* @since ?Series60_version
-* @return Current element
-*/
- TPtrC GetElement() const;
-
-/**
-* Set current element
-* @since ?Series60_version
-* @param Current element
-* @return none.
-*/
- void SetElementL(const TPtrC &aName);
-
-/**
-* Remove current element
-* @since ?Series60_version
-* @return none
-*/
- void RemoveElement();
-
-/**
-* Set element URI
-* @since ?Series60_version
-* @param aURI: the URI.
-* @param aNSextension: namespace extension mapped to aURI.
-* @return none
-*/
- void SetURIL(const TPtrC &aURI, const TPtrC &aNSextension);
-
-/**
-* Get element URI
-* @since ?Series60_version
-* @param aNSextension: namespace extension mapped to aURI.
-* @return the URI.
-*/
- TPtrC GetURI(const TPtrC &aNSextension) const;
-
-/**
-* ResetURI, reset URI list
-* @since ?Series60_version
-* @return none.
-*/
- void ResetURI();
-
-
-private:
-/**
-* C++ default constructor.
-*/
- CXMLObserver();
-
- void ConstructL();
-
-public: // Data
- // Keeps current attribute name
- TPtrC* iCurrentAttribute;
-
-private: // Data
- // Parser CallBacks
- MXMLContentHandler* iContentHandler;
- // Binary call backs
- MWBXMLContentHandler* iBinaryContentHandler;
- // Current attribute list
- CXMLAttributes* iAttributes;
- // Keeps track of elements (needed for binary parsing)
- CDesCArraySeg* iDescElements;
-
- // Keep track off namespace extensions and URIs.
- CDesCArraySeg* iNSextensions;
- CDesCArraySeg* iURIs;
-};
-
-#endif // __CXMLOBSERVER_H
-
-// End of File
--- a/xml/xmlparser/inc/CXMLReader.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,134 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-#ifndef __CXMLREADER_H
-#define __CXMLREADER_H
-
-// INCLUDES
-#include <e32std.h>
-#include <f32file.h>
-#include <utf.h>
-#include <xml/cxml/nw_cXML_Parser.h>
-
-#include "CXMLAttributes.h"
-#include <xml/MXMLContentHandler.h>
-#include <xml/MWBXMLContentHandler.h>
-#include "CXMLObserver.h"
-#include <xml/XMLUtils.h>
-
-
-// CLASS DECLARATION
-
-/**
-* Implementation of RXMLReader interface.
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class CXMLReader : public CBase
-{
-public: // Constructors and destructor
-
-/**
-* Two-phased constructor.
-*/
- static CXMLReader* NewL();
-
- static CXMLReader* NewLC();
-
-/**
-* Destructor.
-*/
- ~CXMLReader();
-
-public: // Implementation of RXMLAttributes Functions
-
-/**
-* Implementation of RXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
-*/
- TInt SetFeature(TXMLFeature aFeature, TBool aStatus);
-
-/**
-* Implementation of RXMLReader::GetFeature(TXMLFeature aFeature)
-*/
- TInt GetFeature(TXMLFeature aFeature, TBool& aStatus);
-
-/**
-* Implementation of RXMLReader::SetContentHandler(MXMLContentHandler& aContentHandler)
-*/
- TInt SetContentHandler(MXMLContentHandler* aContentHandler);
-
-/**
-* Implementation of RXMLReader::SetContentHandler(MWBXMLContentHandler& aContentHandler)
-*/
- TInt SetContentHandler(MWBXMLContentHandler* aContentHandler);
-
-/**
-* Implementation of RXMLReader::ParseL(RFs& aRFs, const TDesC& aFileToParse)
-*/
- void ParseL(RFs& aRFs, const TDesC& aFileToParse);
-
-/**
-* Implementation of RXMLReader::ParseL(const TDesC& aBuff)
-*/
- void ParseL(const TDesC8& aBuff);
-
-/**
-* Implementation of RXMLReader::ParseL(RFile& aOpenedFile)
-*/
- void ParseL(RFile& aOpenedFile);
-
-
-private:
-
-/**
-* C++ default constructor.
-*/
- CXMLReader();
-
- void ConstructL();
-
-/**
-* Parse XML document
-* @since ?Series60_version
-* @param
-* @return status.
-*/
- TInt ParseXML(const TDesC& aBuff);
-
-/**
-* Parse WBXML document
-* @since ?Series60_version
-* @param
-* @return status.
-*/
- TInt ParseWBXML(const TDesC8& aBuff);
-
-
-protected: // Data
-
- // Parser CallBacks
- CXMLObserver* iParserObserver;
- // wbxml or xml input
- TBool iIsBinary;
-
-};
-
-#endif // __CXMLREADER_H
-
-// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/inc/cxmlattributes.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,131 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+#ifndef __CXMLATTRIBUTES_H
+#define __CXMLATTRIBUTES_H
+
+// INCLUDES
+#include <e32std.h>
+#include <badesca.h>
+#include <xml/mxmlattributes.h>
+
+
+// CLASS DECLARATION
+
+/**
+* Implementation of MXMLAttributes interface.
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class CXMLAttributes : public CBase, public MXMLAttributes
+{
+public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CXMLAttributes* NewL();
+
+ static CXMLAttributes* NewLC();
+
+/**
+* Destructor.
+*/
+ virtual ~CXMLAttributes();
+
+public: // Implementation of MXMLAttributes Functions
+
+/**
+* Implementation of MXMLAttributes::GetIndexL(TDesC& aName)
+*/
+ TInt GetIndex(TDesC& aName);
+
+/**
+* Implementation of MXMLAttributes::GetLenght()
+*/
+ TInt GetLength();
+
+/**
+* Implementation of MXMLAttributes::GetNameL(TInt aIndex).
+*/
+ TPtrC GetName(TInt aIndex);
+
+/**
+* Implementation of MXMLAttributes::GetValueL(TDesC& aName, TDesC& aValue).
+*/
+ TPtrC GetValue(TDesC& aName);
+
+/**
+* Implementation of MXMLAttributes::GetValueL(TInt& aIndex, TDesC& aValue).
+*/
+ TPtrC GetValue(TInt& aIndex);
+
+/**
+* Implementation of MXMLAttributes::GetTypeL(Tint aIndex, TDesC& aType).
+*/
+// R&D: Feature: GetType missing from Attributes
+ TPtrC GetType(TInt aIndex);
+
+/**
+* Implementation of MXMLAttributes::GetTypeL(TDesC& aName, TDesC& aType).
+*/
+// R&D: Feature: GetType missing from Attributes
+ TPtrC GetType(TDesC& aName);
+
+public: // New Functions
+
+/**
+* Appends new attribute to attrinbuteslist.
+* @since ?Series60_version
+* @param aName: Attribute name.
+* @param aValue: Attribute value.
+* @return none.
+*/
+ void AppendL(const TDesC& aName, const TDesC& aValue);
+
+/**
+* Resets the attribute list.
+* @since ?Series60_version
+* @param aName: Attribute name.
+* @param aValue: Attribute value.
+* @return none.
+*/
+ void Reset();
+
+protected:
+/**
+ * C++ default constructor.
+ */
+ CXMLAttributes();
+
+private:
+
+ void ConstructL();
+
+private: // Data
+
+ // Store Attribute Names
+ CDesCArraySeg* iDescAttName;
+ // Store Attribute Values
+ CDesCArraySeg* iDescAttValue;
+};
+
+#endif // __CXMLATTRIBUTES_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/inc/cxmlobserver.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,172 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+#ifndef __CXMLOBSERVER_H
+#define __CXMLOBSERVER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <txtetext.h>
+#include "cxmlattributes.h"
+#include <xml/mxmlcontenthandler.h>
+#include <xml/mwbxmlcontenthandler.h>
+
+
+// CLASS DECLARATION
+
+/**
+* Help class for CXMLReader.
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class CXMLObserver : public CBase
+ {
+ public: // Constructors and destructor
+
+ /**
+ * Two-phased constructor.
+ */
+ static CXMLObserver* NewL();
+
+ static CXMLObserver* NewLC();
+
+ /**
+ * Destructor.
+ */
+ ~CXMLObserver();
+
+public: // New functions
+
+/**
+* Registers content handler
+* @since ?Series60_version
+* @param aContentHandler: The ContentHandler to use.
+* @return none.
+*/
+ inline void SetContentHandler(MXMLContentHandler* aContentHandler){iContentHandler = aContentHandler;}
+
+/**
+* Registers a binary content handler
+* @since ?Series60_version
+* @param aContentHandler: The ContentHandler to use.
+* @return none.
+*/
+ inline void SetContentHandler(MWBXMLContentHandler* aContentHandler){iBinaryContentHandler = aContentHandler;}
+
+/**
+* Gets content handler
+* @since ?Series60_version
+* @param none.
+* @return ContentHandler.
+*/
+ inline MXMLContentHandler* GetContentHandler(){return iContentHandler;}
+
+ /**
+* Gets binary content handler
+* @since ?Series60_version
+* @param none.
+* @return ContentHandler.
+*/
+ inline MWBXMLContentHandler* GetBinaryContentHandler(){return iBinaryContentHandler;}
+
+
+/**
+* Gets current attribute list
+* @since ?Series60_version
+* @return pointer to current attribute list
+*/
+ inline CXMLAttributes* GetAttributes(){return iAttributes;}
+
+/**
+* Get current element
+* @since ?Series60_version
+* @return Current element
+*/
+ TPtrC GetElement() const;
+
+/**
+* Set current element
+* @since ?Series60_version
+* @param Current element
+* @return none.
+*/
+ void SetElementL(const TPtrC &aName);
+
+/**
+* Remove current element
+* @since ?Series60_version
+* @return none
+*/
+ void RemoveElement();
+
+/**
+* Set element URI
+* @since ?Series60_version
+* @param aURI: the URI.
+* @param aNSextension: namespace extension mapped to aURI.
+* @return none
+*/
+ void SetURIL(const TPtrC &aURI, const TPtrC &aNSextension);
+
+/**
+* Get element URI
+* @since ?Series60_version
+* @param aNSextension: namespace extension mapped to aURI.
+* @return the URI.
+*/
+ TPtrC GetURI(const TPtrC &aNSextension) const;
+
+/**
+* ResetURI, reset URI list
+* @since ?Series60_version
+* @return none.
+*/
+ void ResetURI();
+
+
+private:
+/**
+* C++ default constructor.
+*/
+ CXMLObserver();
+
+ void ConstructL();
+
+public: // Data
+ // Keeps current attribute name
+ TPtrC* iCurrentAttribute;
+
+private: // Data
+ // Parser CallBacks
+ MXMLContentHandler* iContentHandler;
+ // Binary call backs
+ MWBXMLContentHandler* iBinaryContentHandler;
+ // Current attribute list
+ CXMLAttributes* iAttributes;
+ // Keeps track of elements (needed for binary parsing)
+ CDesCArraySeg* iDescElements;
+
+ // Keep track off namespace extensions and URIs.
+ CDesCArraySeg* iNSextensions;
+ CDesCArraySeg* iURIs;
+};
+
+#endif // __CXMLOBSERVER_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/inc/cxmlreader.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,134 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+#ifndef __CXMLREADER_H
+#define __CXMLREADER_H
+
+// INCLUDES
+#include <e32std.h>
+#include <f32file.h>
+#include <utf.h>
+#include <xml/cxml/nw_cxml_parser.h>
+
+#include "cxmlattributes.h"
+#include <xml/mxmlcontenthandler.h>
+#include <xml/mwbxmlcontenthandler.h>
+#include "cxmlobserver.h"
+#include <xml/xmlutils.h>
+
+
+// CLASS DECLARATION
+
+/**
+* Implementation of RXMLReader interface.
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class CXMLReader : public CBase
+{
+public: // Constructors and destructor
+
+/**
+* Two-phased constructor.
+*/
+ static CXMLReader* NewL();
+
+ static CXMLReader* NewLC();
+
+/**
+* Destructor.
+*/
+ ~CXMLReader();
+
+public: // Implementation of RXMLAttributes Functions
+
+/**
+* Implementation of RXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
+*/
+ TInt SetFeature(TXMLFeature aFeature, TBool aStatus);
+
+/**
+* Implementation of RXMLReader::GetFeature(TXMLFeature aFeature)
+*/
+ TInt GetFeature(TXMLFeature aFeature, TBool& aStatus);
+
+/**
+* Implementation of RXMLReader::SetContentHandler(MXMLContentHandler& aContentHandler)
+*/
+ TInt SetContentHandler(MXMLContentHandler* aContentHandler);
+
+/**
+* Implementation of RXMLReader::SetContentHandler(MWBXMLContentHandler& aContentHandler)
+*/
+ TInt SetContentHandler(MWBXMLContentHandler* aContentHandler);
+
+/**
+* Implementation of RXMLReader::ParseL(RFs& aRFs, const TDesC& aFileToParse)
+*/
+ void ParseL(RFs& aRFs, const TDesC& aFileToParse);
+
+/**
+* Implementation of RXMLReader::ParseL(const TDesC& aBuff)
+*/
+ void ParseL(const TDesC8& aBuff);
+
+/**
+* Implementation of RXMLReader::ParseL(RFile& aOpenedFile)
+*/
+ void ParseL(RFile& aOpenedFile);
+
+
+private:
+
+/**
+* C++ default constructor.
+*/
+ CXMLReader();
+
+ void ConstructL();
+
+/**
+* Parse XML document
+* @since ?Series60_version
+* @param
+* @return status.
+*/
+ TInt ParseXML(const TDesC& aBuff);
+
+/**
+* Parse WBXML document
+* @since ?Series60_version
+* @param
+* @return status.
+*/
+ TInt ParseWBXML(const TDesC8& aBuff);
+
+
+protected: // Data
+
+ // Parser CallBacks
+ CXMLObserver* iParserObserver;
+ // wbxml or xml input
+ TBool iIsBinary;
+
+};
+
+#endif // __CXMLREADER_H
+
+// End of File
--- a/xml/xmlparser/src/CXMLAttributes.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,220 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-// INCLUDE FILES
-#include "CXMLAttributes.h"
-
-
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::CXMLAttributes()
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CXMLAttributes::CXMLAttributes()
- {
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::ConstructL
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CXMLAttributes::ConstructL()
- {
- iDescAttName = new (ELeave) CDesCArraySeg(1);
- iDescAttValue = new (ELeave) CDesCArraySeg(1);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::NewL
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CXMLAttributes* CXMLAttributes::NewL()
- {
- CXMLAttributes* self = new( ELeave ) CXMLAttributes;
-
- CleanupStack::PushL( self );
- self->ConstructL();
- CleanupStack::Pop();
-
- return self;
- }
-
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::~CXMLAttributes()
-// Destructor.
-// -----------------------------------------------------------------------------
-//
-CXMLAttributes::~CXMLAttributes()
- {
- if(iDescAttName)
- {
- delete iDescAttName;
- }
-
- if(iDescAttValue)
- {
- delete iDescAttValue;
- }
-
- }
-
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetIndex
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLAttributes::GetIndex(TDesC& aName)
- {
-
- TInt wIndex = 0;
- if(iDescAttName->Find(aName,wIndex) != KErrNone)
- {
- return KErrNotFound;
- }
- else
- {
- return wIndex;
- }
-
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetLength
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLAttributes::GetLength()
- {
- return iDescAttName->Count();
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetName
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TPtrC CXMLAttributes::GetName(TInt aIndex)
- {
- if(aIndex > iDescAttName->Count() || aIndex < 0)
- {
- TPtrC wEmpty = _L(" ");
- return wEmpty;
- }
- return iDescAttName->MdcaPoint(aIndex);
-
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetValue
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TPtrC CXMLAttributes::GetValue(TDesC& aName)
- {
- TInt wPos = GetIndex(aName);
-
- if (wPos < 0)
- {
- TPtrC wEmpty = _L(" ");
- return wEmpty;
- }
- return iDescAttValue->MdcaPoint(wPos);
-
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetValue
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TPtrC CXMLAttributes::GetValue(TInt& aIndex)
- {
- if(aIndex > iDescAttName->Count() || aIndex < 0)
- {
- TPtrC wEmpty = _L(" ");
- return wEmpty;
- }
- return iDescAttValue->MdcaPoint(aIndex);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetType
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-/// R&D: Feature: GetType missing from Attributes
-TPtrC CXMLAttributes::GetType(TInt /*aIndex*/)
- {
- TPtrC wType = _L(" ");
- return(wType);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::GetType
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-// R&D: Feature: GetType missing from Attributes
-TPtrC CXMLAttributes::GetType(TDesC& /*aName*/)
- {
- TPtrC wType = _L(" ");
- return wType;
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::Append
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CXMLAttributes::AppendL(const TDesC& aName, const TDesC& aValue)
- {
- if ( iDescAttName && iDescAttValue )
- {
- iDescAttName->AppendL(aName);
- iDescAttValue->AppendL(aValue);
- }
- }
-
-// -----------------------------------------------------------------------------
-// CXMLAttributes::Reset()
-// Resets attribute Name and Value arrays
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CXMLAttributes::Reset()
- {
- iDescAttName->Reset();
- iDescAttValue->Reset();
- }
-
-// End of File
--- a/xml/xmlparser/src/CXMLObserver.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,168 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-#include "CXMLObserver.h"
-
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::CXMLObserver
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CXMLObserver::CXMLObserver()
- {
-
- }
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::ConstructL
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CXMLObserver::ConstructL()
- {
- iCurrentAttribute = new(ELeave) TPtrC();
- iAttributes = CXMLAttributes::NewL();
- iDescElements = new (ELeave) CDesCArraySeg(1);
- iNSextensions = new (ELeave) CDesCArraySeg(1);
- iURIs = new (ELeave) CDesCArraySeg(1);
- iContentHandler = NULL;
- iBinaryContentHandler = NULL;
- }
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::NewL
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CXMLObserver* CXMLObserver::NewL()
- {
- CXMLObserver* self = new( ELeave ) CXMLObserver();
-
- CleanupStack::PushL( self );
- self->ConstructL();
- CleanupStack::Pop();
-
- return self;
- }
-
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::~CXMLObserver
-// Destructor.
-// -----------------------------------------------------------------------------
-//
-CXMLObserver::~CXMLObserver()
- {
- if (iCurrentAttribute)
- {
- delete iCurrentAttribute;
- }
- if(iAttributes)
- {
- delete iAttributes;
- }
- if(iDescElements)
- {
- delete iDescElements;
- }
- if(iNSextensions)
- {
- delete iNSextensions;
- }
- if(iURIs)
- {
- delete iURIs;
- }
- }
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::SetElement
-//
-// -----------------------------------------------------------------------------
-//
-void CXMLObserver::SetElementL(const TPtrC &aName)
-{
- if(iDescElements)
- {
- iDescElements->AppendL(aName);
- }
-}
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::GetElement
-//
-// -----------------------------------------------------------------------------
-//
-TPtrC CXMLObserver::GetElement() const
-{
- TInt wIndex = iDescElements->Count()-1;
- if(wIndex < 0)
- {
- TPtrC wEmpty = _L(" ");
- return wEmpty;
-
- }
- return iDescElements->MdcaPoint(wIndex);
-}
-
-// -----------------------------------------------------------------------------
-// CXMLObserver::GetElement
-//
-// -----------------------------------------------------------------------------
-//
-void CXMLObserver::RemoveElement()
-{
- TInt wIndex = iDescElements->Count()-1;
- if(wIndex > -1)
- {
- iDescElements->Delete(wIndex);
- iDescElements->Compress();
- }
-}
-
-void CXMLObserver::SetURIL(const TPtrC &aURI, const TPtrC &aNSextension)
-{
- iNSextensions->AppendL(aNSextension);
- iURIs->AppendL(aURI);
-}
-
-TPtrC CXMLObserver::GetURI(const TPtrC &aNSextension) const
-{
- TInt wIndex = 0;
- TInt wRes = 0;
-
- wRes = iNSextensions->Find(aNSextension,wIndex);
- if(wRes != 0)
- {
- TPtrC wEmpty = _L(" ");
- return wEmpty;
- }
- return iURIs->MdcaPoint(wIndex);
-}
-void CXMLObserver::ResetURI()
-{
- iNSextensions->Reset();
- iURIs->Reset();
-}
-
-// End of File
--- a/xml/xmlparser/src/CXMLReader.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1123 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-// INCLUDE FILES
-#include "CXMLReader.h"
-
-
-/* Dictionar Public ID's */
-#define WML_1_1_PUBLIC_ID 4
-#define WML_1_2_PUBLIC_ID 9
-#define WML_1_3_PUBLIC_ID 10
-#define XHTML_1_0_PUBLIC_ID 55
-#define SYNCML_1_0_PUBLIC_ID 0xFD1
-#define WAP_PROV_1_0_PUBLIC_ID 11
-#define SI_1_0_PUBLIC_ID 5
-#define SL_1_0_PUBLIC_ID 6
-#define PUSH_PROV_1_0_PUBLIC_ID 1
-extern "C"
-{
- extern NW_WBXML_Dictionary_t NW_Wml_1_0_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_Wml_1_1_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_Wml_1_2_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_Wml_1_3_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_XHTML_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_SyncML_1_0_WBXMLDictionary;
- extern NW_WBXML_Dictionary_t NW_SL_WBXMLDictionary;
-// extern NW_WBXML_Dictionary_t NW_wap_prov_doc_WBXMLDictionary;
-// extern NW_WBXML_Dictionary_t SI_dictionary;
-// extern NW_WBXML_Dictionary_t SL_dictionary;
-// extern NW_WBXML_Dictionary_t push_nokprov_dictionary;
-}
-#define DICTIONARY_COUNT 7
-
-
-// ============================= LOCAL FUNCTIONS ===============================
-
-// -----------------------------------------------------------------------------
-// BeginElementCB
-// BeginElement callback, stores elemntname in elemntlist
-// -----------------------------------------------------------------------------
-//
-NW_Status_t BeginElementCB(NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- void* aParser)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aParser;
- TPtrC wElementName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- TRAPD(error, wObserver->SetElementL(wElementName));
- if(error)
- {
- (wObserver->GetAttributes())->Reset();
- return NW_STAT_FAILURE;
- }
- // New element, reset attributes list
- (wObserver->GetAttributes())->Reset();
- return NW_STAT_SUCCESS;
-}
-
-// -----------------------------------------------------------------------------
-// EndElementCB. calls MXMLContentHandler::EndElement with elemntname,
-// removes closed element from elemntlist.
-// -----------------------------------------------------------------------------
-//
-NW_Status_t EndElementCB(NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- NW_Uint32 /*aEmpFlag*/,
- void* aParser)
-{
- _LIT(KEmpty,"");
- TPtrC wEmpty(KEmpty);
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- wObserver->RemoveElement();
- MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
- TPtrC aElementName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- TInt result = aContentHandler->EndElement(wEmpty, wEmpty, aElementName);
- aContentHandler->ReaderIndex( aReader->charIndex );
- return result ? NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// AttributesStartCB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t AttributeStartCB (NW_XML_Reader_t*,
- const NW_XML_Reader_Interval_t* /*pI_name*/,
- void*)
-{
- return NW_STAT_SUCCESS;
-}
-
-// -----------------------------------------------------------------------------
-// AttreibuteValueCB Adds new attribute to attributes list.
-// Adds URI to URI list if namespaces is used
-// -----------------------------------------------------------------------------
-//
-NW_Status_t AttributeValueCB(NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- const NW_XML_Reader_Interval_t* aValue,
- void* aParser)
-{
- _LIT(KNamespace,"xmlns:");
- TPtrC wNamespace(KNamespace);
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- CXMLAttributes* wAttr = wObserver->GetAttributes();
-
- // Append new attribute to attributes list
- TPtrC wAttributeName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- TPtrC wAttributeValue( (TUint16*)aReader->pBuf + aValue->charStart, aValue->charStop - aValue->charStart );
- TRAPD(error,wAttr->AppendL(wAttributeName, wAttributeValue));
- if(error)
- {
- return NW_STAT_FAILURE;
- }
- // namespace declaration, store URI and extension
- if(wAttributeName.Left(6).Match(wNamespace)!=KErrNotFound)
- {
- TPtrC wExtension = wAttributeName.Right(wAttributeName.Length()-6);
- TRAP(error, wObserver->SetURIL(wAttributeValue, wExtension));
- if(error)
- {
- return NW_STAT_FAILURE;
- }
- }
- return NW_STAT_SUCCESS;
-}
-
-// -----------------------------------------------------------------------------
-// AttributesEndCB Calls MXMLContentHandler::StartElement with element name and
-// attributes list.
-// -----------------------------------------------------------------------------
-//
-NW_Status_t AttributesEndCB(NW_XML_Reader_t* /*aReader*/,
- NW_Uint32 /*aLength*/,
- void* aParser)
-{
- _LIT(KLocalName,"");
- TPtrC wLocalName(KLocalName);
- _LIT(KURI,"");
- TPtrC wURI(KURI);
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- MXMLContentHandler* wContentHandler = wObserver->GetContentHandler();
-
- TPtrC wElementName = wObserver->GetElement();
- CXMLAttributes* wAttributes = wObserver->GetAttributes();
-
- // if using namespace, get URI and localname
- TInt wIndex = wElementName.Locate(':');
- if(wIndex > 0)
- {
- wLocalName.Set(wElementName.Right(wElementName.Length()-wIndex-1));
- TPtrC temp = wElementName.Left(wIndex);
- wURI.Set(wObserver->GetURI(temp));
- }
- // Call StartElement, now that we have all the attributes
- return wContentHandler->StartElement(wURI, wLocalName, wElementName, wAttributes) ? NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// CDataCB Reports actual CData as MXMLContentHandler::Characters (between
-// MXMLContentHandler::StartCData and MXMLContentHandler::EndCData
-// -----------------------------------------------------------------------------
-//
-NW_Status_t CdataCB (NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- void* aParser)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
- TPtrC wChar( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
-
- aContentHandler->StartCDATA();
- aContentHandler->Charecters( wChar, aName->charStart, (aName->charStop - aName->charStart) );
- return aContentHandler->EndCDATA()? NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// ContentCB Content reported as MXMLContentHandler::Characters
-// -----------------------------------------------------------------------------
-//
-NW_Status_t ContentCB (NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aValue,
- void* aParser)
-{
-
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- TPtrC wChar( (TUint16*)aReader->pBuf + aValue->charStart, aValue->charStop - aValue->charStart );
-
- MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
-
- return (aContentHandler->Charecters(wChar, aValue->charStart, (aValue->charStop - aValue->charStart)))?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-
-// -----------------------------------------------------------------------------
-// AttrEntityVarValCB Adds new attribute to attributes list.
-// Adds URI to URI list if namespaces is used
-// -----------------------------------------------------------------------------
-//
-NW_Status_t AttrEntityVarValCB (NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- NW_Uint8* aValue,
- NW_Uint32 aValueByteLength,
- void* aParser)
- {
- _LIT(KNamespace, "xmlns:");
- TPtrC wNamespace(KNamespace);
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- CXMLAttributes* wAttr = wObserver->GetAttributes();
-
- // Append new attribute to attributes list
- TPtrC wAttributeName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- TPtrC wAttributeValue( (TUint16*)aValue, aValueByteLength/2 );
-
- TRAPD(error,wAttr->AppendL(wAttributeName, wAttributeValue));
- if(error)
- {
- return NW_STAT_FAILURE;
- }
-
- // namespace declaration, store URI and extension
- if(wAttributeName.Left(6).Match(wNamespace)!=KErrNotFound)
- {
- TPtrC wExtension = wAttributeName.Right(wAttributeName.Length()-6);
- TRAP(error, wObserver->SetURIL(wAttributeValue, wExtension));
- if(error)
- {
- return NW_STAT_FAILURE;
- }
- }
- return NW_STAT_SUCCESS;
- }
-
-
-// -----------------------------------------------------------------------------
-// EntityCB Entity reported as MXMLContentHandler::StartEntity
-// -----------------------------------------------------------------------------
-//
-NW_Status_t EntityCB (NW_XML_Reader_t* aReader,
- NW_Uint32 aNumEntity,
- void* aParser,
- CXML_Uint8* aIntEntityValStr)
-{
-
- CXMLObserver *wObserver = (CXMLObserver*)aParser;
-
- NW_String_t *tempString = NW_String_new();
- // handle OOM
- if(tempString == NULL)
- {
- return NW_STAT_FAILURE;
- }
-
- if(aIntEntityValStr == NULL)
- {
- //It is character/predefined entities
- NW_String_entityToString(aNumEntity, tempString, aReader->encoding);
- }
-
- if(aIntEntityValStr != NULL)
- {
- //It is the internal entity
- tempString->storage = aIntEntityValStr;
- }
-
- TPtrC wTmpEntityPtr((TUint16*)tempString->storage);
- TInt result(wObserver->GetContentHandler()->StartEntity(wTmpEntityPtr));
-
- if (result == 0)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
- result = wObserver->GetContentHandler()->EndEntity(wTmpEntityPtr);
- NW_String_delete(tempString);
-
- return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
-
-}
-
-// -----------------------------------------------------------------------------
-// CommentCB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t CommentCB (NW_XML_Reader_t* aReader,
- const NW_XML_Reader_Interval_t* aName,
- void* aParser )
-{
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- TPtrC wComment( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- return (wObserver->GetContentHandler())->Comment(wComment)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// StartDocumentCB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t StartDocumentCB (NW_XML_Reader_t* /*aReader*/,
- void* aParser )
-
-{
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- return (wObserver->GetContentHandler())->StartDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-
-}
-
-// -----------------------------------------------------------------------------
-// EndDocumentCB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t EndDocumentCB (NW_XML_Reader_t* /*aReader*/,
- void* aParser)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- return (wObserver->GetContentHandler())->EndDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// PiCB Report Processing Instruction with MXMLProcessingInstruction(Target, Data)
-// -----------------------------------------------------------------------------
-//
-NW_Status_t PiCB (NW_XML_Reader_t* aReader,
- NW_PiFormTypeTag_t aTag,
- const NW_XML_Reader_Interval_t* aName,
- const NW_XML_Reader_Interval_t* aVersion,
- const NW_XML_Reader_Interval_t* /*aEncoding*/,
- const NW_XML_Reader_Interval_t* /*aStandalone*/,
- const NW_XML_Reader_Interval_t* aContent,
- void* aParser)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aParser;
- TPtrC aTarget( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
- if(aTag==XMLDECL)
- {
- TPtrC aData( (TUint16*)aReader->pBuf + aVersion->charStart, aVersion->charStop - aVersion->charStart );
- return (wObserver->GetContentHandler())->ProcessingInstructions(aTarget, aData)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
- }
- else
- {
- TPtrC aData( (TUint16*)aReader->pBuf + aContent->charStart, aContent->charStop - aContent->charStart );
- return (wObserver->GetContentHandler())->ProcessingInstructions(aTarget, aData)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
- }
-}
-
-
-// Binary Call backs
-
-// -----------------------------------------------------------------------------
-// Binary_StartDocument_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_StartDocument_CB (NW_WBXML_Parser_t* /*aParser*/,
- NW_WBXML_Document_t* /*aDocument*/,
- void * aContext)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->StartDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_EndDocument_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_EndDocument_CB(NW_WBXML_Parser_t* /*aParser*/,
- void * aContext)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->EndDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Pi_CB ?description.
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Pi_CB (NW_WBXML_Parser_t* /*aParser*/,
- void * aContext)
-{
- CXMLObserver* wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->ProcessingInstruction()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Pi_End_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Pi_End_CB (NW_WBXML_Parser_t* /*aParser*/,
- void* aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->ProcessingInstructionEnd()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Tag_Start_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Tag_Start_CB(NW_WBXML_Parser_t* /*aParser*/,
- void *aContext)
-{
-
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->TagStart()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Tag_End_CB ?description.
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Tag_End_CB(NW_WBXML_Parser_t* /*aParser*/,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->TagEnd()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Attr_Start_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Attr_Start_CB(NW_WBXML_Parser_t* /*aParser*/,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->AttributeStart()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Attr_Val_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Attr_Val_CB(NW_WBXML_Parser_t* /*aParser*/,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->AttributeValue()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Content_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Content_CB(NW_WBXML_Parser_t* /*aParser*/,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->Content()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_CodePage_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_CodePage_CB(NW_WBXML_Parser_t* /*aParser*/,
- void* aContext)
-{
- // Code page switch in WBXML doc
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->CodePageSwitch()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Extension_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Extension_CB(NW_WBXML_Parser_t* /*aParser*/,
- void* aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->Extension()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Token_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Token_CB(NW_WBXML_Parser_t* /*aParser*/,
- NW_Uint8 aToken,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- NW_String_UCS2Buff_t *wTemp = NW_WBXML_Dictionary_getTagByFqToken (aToken);
- TPtrC wString((TUint16*)wTemp);
- return (wObserver->GetBinaryContentHandler())->Token(aToken, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_FQToken_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_FQToken_CB(NW_WBXML_Parser_t* /*aParser*/,
- NW_Uint32 aFQToken,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- NW_Byte aToken = (NW_Byte) (aFQToken & NW_WBXML_MASK_TOKEN);
- if( (aToken & NW_WBXML_MASK_TAG_ID) != NW_WBXML_LITERAL)
- {
- NW_String_UCS2Buff_t *wTemp = NW_WBXML_Dictionary_getTagByFqToken(aFQToken);
- if(wTemp)
- {
- TPtrC wString((TUint16*)wTemp);
- return (wObserver->GetBinaryContentHandler())->Token(aToken, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
- }
- return NW_STAT_FAILURE;
- }
- return NW_STAT_SUCCESS;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_InlineString_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_InlineString_CB(NW_WBXML_Parser_t *aParser,
- NW_Uint32 /*aIndex*/,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- NW_String_t *tempString = NW_String_new();
- // handle OOM
- if(tempString == NULL)
- {
- return NW_STAT_FAILURE;
- }
- NW_WBXML_Document_t *doc = aParser->doc;
-
- NW_WBXML_Parser_getStringInline(aParser, doc, tempString);
-
- /**!
- * This was changed because of MNUI-68TAZP - German umlauts were displayed wrong.
- * This was caused by NW_String_byteToUCS2Char() function - this is not recognize utf-8 encoding and treats
- * all characters as a 1byte ASCII. In case of character encoded on more than 1 byte
- * we get two or more separate symbols instead of one compound of these bytes.
- * The CnvUtfConverter::ConvertToUnicodeFromUtf8() recognizes utf-8 properly.
-
- NW_Ucs2 *ucs2;
- NW_String_byteToUCS2Char(tempString->storage, ((*tempString).length) & ~0x80000000, &ucs2); //VC, AM
- // handle OOM
- if(ucs2 == NULL)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
- TPtrC wString((TUint16*)ucs2);
- NW_String_delete(tempString);
- */
-
- TPtrC8 string8(tempString->storage);
- HBufC *string16=NULL;
- TRAPD(err, string16 = HBufC::NewL(string8.Length()));
- if(err)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
- TPtr wString(string16->Des());
-
-#if defined(_UNICODE)
- err = CnvUtfConverter::ConvertToUnicodeFromUtf8(wString,string8);
- if(err != KErrNone)
- {
- NW_String_delete(tempString);
- delete string16;
- return NW_STAT_FAILURE;
- }
-#else
- wString.Copy(string8);
-#endif
-
- TInt result((wObserver->GetBinaryContentHandler())->InlineString(wString));
-
- NW_String_delete(tempString);
- delete string16;
-
- return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
-}
-
-// -----------------------------------------------------------------------------
-// Binary_TableString_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_TableString_CB(NW_WBXML_Parser_t *aParser,
- NW_Uint32 aIndex,
- void *aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- NW_String_t *tempString = NW_String_new();
- // handle OOM
- if(tempString == NULL)
- {
- return NW_STAT_FAILURE;
- }
- NW_WBXML_Document_t *doc = aParser->doc;
- NW_WBXML_Document_getTableString(doc, aIndex, tempString);
- /**!
- * This was changed because of MNUI-68TAZP - German umlauts were displayed wrong.
- * This was caused by NW_String_byteToUCS2Char() function - this is not recognize utf-8 encoding and treats
- * all characters as a 1byte ASCII. In case of character encoded on more than 1 byte
- * we get two or more separate symbols instead of one compound of these bytes.
- * The CnvUtfConverter::ConvertToUnicodeFromUtf8() recognizes utf-8 properly.
-
- NW_Ucs2 *ucs2;
- NW_String_byteToUCS2Char(tempString->storage, ((*tempString).length) & ~0x80000000, &ucs2); //VC, AM
- // handle OOM
- if(ucs2 == NULL)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
- TPtrC wString((TUint16*)ucs2);
- NW_String_delete(tempString);
- */
-
- TPtrC8 string8(tempString->storage);
- HBufC *string16=NULL;
- TRAPD(err, string16 = HBufC::NewL(string8.Length()));
- if(err)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
-
- TPtr wString(string16->Des());
-
-#if defined(_UNICODE)
- err = CnvUtfConverter::ConvertToUnicodeFromUtf8(wString,string8);
- if(err != KErrNone)
- {
- NW_String_delete(tempString);
- delete string16;
- return NW_STAT_FAILURE;
- }
-#else
- wString.Copy(string8);
-#endif
-
- TInt result((wObserver->GetBinaryContentHandler())->TableString(wString));
-
- NW_String_delete(tempString);
- delete string16;
-
- return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Binary_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Binary_CB(NW_WBXML_Parser_t* /*aParser*/,
- NW_Uint32 aIndex,
- void* aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->Binary(aIndex)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Opaque_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Opaque_CB(NW_WBXML_Parser_t *aParser,
- NW_Uint32 aLength,
- void * aContext)
-{
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- TPtrC wString((TUint16*)aParser->p, aLength);
- return (wObserver->GetBinaryContentHandler())->Opaque(aLength, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Entity_CB
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Entity_CB(NW_WBXML_Parser_t *aParser,
- NW_Uint32 aIndex,
- void* aContext)
-{
- NW_String_t *tempString = NW_String_new();
- // handle OOM
- if(tempString == NULL)
- {
- return NW_STAT_FAILURE;
- }
- NW_String_entityToString(aIndex, tempString, aParser->doc->charset);
- NW_Ucs2 *ucs2;
- NW_String_byteToUCS2Char(tempString->storage, tempString->length, &ucs2);
- // handle OOM
- if(ucs2 == NULL)
- {
- NW_String_delete(tempString);
- return NW_STAT_FAILURE;
- }
- TPtrC wString((TUint16*)ucs2);
- NW_String_delete(tempString);
-
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- TInt result((wObserver->GetBinaryContentHandler())->Entity(aIndex, wString));
- delete (void*)wString.Ptr();
-
- return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
-}
-
-// -----------------------------------------------------------------------------
-// Binary_Exception_CB For parse errors
-// -----------------------------------------------------------------------------
-//
-NW_Status_t Binary_Exception_CB(NW_WBXML_Parser_t* /*aParser*/,
- NW_WBXML_Exception_t /*aException*/,
- void* aContext)
-{
-
- CXMLObserver *wObserver = (CXMLObserver*)aContext;
- return (wObserver->GetBinaryContentHandler())->Exception()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
-}
-
-
-
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-
-// -----------------------------------------------------------------------------
-// CXMLReader::CXMLReader
-// C++ default constructor can NOT contain any code, that
-// might leave.
-// -----------------------------------------------------------------------------
-//
-CXMLReader::CXMLReader()
-{
-
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::ConstructL
-// Symbian 2nd phase constructor can leave.
-// -----------------------------------------------------------------------------
-//
-void CXMLReader::ConstructL()
-{
- iParserObserver = CXMLObserver::NewL();
- // Default parser = XML , not WBXML
- iIsBinary = FALSE;
-}
-
-// -----------------------------------------------------------------------------
-// ?classname::NewL
-// Two-phased constructor.
-// -----------------------------------------------------------------------------
-//
-CXMLReader* CXMLReader::NewL()
-{
- CXMLReader* self = new( ELeave ) CXMLReader();
-
- CleanupStack::PushL( self );
- self->ConstructL();
- CleanupStack::Pop();
-
- return self;
-}
-
-// Destructor
-CXMLReader::~CXMLReader()
-{
- if(iParserObserver)
- {
- delete iParserObserver;
- }
-
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetFeature
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
-{
- TInt wReturn;
- wReturn=0;
-
- switch(aFeature)
- {
- case EXMLBinary:
- iIsBinary = aStatus;
- wReturn = KErrNone;
- break;
- case EXMLValidation:
- wReturn = KErrNotSupported;
- break;
- default:
- wReturn = KErrNotSupported;
- break;
- }
- return wReturn;
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::GetFeature
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::GetFeature(TXMLFeature aFeature, TBool &aStatus)
-{
- TInt wReturn;
- wReturn=0;
-
- switch(aFeature)
- {
- case EXMLBinary:
- aStatus = iIsBinary;
- wReturn = KErrNone;
- break;
- case EXMLValidation:
- aStatus = FALSE;
- wReturn = KErrNotSupported;
- break;
- default:
- wReturn = KErrNotSupported;
- break;
- }
- return wReturn;
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetContentHandler
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::SetContentHandler(MXMLContentHandler* aParserObserver)
-{
- iParserObserver->SetContentHandler(aParserObserver);
- return KErrNone;
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetContentHandler
-// Set binary XML content handler
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::SetContentHandler(MWBXMLContentHandler* aParserObserver)
-{
- iParserObserver->SetContentHandler(aParserObserver);
- return KErrNone;
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::Parse
-// Reades the input file, and calls ParseL(RFile&).
-// @ exception can Leave due to OOM
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CXMLReader::ParseL(RFs& aRFs, const TDesC& aFileToParse)
-{
- RFile wXMLFile;
-
- //Open file
- User::LeaveIfError(wXMLFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly));
- CleanupClosePushL(wXMLFile);
- ParseL(wXMLFile);
- CleanupStack::PopAndDestroy(); // wXMLFile
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::Parse
-// Reades the input from the opened file into buffer, and calls RunL.
-// @ exception can Leave due to OOM
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CXMLReader::ParseL(RFile& aOpenedFile)
-{
- TInt wSize;
- User::LeaveIfError(aOpenedFile.Size(wSize));
-
- HBufC8 * binaryBuffer = HBufC8::NewLC(wSize);
- TPtr8 binaryBufferPtr = binaryBuffer->Des();
- User::LeaveIfError(aOpenedFile.Read(binaryBufferPtr, wSize));
-
- if(!iIsBinary)
- {
- TInt hichar = (CEditableText::EReversedByteOrderMark & 0xFF00)>>8;
- TInt lochar = CEditableText::EReversedByteOrderMark & 0xFF;
- TInt bytesPerChar = 1;
- if(binaryBufferPtr.Ptr()[0] == hichar && binaryBufferPtr.Ptr()[1] == lochar)
- {
- bytesPerChar = 2;
- }
-
- HBufC * dataBuffer = HBufC::NewLC(wSize/bytesPerChar);
- TPtr dataBufferPtr = dataBuffer->Des();
-
- if(bytesPerChar == 2)
- {
- dataBufferPtr.Set((TUint16*)binaryBufferPtr.Ptr()+1,
- wSize/bytesPerChar-1,
- wSize/bytesPerChar-1);
- }
- else
- {
- CnvUtfConverter::ConvertToUnicodeFromUtf8(dataBufferPtr, binaryBuffer->Des());
- }
- User::LeaveIfError(ParseXML(dataBufferPtr));
- CleanupStack::Pop(); // dataBuffer
- CleanupStack::PopAndDestroy(); // binaryBuffer
- delete dataBuffer;
- }
- else
- {
- User::LeaveIfError(ParseWBXML(binaryBufferPtr));
- CleanupStack::PopAndDestroy(); // binaryBuffer
- }
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::ParseL
-// Copies aBuff into input buffer and calls RunL
-// @ exception can Leave due to OOM
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-void CXMLReader::ParseL(const TDesC8& aBuff) // change the allocations
-{
-
-
- if(!iIsBinary)
- {
- HBufC * dataBuffer = HBufC::NewLC(aBuff.Size());
- TPtr dataBufferPtr = dataBuffer->Des();
- CnvUtfConverter::ConvertToUnicodeFromUtf8(dataBufferPtr, aBuff);
- User::LeaveIfError(ParseXML(dataBufferPtr));
- CleanupStack::PopAndDestroy(); // dataBuffer
- }
- else
- {
- User::LeaveIfError(ParseWBXML(aBuff));
- }
-}
-
-
-
-// -----------------------------------------------------------------------------
-// CXMLReader::ParseXML
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::ParseXML(const TDesC& aBuff)
-{
- NW_Status_t status;
- struct NW_XML_Parser_EventCallbacks_s cb;
- struct NW_XML_Reader_s reader;
-
- Mem::FillZ(&cb, sizeof(NW_XML_Parser_EventCallbacks_s));
-
- // cXML callbacks
- cb.StartDocument_CB = StartDocumentCB;
- cb.EndDocument_CB = EndDocumentCB;
- cb.Tag_Start_CB = BeginElementCB;
- cb.Attr_Start_CB = AttributeStartCB;
- cb.Attr_VarVal_CB = AttributeValueCB;
- cb.Attributes_End_CB = AttributesEndCB;
- cb.Tag_End_CB = EndElementCB;
- cb.Content_CB = ContentCB;
- cb.Cdata_CB = CdataCB;
- cb.Comment_CB = CommentCB;
- cb.PiForm_CB = PiCB;
- cb.pClientPointer = (void*)iParserObserver;
- cb.Entity_CB = EntityCB;
- cb.Attr_Entity_VarVal_CB = AttrEntityVarValCB;
-
- // Remove whitespace from beginning
- TInt start(aBuff.Locate('<'));
-
- if (start == -1)
- {
- return KErrParseFailed;
- }
-
- status = NW_XML_Reader_InitFromBuffer(&reader, aBuff.Right(aBuff.Length()-start).Size(),
- (unsigned char*)aBuff.Right(aBuff.Length()-start).Ptr());
- NW_XML_Reader_SetEncoding(&reader, HTTP_iso_10646_ucs_2);
-
- // parse it!
- status = NW_XML_Parse(&reader, &cb);
-
- ASSERT(!(reader.length % 2));
- TPtrC16 wChar((const TUint16*)reader.pBuf, reader.length / 2);
- MXMLContentHandler* aContentHandler = iParserObserver->GetContentHandler();
- aContentHandler->DataBuffer(wChar);
-
-
- if (!NW_STAT_IS_SUCCESS(status))
- {
- return KErrParseFailed;
- }
- return KErrNone;
-}
-
-// -----------------------------------------------------------------------------
-// CXMLReader::ParseWBXML
-//
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-TInt CXMLReader::ParseWBXML(const TDesC8& aBuff)
-{
- // WBXML CallBacks
- struct NW_WBXML_EventHandler_s binaryCB;
-
- Mem::FillZ(&binaryCB, sizeof(NW_WBXML_EventHandler_s));
-
- // State change events
- binaryCB.StartDocument_CB = Binary_StartDocument_CB;
- binaryCB.EndDocument_CB = Binary_EndDocument_CB;
- binaryCB.Pi_CB = Binary_Pi_CB;
- binaryCB.Pi_End_CB = Binary_Pi_End_CB;
- binaryCB.Tag_Start_CB = Binary_Tag_Start_CB;
- binaryCB.Tag_End_CB = Binary_Tag_End_CB;
- binaryCB.Attr_Start_CB = Binary_Attr_Start_CB;
- binaryCB.Attr_Val_CB = Binary_Attr_Val_CB;
- binaryCB.Content_CB = Binary_Content_CB;
- binaryCB.CodePage_CB = Binary_CodePage_CB;
- binaryCB.Extension_CB = Binary_Extension_CB;
- // Handle data types
- binaryCB.Token_CB = Binary_Token_CB;
- binaryCB.FQToken_CB = Binary_FQToken_CB;
- binaryCB.InlineString_CB = Binary_InlineString_CB;
- binaryCB.TableString_CB = Binary_TableString_CB;
- binaryCB.Binary_CB = Binary_Binary_CB;
- binaryCB.Opaque_CB = Binary_Opaque_CB;
- binaryCB.Entity_CB = Binary_Entity_CB;
- // For parse errors
- binaryCB.Exception_CB = Binary_Exception_CB;
-
- // init dictionarys
- NW_WBXML_Dictionary_t *dictionaries[DICTIONARY_COUNT];
- dictionaries[0] = (NW_WBXML_Dictionary_t *)&NW_SyncML_1_0_WBXMLDictionary;
- dictionaries[1] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_0_WBXMLDictionary;
- dictionaries[2] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_1_WBXMLDictionary;
- dictionaries[3] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_2_WBXMLDictionary;
- dictionaries[4] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_3_WBXMLDictionary;
- dictionaries[5] = (NW_WBXML_Dictionary_t *)&NW_XHTML_WBXMLDictionary;
- dictionaries[6] = (NW_WBXML_Dictionary_t *)&NW_SL_WBXMLDictionary;
-// dictionaries[7] = (NW_WBXML_Dictionary_t *)&SL_dictionary;
-// dictionaries[8] = (NW_WBXML_Dictionary_t *)&NW_wap_prov_doc_WBXMLDictionary;
-// dictionaries[9] = (NW_WBXML_Dictionary_t *)&push_nokprov_dictionary;
-
- if ((NW_WBXML_Dictionary_initialize (DICTIONARY_COUNT, dictionaries)) != NW_STAT_SUCCESS)
- {
- return KErrDictionaryInitFailed;
- }
-
- NW_Status_t status;
-
- // create parser
- NW_WBXML_Parser_t *parser = (NW_WBXML_Parser_t*)User::Alloc(sizeof(NW_WBXML_Parser_t));
- if(parser == NULL)
- {
- NW_WBXML_Dictionary_destroy();
- return KErrParseFailed;
- }
- NW_WBXML_Parser_newInPlace(parser);
-
- // create document
- NW_WBXML_Document_t *doc = (NW_WBXML_Document_t*)User::Alloc(sizeof(NW_WBXML_Document_t));
- if(doc == NULL)
- {
- NW_WBXML_Dictionary_destroy();
- User::Free(parser);
- parser = NULL;
- return KErrParseFailed;
- }
- status = NW_WBXML_Document_construct(doc, SL_1_0_PUBLIC_ID);
- if(status != NW_STAT_SUCCESS)
- {
- NW_WBXML_Dictionary_destroy();
- User::Free(parser);
- parser = NULL;
- User::Free(doc);
- doc = NULL;
- return KErrParseFailed;
- }
-
-
- status =NW_WBXML_Parser_registerHandler(parser, &binaryCB, (void*)iParserObserver);
-
-
- if (status == NW_STAT_SUCCESS)
- {
- status = NW_WBXML_Parser_parseBuffer(parser, doc, (NW_Byte*)aBuff.Ptr(), (NW_Uint32)aBuff.Length());
- }
-
- NW_WBXML_Dictionary_destroy();
-
- User::Free(parser);
- parser = NULL;
- NW_WBXML_Document_destruct(doc);
- User::Free(doc);
- doc = NULL;
- if(status != NW_STAT_SUCCESS)
- {
- return KErrParseFailed;
- }
- return KErrNone;
-}
-
-// End of File
--- a/xml/xmlparser/src/RXMLReader.cpp Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,135 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: ?Description
-*
-*/
-
-
-
-// INCLUDE FILES
-#include <xml/RXMLReader.h>
-#include "CXMLReader.h"
-
-
-
-// requirement for E32 DLLs
-
-// ============================ MEMBER FUNCTIONS ===============================
-
-
-// -----------------------------------------------------------------------------
-// RXMLReader::CreateL()
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::CreateL()
- {
- iImplementation = CXMLReader::NewL();
- }
-
-
-
-// -----------------------------------------------------------------------------
-// RXMLReader::Destroy()
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::Destroy()
- {
- if(iImplementation)
- {
- delete iImplementation;
- iImplementation=NULL;
- }
- }
-
-// -----------------------------------------------------------------------------
-// RXMLReader::Destroy()
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::Close()
- {
- Destroy();
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetFeature
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TInt RXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
- {
- return iImplementation->SetFeature(aFeature, aStatus);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::GetFeature
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TInt RXMLReader::GetFeature(TXMLFeature aFeature, TBool& aStatus)
- {
- return iImplementation->GetFeature(aFeature, aStatus);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetContentHandler
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TInt RXMLReader::SetContentHandler(MXMLContentHandler* aParserObserver)
- {
- return iImplementation->SetContentHandler(aParserObserver);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::SetContentHandler
-// Set binary XML content handler
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C TInt RXMLReader::SetContentHandler(MWBXMLContentHandler* aParserObserver)
- {
- return iImplementation->SetContentHandler(aParserObserver);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::Parse
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::ParseL(RFs &aRFs, const TDesC& aFileToParse)
- {
- iImplementation->ParseL(aRFs, aFileToParse);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::Parse
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::ParseL(const TDesC8& aBuff)
- {
- iImplementation->ParseL(aBuff);
- }
-
-// -----------------------------------------------------------------------------
-// CXMLReader::Parse
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
-EXPORT_C void RXMLReader::ParseL(RFile& aOpenedFile)
- {
- iImplementation->ParseL(aOpenedFile);
- }
-
-// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/src/cxmlattributes.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,220 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+// INCLUDE FILES
+#include "cxmlattributes.h"
+
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::CXMLAttributes()
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CXMLAttributes::CXMLAttributes()
+ {
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CXMLAttributes::ConstructL()
+ {
+ iDescAttName = new (ELeave) CDesCArraySeg(1);
+ iDescAttValue = new (ELeave) CDesCArraySeg(1);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CXMLAttributes* CXMLAttributes::NewL()
+ {
+ CXMLAttributes* self = new( ELeave ) CXMLAttributes;
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::~CXMLAttributes()
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CXMLAttributes::~CXMLAttributes()
+ {
+ if(iDescAttName)
+ {
+ delete iDescAttName;
+ }
+
+ if(iDescAttValue)
+ {
+ delete iDescAttValue;
+ }
+
+ }
+
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetIndex
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLAttributes::GetIndex(TDesC& aName)
+ {
+
+ TInt wIndex = 0;
+ if(iDescAttName->Find(aName,wIndex) != KErrNone)
+ {
+ return KErrNotFound;
+ }
+ else
+ {
+ return wIndex;
+ }
+
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetLength
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLAttributes::GetLength()
+ {
+ return iDescAttName->Count();
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetName
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TPtrC CXMLAttributes::GetName(TInt aIndex)
+ {
+ if(aIndex > iDescAttName->Count() || aIndex < 0)
+ {
+ TPtrC wEmpty = _L(" ");
+ return wEmpty;
+ }
+ return iDescAttName->MdcaPoint(aIndex);
+
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetValue
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TPtrC CXMLAttributes::GetValue(TDesC& aName)
+ {
+ TInt wPos = GetIndex(aName);
+
+ if (wPos < 0)
+ {
+ TPtrC wEmpty = _L(" ");
+ return wEmpty;
+ }
+ return iDescAttValue->MdcaPoint(wPos);
+
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetValue
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TPtrC CXMLAttributes::GetValue(TInt& aIndex)
+ {
+ if(aIndex > iDescAttName->Count() || aIndex < 0)
+ {
+ TPtrC wEmpty = _L(" ");
+ return wEmpty;
+ }
+ return iDescAttValue->MdcaPoint(aIndex);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetType
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+/// R&D: Feature: GetType missing from Attributes
+TPtrC CXMLAttributes::GetType(TInt /*aIndex*/)
+ {
+ TPtrC wType = _L(" ");
+ return(wType);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::GetType
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+// R&D: Feature: GetType missing from Attributes
+TPtrC CXMLAttributes::GetType(TDesC& /*aName*/)
+ {
+ TPtrC wType = _L(" ");
+ return wType;
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::Append
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CXMLAttributes::AppendL(const TDesC& aName, const TDesC& aValue)
+ {
+ if ( iDescAttName && iDescAttValue )
+ {
+ iDescAttName->AppendL(aName);
+ iDescAttValue->AppendL(aValue);
+ }
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLAttributes::Reset()
+// Resets attribute Name and Value arrays
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CXMLAttributes::Reset()
+ {
+ iDescAttName->Reset();
+ iDescAttValue->Reset();
+ }
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/src/cxmlobserver.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,168 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+#include "cxmlobserver.h"
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::CXMLObserver
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CXMLObserver::CXMLObserver()
+ {
+
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CXMLObserver::ConstructL()
+ {
+ iCurrentAttribute = new(ELeave) TPtrC();
+ iAttributes = CXMLAttributes::NewL();
+ iDescElements = new (ELeave) CDesCArraySeg(1);
+ iNSextensions = new (ELeave) CDesCArraySeg(1);
+ iURIs = new (ELeave) CDesCArraySeg(1);
+ iContentHandler = NULL;
+ iBinaryContentHandler = NULL;
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CXMLObserver* CXMLObserver::NewL()
+ {
+ CXMLObserver* self = new( ELeave ) CXMLObserver();
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop();
+
+ return self;
+ }
+
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::~CXMLObserver
+// Destructor.
+// -----------------------------------------------------------------------------
+//
+CXMLObserver::~CXMLObserver()
+ {
+ if (iCurrentAttribute)
+ {
+ delete iCurrentAttribute;
+ }
+ if(iAttributes)
+ {
+ delete iAttributes;
+ }
+ if(iDescElements)
+ {
+ delete iDescElements;
+ }
+ if(iNSextensions)
+ {
+ delete iNSextensions;
+ }
+ if(iURIs)
+ {
+ delete iURIs;
+ }
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::SetElement
+//
+// -----------------------------------------------------------------------------
+//
+void CXMLObserver::SetElementL(const TPtrC &aName)
+{
+ if(iDescElements)
+ {
+ iDescElements->AppendL(aName);
+ }
+}
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::GetElement
+//
+// -----------------------------------------------------------------------------
+//
+TPtrC CXMLObserver::GetElement() const
+{
+ TInt wIndex = iDescElements->Count()-1;
+ if(wIndex < 0)
+ {
+ TPtrC wEmpty = _L(" ");
+ return wEmpty;
+
+ }
+ return iDescElements->MdcaPoint(wIndex);
+}
+
+// -----------------------------------------------------------------------------
+// CXMLObserver::GetElement
+//
+// -----------------------------------------------------------------------------
+//
+void CXMLObserver::RemoveElement()
+{
+ TInt wIndex = iDescElements->Count()-1;
+ if(wIndex > -1)
+ {
+ iDescElements->Delete(wIndex);
+ iDescElements->Compress();
+ }
+}
+
+void CXMLObserver::SetURIL(const TPtrC &aURI, const TPtrC &aNSextension)
+{
+ iNSextensions->AppendL(aNSextension);
+ iURIs->AppendL(aURI);
+}
+
+TPtrC CXMLObserver::GetURI(const TPtrC &aNSextension) const
+{
+ TInt wIndex = 0;
+ TInt wRes = 0;
+
+ wRes = iNSextensions->Find(aNSextension,wIndex);
+ if(wRes != 0)
+ {
+ TPtrC wEmpty = _L(" ");
+ return wEmpty;
+ }
+ return iURIs->MdcaPoint(wIndex);
+}
+void CXMLObserver::ResetURI()
+{
+ iNSextensions->Reset();
+ iURIs->Reset();
+}
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/src/cxmlreader.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,1123 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+// INCLUDE FILES
+#include "cxmlreader.h"
+
+
+/* Dictionar Public ID's */
+#define WML_1_1_PUBLIC_ID 4
+#define WML_1_2_PUBLIC_ID 9
+#define WML_1_3_PUBLIC_ID 10
+#define XHTML_1_0_PUBLIC_ID 55
+#define SYNCML_1_0_PUBLIC_ID 0xFD1
+#define WAP_PROV_1_0_PUBLIC_ID 11
+#define SI_1_0_PUBLIC_ID 5
+#define SL_1_0_PUBLIC_ID 6
+#define PUSH_PROV_1_0_PUBLIC_ID 1
+extern "C"
+{
+ extern NW_WBXML_Dictionary_t NW_Wml_1_0_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_Wml_1_1_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_Wml_1_2_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_Wml_1_3_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_XHTML_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_SyncML_1_0_WBXMLDictionary;
+ extern NW_WBXML_Dictionary_t NW_SL_WBXMLDictionary;
+// extern NW_WBXML_Dictionary_t NW_wap_prov_doc_WBXMLDictionary;
+// extern NW_WBXML_Dictionary_t SI_dictionary;
+// extern NW_WBXML_Dictionary_t SL_dictionary;
+// extern NW_WBXML_Dictionary_t push_nokprov_dictionary;
+}
+#define DICTIONARY_COUNT 7
+
+
+// ============================= LOCAL FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// BeginElementCB
+// BeginElement callback, stores elemntname in elemntlist
+// -----------------------------------------------------------------------------
+//
+NW_Status_t BeginElementCB(NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ void* aParser)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aParser;
+ TPtrC wElementName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ TRAPD(error, wObserver->SetElementL(wElementName));
+ if(error)
+ {
+ (wObserver->GetAttributes())->Reset();
+ return NW_STAT_FAILURE;
+ }
+ // New element, reset attributes list
+ (wObserver->GetAttributes())->Reset();
+ return NW_STAT_SUCCESS;
+}
+
+// -----------------------------------------------------------------------------
+// EndElementCB. calls MXMLContentHandler::EndElement with elemntname,
+// removes closed element from elemntlist.
+// -----------------------------------------------------------------------------
+//
+NW_Status_t EndElementCB(NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ NW_Uint32 /*aEmpFlag*/,
+ void* aParser)
+{
+ _LIT(KEmpty,"");
+ TPtrC wEmpty(KEmpty);
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ wObserver->RemoveElement();
+ MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
+ TPtrC aElementName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ TInt result = aContentHandler->EndElement(wEmpty, wEmpty, aElementName);
+ aContentHandler->ReaderIndex( aReader->charIndex );
+ return result ? NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// AttributesStartCB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t AttributeStartCB (NW_XML_Reader_t*,
+ const NW_XML_Reader_Interval_t* /*pI_name*/,
+ void*)
+{
+ return NW_STAT_SUCCESS;
+}
+
+// -----------------------------------------------------------------------------
+// AttreibuteValueCB Adds new attribute to attributes list.
+// Adds URI to URI list if namespaces is used
+// -----------------------------------------------------------------------------
+//
+NW_Status_t AttributeValueCB(NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ const NW_XML_Reader_Interval_t* aValue,
+ void* aParser)
+{
+ _LIT(KNamespace,"xmlns:");
+ TPtrC wNamespace(KNamespace);
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ CXMLAttributes* wAttr = wObserver->GetAttributes();
+
+ // Append new attribute to attributes list
+ TPtrC wAttributeName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ TPtrC wAttributeValue( (TUint16*)aReader->pBuf + aValue->charStart, aValue->charStop - aValue->charStart );
+ TRAPD(error,wAttr->AppendL(wAttributeName, wAttributeValue));
+ if(error)
+ {
+ return NW_STAT_FAILURE;
+ }
+ // namespace declaration, store URI and extension
+ if(wAttributeName.Left(6).Match(wNamespace)!=KErrNotFound)
+ {
+ TPtrC wExtension = wAttributeName.Right(wAttributeName.Length()-6);
+ TRAP(error, wObserver->SetURIL(wAttributeValue, wExtension));
+ if(error)
+ {
+ return NW_STAT_FAILURE;
+ }
+ }
+ return NW_STAT_SUCCESS;
+}
+
+// -----------------------------------------------------------------------------
+// AttributesEndCB Calls MXMLContentHandler::StartElement with element name and
+// attributes list.
+// -----------------------------------------------------------------------------
+//
+NW_Status_t AttributesEndCB(NW_XML_Reader_t* /*aReader*/,
+ NW_Uint32 /*aLength*/,
+ void* aParser)
+{
+ _LIT(KLocalName,"");
+ TPtrC wLocalName(KLocalName);
+ _LIT(KURI,"");
+ TPtrC wURI(KURI);
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ MXMLContentHandler* wContentHandler = wObserver->GetContentHandler();
+
+ TPtrC wElementName = wObserver->GetElement();
+ CXMLAttributes* wAttributes = wObserver->GetAttributes();
+
+ // if using namespace, get URI and localname
+ TInt wIndex = wElementName.Locate(':');
+ if(wIndex > 0)
+ {
+ wLocalName.Set(wElementName.Right(wElementName.Length()-wIndex-1));
+ TPtrC temp = wElementName.Left(wIndex);
+ wURI.Set(wObserver->GetURI(temp));
+ }
+ // Call StartElement, now that we have all the attributes
+ return wContentHandler->StartElement(wURI, wLocalName, wElementName, wAttributes) ? NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// CDataCB Reports actual CData as MXMLContentHandler::Characters (between
+// MXMLContentHandler::StartCData and MXMLContentHandler::EndCData
+// -----------------------------------------------------------------------------
+//
+NW_Status_t CdataCB (NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ void* aParser)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
+ TPtrC wChar( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+
+ aContentHandler->StartCDATA();
+ aContentHandler->Charecters( wChar, aName->charStart, (aName->charStop - aName->charStart) );
+ return aContentHandler->EndCDATA()? NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// ContentCB Content reported as MXMLContentHandler::Characters
+// -----------------------------------------------------------------------------
+//
+NW_Status_t ContentCB (NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aValue,
+ void* aParser)
+{
+
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ TPtrC wChar( (TUint16*)aReader->pBuf + aValue->charStart, aValue->charStop - aValue->charStart );
+
+ MXMLContentHandler* aContentHandler = wObserver->GetContentHandler();
+
+ return (aContentHandler->Charecters(wChar, aValue->charStart, (aValue->charStop - aValue->charStart)))?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+
+// -----------------------------------------------------------------------------
+// AttrEntityVarValCB Adds new attribute to attributes list.
+// Adds URI to URI list if namespaces is used
+// -----------------------------------------------------------------------------
+//
+NW_Status_t AttrEntityVarValCB (NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ NW_Uint8* aValue,
+ NW_Uint32 aValueByteLength,
+ void* aParser)
+ {
+ _LIT(KNamespace, "xmlns:");
+ TPtrC wNamespace(KNamespace);
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ CXMLAttributes* wAttr = wObserver->GetAttributes();
+
+ // Append new attribute to attributes list
+ TPtrC wAttributeName( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ TPtrC wAttributeValue( (TUint16*)aValue, aValueByteLength/2 );
+
+ TRAPD(error,wAttr->AppendL(wAttributeName, wAttributeValue));
+ if(error)
+ {
+ return NW_STAT_FAILURE;
+ }
+
+ // namespace declaration, store URI and extension
+ if(wAttributeName.Left(6).Match(wNamespace)!=KErrNotFound)
+ {
+ TPtrC wExtension = wAttributeName.Right(wAttributeName.Length()-6);
+ TRAP(error, wObserver->SetURIL(wAttributeValue, wExtension));
+ if(error)
+ {
+ return NW_STAT_FAILURE;
+ }
+ }
+ return NW_STAT_SUCCESS;
+ }
+
+
+// -----------------------------------------------------------------------------
+// EntityCB Entity reported as MXMLContentHandler::StartEntity
+// -----------------------------------------------------------------------------
+//
+NW_Status_t EntityCB (NW_XML_Reader_t* aReader,
+ NW_Uint32 aNumEntity,
+ void* aParser,
+ CXML_Uint8* aIntEntityValStr)
+{
+
+ CXMLObserver *wObserver = (CXMLObserver*)aParser;
+
+ NW_String_t *tempString = NW_String_new();
+ // handle OOM
+ if(tempString == NULL)
+ {
+ return NW_STAT_FAILURE;
+ }
+
+ if(aIntEntityValStr == NULL)
+ {
+ //It is character/predefined entities
+ NW_String_entityToString(aNumEntity, tempString, aReader->encoding);
+ }
+
+ if(aIntEntityValStr != NULL)
+ {
+ //It is the internal entity
+ tempString->storage = aIntEntityValStr;
+ }
+
+ TPtrC wTmpEntityPtr((TUint16*)tempString->storage);
+ TInt result(wObserver->GetContentHandler()->StartEntity(wTmpEntityPtr));
+
+ if (result == 0)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+ result = wObserver->GetContentHandler()->EndEntity(wTmpEntityPtr);
+ NW_String_delete(tempString);
+
+ return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
+
+}
+
+// -----------------------------------------------------------------------------
+// CommentCB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t CommentCB (NW_XML_Reader_t* aReader,
+ const NW_XML_Reader_Interval_t* aName,
+ void* aParser )
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ TPtrC wComment( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ return (wObserver->GetContentHandler())->Comment(wComment)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// StartDocumentCB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t StartDocumentCB (NW_XML_Reader_t* /*aReader*/,
+ void* aParser )
+
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ return (wObserver->GetContentHandler())->StartDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+
+}
+
+// -----------------------------------------------------------------------------
+// EndDocumentCB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t EndDocumentCB (NW_XML_Reader_t* /*aReader*/,
+ void* aParser)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ return (wObserver->GetContentHandler())->EndDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// PiCB Report Processing Instruction with MXMLProcessingInstruction(Target, Data)
+// -----------------------------------------------------------------------------
+//
+NW_Status_t PiCB (NW_XML_Reader_t* aReader,
+ NW_PiFormTypeTag_t aTag,
+ const NW_XML_Reader_Interval_t* aName,
+ const NW_XML_Reader_Interval_t* aVersion,
+ const NW_XML_Reader_Interval_t* /*aEncoding*/,
+ const NW_XML_Reader_Interval_t* /*aStandalone*/,
+ const NW_XML_Reader_Interval_t* aContent,
+ void* aParser)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aParser;
+ TPtrC aTarget( (TUint16*)aReader->pBuf + aName->charStart, aName->charStop - aName->charStart );
+ if(aTag==XMLDECL)
+ {
+ TPtrC aData( (TUint16*)aReader->pBuf + aVersion->charStart, aVersion->charStop - aVersion->charStart );
+ return (wObserver->GetContentHandler())->ProcessingInstructions(aTarget, aData)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+ }
+ else
+ {
+ TPtrC aData( (TUint16*)aReader->pBuf + aContent->charStart, aContent->charStop - aContent->charStart );
+ return (wObserver->GetContentHandler())->ProcessingInstructions(aTarget, aData)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+ }
+}
+
+
+// Binary Call backs
+
+// -----------------------------------------------------------------------------
+// Binary_StartDocument_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_StartDocument_CB (NW_WBXML_Parser_t* /*aParser*/,
+ NW_WBXML_Document_t* /*aDocument*/,
+ void * aContext)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->StartDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_EndDocument_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_EndDocument_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void * aContext)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->EndDocument()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Pi_CB ?description.
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Pi_CB (NW_WBXML_Parser_t* /*aParser*/,
+ void * aContext)
+{
+ CXMLObserver* wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->ProcessingInstruction()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Pi_End_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Pi_End_CB (NW_WBXML_Parser_t* /*aParser*/,
+ void* aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->ProcessingInstructionEnd()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Tag_Start_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Tag_Start_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void *aContext)
+{
+
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->TagStart()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Tag_End_CB ?description.
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Tag_End_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->TagEnd()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Attr_Start_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Attr_Start_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->AttributeStart()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Attr_Val_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Attr_Val_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->AttributeValue()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Content_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Content_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->Content()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_CodePage_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_CodePage_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void* aContext)
+{
+ // Code page switch in WBXML doc
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->CodePageSwitch()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Extension_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Extension_CB(NW_WBXML_Parser_t* /*aParser*/,
+ void* aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->Extension()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Token_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Token_CB(NW_WBXML_Parser_t* /*aParser*/,
+ NW_Uint8 aToken,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ NW_String_UCS2Buff_t *wTemp = NW_WBXML_Dictionary_getTagByFqToken (aToken);
+ TPtrC wString((TUint16*)wTemp);
+ return (wObserver->GetBinaryContentHandler())->Token(aToken, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_FQToken_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_FQToken_CB(NW_WBXML_Parser_t* /*aParser*/,
+ NW_Uint32 aFQToken,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ NW_Byte aToken = (NW_Byte) (aFQToken & NW_WBXML_MASK_TOKEN);
+ if( (aToken & NW_WBXML_MASK_TAG_ID) != NW_WBXML_LITERAL)
+ {
+ NW_String_UCS2Buff_t *wTemp = NW_WBXML_Dictionary_getTagByFqToken(aFQToken);
+ if(wTemp)
+ {
+ TPtrC wString((TUint16*)wTemp);
+ return (wObserver->GetBinaryContentHandler())->Token(aToken, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+ }
+ return NW_STAT_FAILURE;
+ }
+ return NW_STAT_SUCCESS;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_InlineString_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_InlineString_CB(NW_WBXML_Parser_t *aParser,
+ NW_Uint32 /*aIndex*/,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ NW_String_t *tempString = NW_String_new();
+ // handle OOM
+ if(tempString == NULL)
+ {
+ return NW_STAT_FAILURE;
+ }
+ NW_WBXML_Document_t *doc = aParser->doc;
+
+ NW_WBXML_Parser_getStringInline(aParser, doc, tempString);
+
+ /**!
+ * This was changed because of MNUI-68TAZP - German umlauts were displayed wrong.
+ * This was caused by NW_String_byteToUCS2Char() function - this is not recognize utf-8 encoding and treats
+ * all characters as a 1byte ASCII. In case of character encoded on more than 1 byte
+ * we get two or more separate symbols instead of one compound of these bytes.
+ * The CnvUtfConverter::ConvertToUnicodeFromUtf8() recognizes utf-8 properly.
+
+ NW_Ucs2 *ucs2;
+ NW_String_byteToUCS2Char(tempString->storage, ((*tempString).length) & ~0x80000000, &ucs2); //VC, AM
+ // handle OOM
+ if(ucs2 == NULL)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+ TPtrC wString((TUint16*)ucs2);
+ NW_String_delete(tempString);
+ */
+
+ TPtrC8 string8(tempString->storage);
+ HBufC *string16=NULL;
+ TRAPD(err, string16 = HBufC::NewL(string8.Length()));
+ if(err)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+ TPtr wString(string16->Des());
+
+#if defined(_UNICODE)
+ err = CnvUtfConverter::ConvertToUnicodeFromUtf8(wString,string8);
+ if(err != KErrNone)
+ {
+ NW_String_delete(tempString);
+ delete string16;
+ return NW_STAT_FAILURE;
+ }
+#else
+ wString.Copy(string8);
+#endif
+
+ TInt result((wObserver->GetBinaryContentHandler())->InlineString(wString));
+
+ NW_String_delete(tempString);
+ delete string16;
+
+ return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
+}
+
+// -----------------------------------------------------------------------------
+// Binary_TableString_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_TableString_CB(NW_WBXML_Parser_t *aParser,
+ NW_Uint32 aIndex,
+ void *aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ NW_String_t *tempString = NW_String_new();
+ // handle OOM
+ if(tempString == NULL)
+ {
+ return NW_STAT_FAILURE;
+ }
+ NW_WBXML_Document_t *doc = aParser->doc;
+ NW_WBXML_Document_getTableString(doc, aIndex, tempString);
+ /**!
+ * This was changed because of MNUI-68TAZP - German umlauts were displayed wrong.
+ * This was caused by NW_String_byteToUCS2Char() function - this is not recognize utf-8 encoding and treats
+ * all characters as a 1byte ASCII. In case of character encoded on more than 1 byte
+ * we get two or more separate symbols instead of one compound of these bytes.
+ * The CnvUtfConverter::ConvertToUnicodeFromUtf8() recognizes utf-8 properly.
+
+ NW_Ucs2 *ucs2;
+ NW_String_byteToUCS2Char(tempString->storage, ((*tempString).length) & ~0x80000000, &ucs2); //VC, AM
+ // handle OOM
+ if(ucs2 == NULL)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+ TPtrC wString((TUint16*)ucs2);
+ NW_String_delete(tempString);
+ */
+
+ TPtrC8 string8(tempString->storage);
+ HBufC *string16=NULL;
+ TRAPD(err, string16 = HBufC::NewL(string8.Length()));
+ if(err)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+
+ TPtr wString(string16->Des());
+
+#if defined(_UNICODE)
+ err = CnvUtfConverter::ConvertToUnicodeFromUtf8(wString,string8);
+ if(err != KErrNone)
+ {
+ NW_String_delete(tempString);
+ delete string16;
+ return NW_STAT_FAILURE;
+ }
+#else
+ wString.Copy(string8);
+#endif
+
+ TInt result((wObserver->GetBinaryContentHandler())->TableString(wString));
+
+ NW_String_delete(tempString);
+ delete string16;
+
+ return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Binary_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Binary_CB(NW_WBXML_Parser_t* /*aParser*/,
+ NW_Uint32 aIndex,
+ void* aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->Binary(aIndex)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Opaque_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Opaque_CB(NW_WBXML_Parser_t *aParser,
+ NW_Uint32 aLength,
+ void * aContext)
+{
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ TPtrC wString((TUint16*)aParser->p, aLength);
+ return (wObserver->GetBinaryContentHandler())->Opaque(aLength, wString)?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Entity_CB
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Entity_CB(NW_WBXML_Parser_t *aParser,
+ NW_Uint32 aIndex,
+ void* aContext)
+{
+ NW_String_t *tempString = NW_String_new();
+ // handle OOM
+ if(tempString == NULL)
+ {
+ return NW_STAT_FAILURE;
+ }
+ NW_String_entityToString(aIndex, tempString, aParser->doc->charset);
+ NW_Ucs2 *ucs2;
+ NW_String_byteToUCS2Char(tempString->storage, tempString->length, &ucs2);
+ // handle OOM
+ if(ucs2 == NULL)
+ {
+ NW_String_delete(tempString);
+ return NW_STAT_FAILURE;
+ }
+ TPtrC wString((TUint16*)ucs2);
+ NW_String_delete(tempString);
+
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ TInt result((wObserver->GetBinaryContentHandler())->Entity(aIndex, wString));
+ delete (void*)wString.Ptr();
+
+ return (result?NW_STAT_SUCCESS:NW_STAT_FAILURE);
+}
+
+// -----------------------------------------------------------------------------
+// Binary_Exception_CB For parse errors
+// -----------------------------------------------------------------------------
+//
+NW_Status_t Binary_Exception_CB(NW_WBXML_Parser_t* /*aParser*/,
+ NW_WBXML_Exception_t /*aException*/,
+ void* aContext)
+{
+
+ CXMLObserver *wObserver = (CXMLObserver*)aContext;
+ return (wObserver->GetBinaryContentHandler())->Exception()?NW_STAT_SUCCESS:NW_STAT_FAILURE;
+}
+
+
+
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+
+// -----------------------------------------------------------------------------
+// CXMLReader::CXMLReader
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CXMLReader::CXMLReader()
+{
+
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CXMLReader::ConstructL()
+{
+ iParserObserver = CXMLObserver::NewL();
+ // Default parser = XML , not WBXML
+ iIsBinary = FALSE;
+}
+
+// -----------------------------------------------------------------------------
+// ?classname::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+CXMLReader* CXMLReader::NewL()
+{
+ CXMLReader* self = new( ELeave ) CXMLReader();
+
+ CleanupStack::PushL( self );
+ self->ConstructL();
+ CleanupStack::Pop();
+
+ return self;
+}
+
+// Destructor
+CXMLReader::~CXMLReader()
+{
+ if(iParserObserver)
+ {
+ delete iParserObserver;
+ }
+
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetFeature
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
+{
+ TInt wReturn;
+ wReturn=0;
+
+ switch(aFeature)
+ {
+ case EXMLBinary:
+ iIsBinary = aStatus;
+ wReturn = KErrNone;
+ break;
+ case EXMLValidation:
+ wReturn = KErrNotSupported;
+ break;
+ default:
+ wReturn = KErrNotSupported;
+ break;
+ }
+ return wReturn;
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::GetFeature
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::GetFeature(TXMLFeature aFeature, TBool &aStatus)
+{
+ TInt wReturn;
+ wReturn=0;
+
+ switch(aFeature)
+ {
+ case EXMLBinary:
+ aStatus = iIsBinary;
+ wReturn = KErrNone;
+ break;
+ case EXMLValidation:
+ aStatus = FALSE;
+ wReturn = KErrNotSupported;
+ break;
+ default:
+ wReturn = KErrNotSupported;
+ break;
+ }
+ return wReturn;
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetContentHandler
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::SetContentHandler(MXMLContentHandler* aParserObserver)
+{
+ iParserObserver->SetContentHandler(aParserObserver);
+ return KErrNone;
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetContentHandler
+// Set binary XML content handler
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::SetContentHandler(MWBXMLContentHandler* aParserObserver)
+{
+ iParserObserver->SetContentHandler(aParserObserver);
+ return KErrNone;
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::Parse
+// Reades the input file, and calls ParseL(RFile&).
+// @ exception can Leave due to OOM
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CXMLReader::ParseL(RFs& aRFs, const TDesC& aFileToParse)
+{
+ RFile wXMLFile;
+
+ //Open file
+ User::LeaveIfError(wXMLFile.Open(aRFs, aFileToParse, EFileRead | EFileShareReadersOnly));
+ CleanupClosePushL(wXMLFile);
+ ParseL(wXMLFile);
+ CleanupStack::PopAndDestroy(); // wXMLFile
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::Parse
+// Reades the input from the opened file into buffer, and calls RunL.
+// @ exception can Leave due to OOM
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CXMLReader::ParseL(RFile& aOpenedFile)
+{
+ TInt wSize;
+ User::LeaveIfError(aOpenedFile.Size(wSize));
+
+ HBufC8 * binaryBuffer = HBufC8::NewLC(wSize);
+ TPtr8 binaryBufferPtr = binaryBuffer->Des();
+ User::LeaveIfError(aOpenedFile.Read(binaryBufferPtr, wSize));
+
+ if(!iIsBinary)
+ {
+ TInt hichar = (CEditableText::EReversedByteOrderMark & 0xFF00)>>8;
+ TInt lochar = CEditableText::EReversedByteOrderMark & 0xFF;
+ TInt bytesPerChar = 1;
+ if(binaryBufferPtr.Ptr()[0] == hichar && binaryBufferPtr.Ptr()[1] == lochar)
+ {
+ bytesPerChar = 2;
+ }
+
+ HBufC * dataBuffer = HBufC::NewLC(wSize/bytesPerChar);
+ TPtr dataBufferPtr = dataBuffer->Des();
+
+ if(bytesPerChar == 2)
+ {
+ dataBufferPtr.Set((TUint16*)binaryBufferPtr.Ptr()+1,
+ wSize/bytesPerChar-1,
+ wSize/bytesPerChar-1);
+ }
+ else
+ {
+ CnvUtfConverter::ConvertToUnicodeFromUtf8(dataBufferPtr, binaryBuffer->Des());
+ }
+ User::LeaveIfError(ParseXML(dataBufferPtr));
+ CleanupStack::Pop(); // dataBuffer
+ CleanupStack::PopAndDestroy(); // binaryBuffer
+ delete dataBuffer;
+ }
+ else
+ {
+ User::LeaveIfError(ParseWBXML(binaryBufferPtr));
+ CleanupStack::PopAndDestroy(); // binaryBuffer
+ }
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::ParseL
+// Copies aBuff into input buffer and calls RunL
+// @ exception can Leave due to OOM
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+void CXMLReader::ParseL(const TDesC8& aBuff) // change the allocations
+{
+
+
+ if(!iIsBinary)
+ {
+ HBufC * dataBuffer = HBufC::NewLC(aBuff.Size());
+ TPtr dataBufferPtr = dataBuffer->Des();
+ CnvUtfConverter::ConvertToUnicodeFromUtf8(dataBufferPtr, aBuff);
+ User::LeaveIfError(ParseXML(dataBufferPtr));
+ CleanupStack::PopAndDestroy(); // dataBuffer
+ }
+ else
+ {
+ User::LeaveIfError(ParseWBXML(aBuff));
+ }
+}
+
+
+
+// -----------------------------------------------------------------------------
+// CXMLReader::ParseXML
+//
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::ParseXML(const TDesC& aBuff)
+{
+ NW_Status_t status;
+ struct NW_XML_Parser_EventCallbacks_s cb;
+ struct NW_XML_Reader_s reader;
+
+ Mem::FillZ(&cb, sizeof(NW_XML_Parser_EventCallbacks_s));
+
+ // cXML callbacks
+ cb.StartDocument_CB = StartDocumentCB;
+ cb.EndDocument_CB = EndDocumentCB;
+ cb.Tag_Start_CB = BeginElementCB;
+ cb.Attr_Start_CB = AttributeStartCB;
+ cb.Attr_VarVal_CB = AttributeValueCB;
+ cb.Attributes_End_CB = AttributesEndCB;
+ cb.Tag_End_CB = EndElementCB;
+ cb.Content_CB = ContentCB;
+ cb.Cdata_CB = CdataCB;
+ cb.Comment_CB = CommentCB;
+ cb.PiForm_CB = PiCB;
+ cb.pClientPointer = (void*)iParserObserver;
+ cb.Entity_CB = EntityCB;
+ cb.Attr_Entity_VarVal_CB = AttrEntityVarValCB;
+
+ // Remove whitespace from beginning
+ TInt start(aBuff.Locate('<'));
+
+ if (start == -1)
+ {
+ return KErrParseFailed;
+ }
+
+ status = NW_XML_Reader_InitFromBuffer(&reader, aBuff.Right(aBuff.Length()-start).Size(),
+ (unsigned char*)aBuff.Right(aBuff.Length()-start).Ptr());
+ NW_XML_Reader_SetEncoding(&reader, HTTP_iso_10646_ucs_2);
+
+ // parse it!
+ status = NW_XML_Parse(&reader, &cb);
+
+ ASSERT(!(reader.length % 2));
+ TPtrC16 wChar((const TUint16*)reader.pBuf, reader.length / 2);
+ MXMLContentHandler* aContentHandler = iParserObserver->GetContentHandler();
+ aContentHandler->DataBuffer(wChar);
+
+
+ if (!NW_STAT_IS_SUCCESS(status))
+ {
+ return KErrParseFailed;
+ }
+ return KErrNone;
+}
+
+// -----------------------------------------------------------------------------
+// CXMLReader::ParseWBXML
+//
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+TInt CXMLReader::ParseWBXML(const TDesC8& aBuff)
+{
+ // WBXML CallBacks
+ struct NW_WBXML_EventHandler_s binaryCB;
+
+ Mem::FillZ(&binaryCB, sizeof(NW_WBXML_EventHandler_s));
+
+ // State change events
+ binaryCB.StartDocument_CB = Binary_StartDocument_CB;
+ binaryCB.EndDocument_CB = Binary_EndDocument_CB;
+ binaryCB.Pi_CB = Binary_Pi_CB;
+ binaryCB.Pi_End_CB = Binary_Pi_End_CB;
+ binaryCB.Tag_Start_CB = Binary_Tag_Start_CB;
+ binaryCB.Tag_End_CB = Binary_Tag_End_CB;
+ binaryCB.Attr_Start_CB = Binary_Attr_Start_CB;
+ binaryCB.Attr_Val_CB = Binary_Attr_Val_CB;
+ binaryCB.Content_CB = Binary_Content_CB;
+ binaryCB.CodePage_CB = Binary_CodePage_CB;
+ binaryCB.Extension_CB = Binary_Extension_CB;
+ // Handle data types
+ binaryCB.Token_CB = Binary_Token_CB;
+ binaryCB.FQToken_CB = Binary_FQToken_CB;
+ binaryCB.InlineString_CB = Binary_InlineString_CB;
+ binaryCB.TableString_CB = Binary_TableString_CB;
+ binaryCB.Binary_CB = Binary_Binary_CB;
+ binaryCB.Opaque_CB = Binary_Opaque_CB;
+ binaryCB.Entity_CB = Binary_Entity_CB;
+ // For parse errors
+ binaryCB.Exception_CB = Binary_Exception_CB;
+
+ // init dictionarys
+ NW_WBXML_Dictionary_t *dictionaries[DICTIONARY_COUNT];
+ dictionaries[0] = (NW_WBXML_Dictionary_t *)&NW_SyncML_1_0_WBXMLDictionary;
+ dictionaries[1] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_0_WBXMLDictionary;
+ dictionaries[2] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_1_WBXMLDictionary;
+ dictionaries[3] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_2_WBXMLDictionary;
+ dictionaries[4] = (NW_WBXML_Dictionary_t *)&NW_Wml_1_3_WBXMLDictionary;
+ dictionaries[5] = (NW_WBXML_Dictionary_t *)&NW_XHTML_WBXMLDictionary;
+ dictionaries[6] = (NW_WBXML_Dictionary_t *)&NW_SL_WBXMLDictionary;
+// dictionaries[7] = (NW_WBXML_Dictionary_t *)&SL_dictionary;
+// dictionaries[8] = (NW_WBXML_Dictionary_t *)&NW_wap_prov_doc_WBXMLDictionary;
+// dictionaries[9] = (NW_WBXML_Dictionary_t *)&push_nokprov_dictionary;
+
+ if ((NW_WBXML_Dictionary_initialize (DICTIONARY_COUNT, dictionaries)) != NW_STAT_SUCCESS)
+ {
+ return KErrDictionaryInitFailed;
+ }
+
+ NW_Status_t status;
+
+ // create parser
+ NW_WBXML_Parser_t *parser = (NW_WBXML_Parser_t*)User::Alloc(sizeof(NW_WBXML_Parser_t));
+ if(parser == NULL)
+ {
+ NW_WBXML_Dictionary_destroy();
+ return KErrParseFailed;
+ }
+ NW_WBXML_Parser_newInPlace(parser);
+
+ // create document
+ NW_WBXML_Document_t *doc = (NW_WBXML_Document_t*)User::Alloc(sizeof(NW_WBXML_Document_t));
+ if(doc == NULL)
+ {
+ NW_WBXML_Dictionary_destroy();
+ User::Free(parser);
+ parser = NULL;
+ return KErrParseFailed;
+ }
+ status = NW_WBXML_Document_construct(doc, SL_1_0_PUBLIC_ID);
+ if(status != NW_STAT_SUCCESS)
+ {
+ NW_WBXML_Dictionary_destroy();
+ User::Free(parser);
+ parser = NULL;
+ User::Free(doc);
+ doc = NULL;
+ return KErrParseFailed;
+ }
+
+
+ status =NW_WBXML_Parser_registerHandler(parser, &binaryCB, (void*)iParserObserver);
+
+
+ if (status == NW_STAT_SUCCESS)
+ {
+ status = NW_WBXML_Parser_parseBuffer(parser, doc, (NW_Byte*)aBuff.Ptr(), (NW_Uint32)aBuff.Length());
+ }
+
+ NW_WBXML_Dictionary_destroy();
+
+ User::Free(parser);
+ parser = NULL;
+ NW_WBXML_Document_destruct(doc);
+ User::Free(doc);
+ doc = NULL;
+ if(status != NW_STAT_SUCCESS)
+ {
+ return KErrParseFailed;
+ }
+ return KErrNone;
+}
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/xmlparser/src/rxmlreader.cpp Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,135 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: ?Description
+*
+*/
+
+
+
+// INCLUDE FILES
+#include <xml/rxmlreader.h>
+#include "cxmlreader.h"
+
+
+
+// requirement for E32 DLLs
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+
+// -----------------------------------------------------------------------------
+// RXMLReader::CreateL()
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::CreateL()
+ {
+ iImplementation = CXMLReader::NewL();
+ }
+
+
+
+// -----------------------------------------------------------------------------
+// RXMLReader::Destroy()
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::Destroy()
+ {
+ if(iImplementation)
+ {
+ delete iImplementation;
+ iImplementation=NULL;
+ }
+ }
+
+// -----------------------------------------------------------------------------
+// RXMLReader::Destroy()
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::Close()
+ {
+ Destroy();
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetFeature
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt RXMLReader::SetFeature(TXMLFeature aFeature, TBool aStatus)
+ {
+ return iImplementation->SetFeature(aFeature, aStatus);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::GetFeature
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt RXMLReader::GetFeature(TXMLFeature aFeature, TBool& aStatus)
+ {
+ return iImplementation->GetFeature(aFeature, aStatus);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetContentHandler
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt RXMLReader::SetContentHandler(MXMLContentHandler* aParserObserver)
+ {
+ return iImplementation->SetContentHandler(aParserObserver);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::SetContentHandler
+// Set binary XML content handler
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt RXMLReader::SetContentHandler(MWBXMLContentHandler* aParserObserver)
+ {
+ return iImplementation->SetContentHandler(aParserObserver);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::Parse
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::ParseL(RFs &aRFs, const TDesC& aFileToParse)
+ {
+ iImplementation->ParseL(aRFs, aFileToParse);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::Parse
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::ParseL(const TDesC8& aBuff)
+ {
+ iImplementation->ParseL(aBuff);
+ }
+
+// -----------------------------------------------------------------------------
+// CXMLReader::Parse
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void RXMLReader::ParseL(RFile& aOpenedFile)
+ {
+ iImplementation->ParseL(aOpenedFile);
+ }
+
+// End of File
--- a/xmlsrv_plat/cxml_library_api/inc/cxml_nw2cxmlTypes.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,64 +0,0 @@
-/*
-* Copyright (c) 2003 - 2004 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-#ifndef CXML_NW2CXMLTYPES_H
-#define CXML_NW2CXMLTYPES_H
-
-#include <xml/cxml/cxml_type_def.h>
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
-
-
-
-/* Data types */
-#define NW_Bool CXML_Bool
-#define NW_Byte CXML_Byte
-#define NW_Word CXML_Word
-#define NW_Dword CXML_Dword
-#define NW_Uint8 CXML_Uint8
-#define NW_Uint16 CXML_Uint16
-#define NW_Uint32 CXML_Uint32
-#define NW_Int8 CXML_Int8
-#define NW_Int16 CXML_Int16
-#define NW_Int32 CXML_Int32
-#define NW_Ucs2 CXML_Ucs2
-
-#define NW_TRUE CXML_TRUE
-#define NW_FALSE CXML_FALSE
-#define NW_ASSERT(x) CXML_ASSERT(x)
-#define NW_REQUIRED_PARAM(x) CXML_REQUIRED_PARAM(x)
-
-#define NW_UINT16_MAX CXML_UINT16_MAX
-#define NW_UINT32_MAX CXML_UINT32_MAX
-#define NW_INT32_MIN CXML_INT32_MIN
-#define NW_INT32_MAX CXML_INT32_MAX
-#define NW_UINT16_CAST(expr) CXML_UINT16_CAST(expr)
-#define NW_UINT32_CAST(expr) CXML_UINT32_CAST(expr)
-#define NW_INT32_CAST(expr) CXML_INT32_CAST(expr)
-#define NW_Buffer_t CXML_Buffer_t
-
-
-#ifdef __cplusplus
-} /* extern "C" { */
-#endif /* __cplusplus */
-
-#endif /* CXML_NW2CXMLTYPES_H */
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/cxml_library_api/inc/cxml_nw2cxmltypes.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,64 @@
+/*
+* Copyright (c) 2003 - 2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+#ifndef CXML_NW2CXMLTYPES_H
+#define CXML_NW2CXMLTYPES_H
+
+#include <xml/cxml/cxml_type_def.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif /* __cplusplus */
+
+
+
+/* Data types */
+#define NW_Bool CXML_Bool
+#define NW_Byte CXML_Byte
+#define NW_Word CXML_Word
+#define NW_Dword CXML_Dword
+#define NW_Uint8 CXML_Uint8
+#define NW_Uint16 CXML_Uint16
+#define NW_Uint32 CXML_Uint32
+#define NW_Int8 CXML_Int8
+#define NW_Int16 CXML_Int16
+#define NW_Int32 CXML_Int32
+#define NW_Ucs2 CXML_Ucs2
+
+#define NW_TRUE CXML_TRUE
+#define NW_FALSE CXML_FALSE
+#define NW_ASSERT(x) CXML_ASSERT(x)
+#define NW_REQUIRED_PARAM(x) CXML_REQUIRED_PARAM(x)
+
+#define NW_UINT16_MAX CXML_UINT16_MAX
+#define NW_UINT32_MAX CXML_UINT32_MAX
+#define NW_INT32_MIN CXML_INT32_MIN
+#define NW_INT32_MAX CXML_INT32_MAX
+#define NW_UINT16_CAST(expr) CXML_UINT16_CAST(expr)
+#define NW_UINT32_CAST(expr) CXML_UINT32_CAST(expr)
+#define NW_INT32_CAST(expr) CXML_INT32_CAST(expr)
+#define NW_Buffer_t CXML_Buffer_t
+
+
+#ifdef __cplusplus
+} /* extern "C" { */
+#endif /* __cplusplus */
+
+#endif /* CXML_NW2CXMLTYPES_H */
+
--- a/xmlsrv_plat/cxml_library_api/inc/nw_cXML_Parser.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-/*
-* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: Provides a single header for the cXML Parser
-*
-*/
-
-
-
-#ifndef NW_CXML_PARSER_H
-#define NW_CXML_PARSER_H
-
-// INCLUDES
-
-// This header file includes all public API headers for the cXML Parser.
-
-
-#include <xml/cxml/nw_xmlp_xmlreader.h>
-#include <xml/cxml/nw_xmlp_xmlparser.h>
-#include <xml/cxml/nw_wbxml_reader.h>
-#include <xml/cxml/nw_wbxml_parse.h>
-#include <xml/cxml/nw_dom_document.h>
-#include <xml/cxml/nw_dom_node.h>
-#include <xml/cxml/nw_dom_element.h>
-#include <xml/cxml/nw_dom_attribute.h>
-#include <xml/cxml/nw_dom_text.h>
-#include <xml/cxml/nw_string_string.h>
-#include <xml/cxml/nw_string_char.h>
-#include <xml/cxml/nw_wbxml_dictionary.h>
-#include <xml/cxml/nw_encoder_domencoder.h>
-#include <xml/cxml/nw_wbxml_document.h>
-#include <xml/cxml/cxml_file_if.h>
-
-// Currently needed for cleanup.
-#include <xml/cxml/nw_tinydom_utils.h>
-
-#endif // NW_CXML_PARSER_H
-
-// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/cxml_library_api/inc/nw_cxml_parser.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2003 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Provides a single header for the cXML Parser
+*
+*/
+
+
+
+#ifndef NW_CXML_PARSER_H
+#define NW_CXML_PARSER_H
+
+// INCLUDES
+
+// This header file includes all public API headers for the cXML Parser.
+
+
+#include <xml/cxml/nw_xmlp_xmlreader.h>
+#include <xml/cxml/nw_xmlp_xmlparser.h>
+#include <xml/cxml/nw_wbxml_reader.h>
+#include <xml/cxml/nw_wbxml_parse.h>
+#include <xml/cxml/nw_dom_document.h>
+#include <xml/cxml/nw_dom_node.h>
+#include <xml/cxml/nw_dom_element.h>
+#include <xml/cxml/nw_dom_attribute.h>
+#include <xml/cxml/nw_dom_text.h>
+#include <xml/cxml/nw_string_string.h>
+#include <xml/cxml/nw_string_char.h>
+#include <xml/cxml/nw_wbxml_dictionary.h>
+#include <xml/cxml/nw_encoder_domencoder.h>
+#include <xml/cxml/nw_wbxml_document.h>
+#include <xml/cxml/cxml_file_if.h>
+
+// Currently needed for cleanup.
+#include <xml/cxml/nw_tinydom_utils.h>
+
+#endif // NW_CXML_PARSER_H
+
+// End of File
--- a/xmlsrv_plat/xml_parser_api/inc/MWBXMLContentHandler.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,213 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-
-
-/**
- * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
- */
-
-
-
-
-
-
-
-#ifndef __MWBXMLCONTENTHANDLER_H
-#define __MWBXMLCONTENTHANDLER_H
-
-#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
-
-// INCLUDES
-#include <e32std.h>
-
-// CLASS DECLARATION
-
-/**
-* Interface for SAX wbxml Parser Callback events.
-* If an application (client) needs to be informed of basic parsing events,
-* it implements this interface and registers an instance with the SAX parser using the SetContentHandler() method.
-* The parser uses the instance to report basic document-related events like the start and end of elements.
-*
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class MWBXMLContentHandler
-{
-public:
-/**
-* Receive notification of the beginning of a wbxml document.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- virtual TInt StartDocument() = 0;
-
-/**
-* Receive notification of the end of a wbxml document.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- virtual TInt EndDocument() = 0;
-
-/**
-* Receive notification of the beginning of an element.
-* @since ?Series60_version
-* @return 1 if sucess.
-*/
- inline virtual TInt TagStart(){return 1;}
-
-/**
-* Receive notification of the end of an element.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt TagEnd(){return 1;}
-
-/**
-* Receive notification of the beginning of a processing instruction.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt ProcessingInstruction(){return 1;}
-
-/**
-* Receive notification of the end of a processing instruction.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt ProcessingInstructionEnd(){return 1;}
-
-/**
-* Receive notification of a attribute.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt AttributeStart(){return 1;}
-
-/**
-* Receive notification of a attribute value.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt AttributeValue(){return 1;}
-/**
-* Receive notification of content.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt Content(){return 1;}
-
-/**
-* Receive notification of a code page switch in the document.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt CodePageSwitch(){return 1;}
-
-/**
-* Receive notification of a extencion.
-* @since ?Series60_version
-* @param none
-* @return 1 if sucess.
-*/
- inline virtual TInt Extension(){return 1;}
-
- // Handle data types
-
-/**
-* Receive notification of a Token.
-* @since ?Series60_version
-* @param aToken: binary token
-* @param aString: string representation of aToken
-* @return 1 if sucess.
-*/
- inline virtual TInt Token(TUint8 /*aToken*/, TDesC& /*aString*/){return 1;}
-/**
-* Receive notification of a Fully Qualifyed Token.
-* @since ?Series60_version
-* @param aToken: binary token
-* @param aString: string representation of aToken
-* @return 1 if sucess.
-*/
- inline virtual TInt FQToken(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
-
-/**
-* Receive notification of a inline string.
-* @since ?Series60_version
-* @param aString: the inline string.
-* @return 1 if sucess.
-*/
- inline virtual TInt InlineString(TDesC& /*aString*/){return 1;}
-
-/**
-* Receive notification of a table string.
-* @since ?Series60_version
-* @param aString: the table string.
-* @return 1 if sucess.
-*/
- inline virtual TInt TableString(TDesC& /*aString*/){return 1;}
-/**
-* Receive notification of binary data.
-* @since ?Series60_version
-* @param aToken: binary data
-* @return 1 if sucess.
-*/
- inline virtual TInt Binary(TUint32 /*aToken*/){return 1;}
-
-/**
-* Receive notification of opaque data.
-* @since ?Series60_version
-* @param aToken: binary data
-* @param aString: the string representation of aToken
-* @return 1 if sucess.
-*/
- inline virtual TInt Opaque(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
-
-/**
-* Receive notification of entity.
-* @since ?Series60_version
-* @param aToken: the entity
-* @param aString: the string representation of aToken.
-* @return 1 if sucess.
-*/
- inline virtual TInt Entity(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
-
-/**
-* Receive notification of parse error.
-* @since ?Series60_version
-* @param
-* @return 1 if sucess.
-*/
- inline virtual TInt Exception(){return 1;}
-
-};
-
-
-#endif // __MXMLCONTENTHANDLER_H
-
-// End of File
--- a/xmlsrv_plat/xml_parser_api/inc/MXMLAttributes.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,122 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-
-
-
-/**
- * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
- */
-
-
-
-
-
-
-
-
-
-#ifndef __MXMLATTRIBUTES_H
-#define __MXMLATTRIBUTES_H
-
-#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
-
-
-// INCLUDES
-#include <e32std.h>
-
-// CLASS DECLARATION
-
-/**
-* Interface for a list of XML elemnet attributes.
-* Contains a list of attributes belonging to a certain element and is returned in the
-* MXMLContentHandler::StartElement() callback.
-*
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*
-*/
-
-class MXMLAttributes
-{
-public:
-
-/**
-* Look up the index of an attribute by name.
-* @since ?Series60_version
-* @param aName: Name of attribute to look up
-* @return Index of aName
-*/
- virtual TInt GetIndex(TDesC& aName) = 0;
-
-/**
-* Get the number of attributes in the list.
-* @since ?Series60_version
-* @param none
-* @return The number of attributes in the list.
-*/
- virtual TInt GetLength() = 0;
-
-/**
-* Look up the name of an attribute by index.
-* @since ?Series60_version
-* @param aIndex: Index of attribute to look up.
-* @return Name of attribute at index aIndex.
-*/
- virtual TPtrC GetName(TInt aIndex) = 0;
-
-/**
-* Look up an attribute's value by name.
-* @since ?Series60_version
-* @param aName: Name of attribute to look up
-* @return Value of attribute aName.
-*/
- virtual TPtrC GetValue(TDesC& aName) = 0;
-
-/**
-* Look up an attribute's value by index.
-* @since ?Series60_version
-* @param aIndex: Index of attribute to look up.
-* @return Value of attribute at aIndex.
-*/
- virtual TPtrC GetValue(TInt& aIndex) = 0;
-
-/**
-* Look up an attribute's type by index.
-* @since ?Series60_version
-* @param aIndex: Index of attribute to look up.
-* @return Type of attribute at aIndex.
-*/
-// R&D: Feature: GetType missing from Attributes
- virtual TPtrC GetType(TInt aIndex) = 0;
-
-/**
-* Look up an attribute's type by name.
-* @since ?Series60_version
-* @param aIndex: Index of attribute to look up.
-* @return ?description
-*/
-// R&D: Feature: GetType missing from Attributes
- virtual TPtrC GetType(TDesC& aName) = 0;
-
-};
-
-#endif // __MXMLATTRIBUTES_H
-
-// End of File
--- a/xmlsrv_plat/xml_parser_api/inc/MXMLContentHandler.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,213 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-
-
-
-
-/**
- * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
- */
-
-
-
-
-
-
-
-
-
-
-
-#ifndef __MXMLCONTENTHANDLER_H
-#define __MXMLCONTENTHANDLER_H
-
-#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
-
-
-// INCLUDES
-#include <xml/MXMLAttributes.h>
-#include <xml/cxml/cxml_nw2cxmltypes.h>
-
-// CLASS DECLARATION
-
-/**
-* Interface for SAX Parser Callback events.
-* If an application (client) needs to be informed of basic parsing events,
-* it implements this interface and registers an instance with the SAX parser using the SetContentHandler() method.
-* The parser uses the instance to report basic document-related events like the start and end of elements.
-*
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class MXMLContentHandler
-{
-public:
-/**
-* Receive notification of the beginning of a document.
-* @since ?Series60_version
-* @param none
-* @return none
-*/
- virtual TInt StartDocument() = 0;
-
-/**
-* Receive notification of the end of a document.
-* @since ?Series60_version
-* @param none
-* @return none
-*/
- virtual TInt EndDocument() = 0;
-
-/**
-* Receive notification of the beginning of an element.
-* @since ?Series60_version
-* @param aURI: The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
-* processing is not being performed.
-* @param aLocalName: The local name (without prefix), or the empty string if Namespace processing is not being
-* performed.
-* @param aName: The qualified name, or the empty string if qualified names are not available.
-* @param aAttributeList: The attributes attached to the element. If there are no attributes, it shall be an
-* empty Attributes object.
-*
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt StartElement(TDesC& /*aURI*/, TDesC& /*aLocalName*/, TDesC& /*aName*/, MXMLAttributes* /*aAttributeList*/){return 1;}
-
-/**
-* Receive notification of the end of an element.
-* @since ?Series60_version
-* @param aURI: The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
-* processing is not being performed.
-* @param aLocalName: The local name (without prefix), or the empty string if Namespace processing is not being
-* performed.
-* @param aName: The qualified name, or the empty string if qualified names are not available.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt EndElement(TDesC& /*aURI*/, TDesC& /*aLocalName*/, TDesC& /*aName*/){return 1;}
-
-/**
-* Receive notification of character data inside an element.
-* @since ?Series60_version
-* @param aBuff: The characters.
-* @param aStart: The start position in the character buffer.
-* @param aLength: The number of characters to use from the character buffer.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt Charecters(TDesC& /*aBuf*/, TInt /*aStart*/, TInt /*aLength*/){return 1;}
-
-/**
-* Receive notification of XML comment.
-* @since ?Series60_version
-* @param aComment: Buffer containing the comment.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt Comment(TDesC& /*aComment*/){return 1;}
-
-/**
-* Receive notification of a processing instruction
-* @since ?Series60_version
-* @param aTarget: The processing instruction target.
-* @param aData: The processing instruction data, or null if none is supplied.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt ProcessingInstructions(TDesC& /*aTarget*/, TDesC& /*aData*/){return 1;}
-
-/**
-* Receive notification of ignorable whitespace in element content.
-* @since ?Series60_version
-* @param aString: The whitespace characters.
-* @return 1 if success 0 if failure.
-*/
- // R&D: Feature: IgnoreWhiteSpace missing from XMLInterface
- inline virtual TInt IgnoreWhiteSpace(TDesC& /*aString*/){return 1;};
-
-/**
-* Receive notification of beginning of some internal and external XML entities.
-* @since ?Series60_version
-* @param aName: The name of the entity.
-* @return 1 if success 0 if failure.
-*/
-
- inline virtual TInt StartEntity(TDesC& /*aName*/){return 1;};
-
-/**
-* Receive notification of end of XML entities.
-* @since ?Series60_version
-* @param aName: The name of the entity.
-* @return 1 if success 0 if failure.
-*/
-
- inline virtual TInt EndEntity(TDesC& /*aName*/){return 1;}
-
-/**
-* Receive notification of a skipped entity.
-* @since ?Series60_version
-* @param aName: The name of the skipped entity.
-* @return 1 if success 0 if failure.
-*/
- // R&D: Feature: SkippedEntity missing from XMLInterface
- inline virtual TInt SkippedEntity(TDesC& /*aName*/){return 1;}
-
-/**
-* Receive notification of beginning of CData section.
-* @since ?Series60_version
-* @param none
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt StartCDATA(){return 1;}
-
-/**
-* Receive notification of end of CData section.
-* @since ?Series60_version
-* @param aName: none.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt EndCDATA(){return 1;}
-
-/**
-* Receive notification of error situation during parsing.
-* @since ?Series60_version
-* @param aErrorCode: Error status code.
-* @param aSeverity: Error Severity.
-* @return 1 if success 0 if failure.
-*/
- inline virtual TInt Error(TInt /*aErrorCode*/, TInt /*aSeverity*/){return 1;}
-
-/**
-* Returns parsed buffer to client.
-* @since Series60 3.1
-* @param aBuf Buffer with parsed data.
-*/
- inline virtual void DataBuffer(const TDesC16& /*aBuf*/){return;}
-
-/**
-* Returns reader index
-* @since Series60 3.1
-* @param aIndex - reader index
-*/
- inline virtual void ReaderIndex(NW_Uint32 /*aIndex*/){return;}
-
-
-};
-
-
-#endif // __MXMLCONTENTHANDLER_H
-
-// End of File
--- a/xmlsrv_plat/xml_parser_api/inc/RXMLReader.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,161 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-
-
-
-
-
-
-/**
- * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
- */
-
-
-
-
-
-
-
-
-
-
-
-
-
-#ifndef __RXMLREADER_H
-#define __RXMLREADER_H
-
-#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
-
-
-// INCLUDES
-#include <F32File.h>
-
-#include <xml/MXMLContentHandler.h>
-#include <xml/MWBXMLContentHandler.h>
-#include <xml/XMLUtils.h>
-
-
-// CLASS DECLARATION
-class CXMLReader;
-/**
-* Interface for XML Parser.
-*
-* @lib XMLInterface.dll
-* @since ?Series60_version
-*/
-class RXMLReader
-{
-public: // New functions
-
- inline RXMLReader();
-
-/**
-* Creates the parser.
-* This function leaves with an apropriate code if the create failed.
-*
-*/
- IMPORT_C void CreateL();
-
-/**
-* Destroys the parser.
-*
-*/
- IMPORT_C void Destroy();
-
-/**
-* Destroys the parser.
-*
-*/
- IMPORT_C void Close();
-
-
-/**
-* Enables/Dissables a feature.
-* @since ?Series60_version
-* @param aFeature: The feature to Enable/Dissable.
-* @param aStatus: TRUE Enables the feature, FALSE Dissables.
-* @return KErrNone if OK, KErrNotSupported if feature not supported.
-*/
- IMPORT_C TInt SetFeature(TXMLFeature aFeature, TBool aStatus);
-
-/**
-* Check if a feature is Enabled.
-* @since ?Series60_version
-* @param aFeature: The feature to check.
-* @param aStatus: TRUE if aFeature is Enabled.
-* @return KErrNone if OK, KErrNotSupported if feature not supported.
-*/
- IMPORT_C TInt GetFeature(TXMLFeature aFeature, TBool& aStatus);
-
-/**
-* Allow an application to register a content event handler (for XML).
-* @since ?Series60_version
-* @param aContentHandler: The handler.
-* @return Status, KErrNone if OK.
-*/
- IMPORT_C TInt SetContentHandler(MXMLContentHandler* aContentHandler);
-
-/**
-* Allow an application to register a content event handler (for WBXML).
-* @since ?Series60_version
-* @param aContentHandler: The handler.
-* @return Status, KErrNone if OK.
-*/
- IMPORT_C TInt SetContentHandler(MWBXMLContentHandler* aContentHandler);
-
-/**
-* Parse an XML document.
-* @since ?Series60_version
-* @param aRFs: An open filesession.
-* @param aFileToParse: Filename of file to parse.
-* @return
-*/
- IMPORT_C void ParseL(RFs &aRFs, const TDesC& aFileToParse);
-
-/**
-* Parse an XML document.
-* @since ?Series60_version
-* @param aBuff: Buffer containing document to parse.
-* @return
-*/
- IMPORT_C void ParseL(const TDesC8& aBuff);
-
-/**
-* Parse an XML document.
-* @since ?Series60_version
-* @param aOpenedFile: Opened file containing document to parse.
-* @return
-*/
- IMPORT_C void ParseL(RFile& aOpenedFile);
-
-private:
- friend class CXMLReader;
-
- CXMLReader* iImplementation;
-};
-
-inline RXMLReader::RXMLReader()
- : iImplementation(0)
- {
- }
-
-#endif // __RXMLREADER_H
-
-// End of File
--- a/xmlsrv_plat/xml_parser_api/inc/XMLUtils.h Thu Jul 01 15:13:40 2010 +0530
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
-* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: Contains XML datatype definitions
-*
-*/
-
-
-
-
-
-
-
-
-
-/**
- * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
- */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#ifndef __XMLUTILS_H
-#define __XMLUTILS_H
-
-#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
-
-
-// Error Codes
-const TInt KErrDictionaryInitFailed=(-90);
-const TInt KErrParseFailed=(-91);
-enum TXMLErrorCodeSeverity
- {
- EXMLFatal,
- EXMLIndeterminate,
- EXMLWorkable,
- EXMLNone
- };
-
-// Features
-enum TXMLFeature
- {
- EXMLValidation,
- EXMLBinary
- };
-
-
-#endif // __XMLUTILS_H
-
-// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/xml_parser_api/inc/mwbxmlcontenthandler.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,213 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+
+
+/**
+ * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
+ */
+
+
+
+
+
+
+
+#ifndef __MWBXMLCONTENTHANDLER_H
+#define __MWBXMLCONTENTHANDLER_H
+
+#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
+
+// INCLUDES
+#include <e32std.h>
+
+// CLASS DECLARATION
+
+/**
+* Interface for SAX wbxml Parser Callback events.
+* If an application (client) needs to be informed of basic parsing events,
+* it implements this interface and registers an instance with the SAX parser using the SetContentHandler() method.
+* The parser uses the instance to report basic document-related events like the start and end of elements.
+*
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class MWBXMLContentHandler
+{
+public:
+/**
+* Receive notification of the beginning of a wbxml document.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ virtual TInt StartDocument() = 0;
+
+/**
+* Receive notification of the end of a wbxml document.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ virtual TInt EndDocument() = 0;
+
+/**
+* Receive notification of the beginning of an element.
+* @since ?Series60_version
+* @return 1 if sucess.
+*/
+ inline virtual TInt TagStart(){return 1;}
+
+/**
+* Receive notification of the end of an element.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt TagEnd(){return 1;}
+
+/**
+* Receive notification of the beginning of a processing instruction.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt ProcessingInstruction(){return 1;}
+
+/**
+* Receive notification of the end of a processing instruction.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt ProcessingInstructionEnd(){return 1;}
+
+/**
+* Receive notification of a attribute.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt AttributeStart(){return 1;}
+
+/**
+* Receive notification of a attribute value.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt AttributeValue(){return 1;}
+/**
+* Receive notification of content.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt Content(){return 1;}
+
+/**
+* Receive notification of a code page switch in the document.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt CodePageSwitch(){return 1;}
+
+/**
+* Receive notification of a extencion.
+* @since ?Series60_version
+* @param none
+* @return 1 if sucess.
+*/
+ inline virtual TInt Extension(){return 1;}
+
+ // Handle data types
+
+/**
+* Receive notification of a Token.
+* @since ?Series60_version
+* @param aToken: binary token
+* @param aString: string representation of aToken
+* @return 1 if sucess.
+*/
+ inline virtual TInt Token(TUint8 /*aToken*/, TDesC& /*aString*/){return 1;}
+/**
+* Receive notification of a Fully Qualifyed Token.
+* @since ?Series60_version
+* @param aToken: binary token
+* @param aString: string representation of aToken
+* @return 1 if sucess.
+*/
+ inline virtual TInt FQToken(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
+
+/**
+* Receive notification of a inline string.
+* @since ?Series60_version
+* @param aString: the inline string.
+* @return 1 if sucess.
+*/
+ inline virtual TInt InlineString(TDesC& /*aString*/){return 1;}
+
+/**
+* Receive notification of a table string.
+* @since ?Series60_version
+* @param aString: the table string.
+* @return 1 if sucess.
+*/
+ inline virtual TInt TableString(TDesC& /*aString*/){return 1;}
+/**
+* Receive notification of binary data.
+* @since ?Series60_version
+* @param aToken: binary data
+* @return 1 if sucess.
+*/
+ inline virtual TInt Binary(TUint32 /*aToken*/){return 1;}
+
+/**
+* Receive notification of opaque data.
+* @since ?Series60_version
+* @param aToken: binary data
+* @param aString: the string representation of aToken
+* @return 1 if sucess.
+*/
+ inline virtual TInt Opaque(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
+
+/**
+* Receive notification of entity.
+* @since ?Series60_version
+* @param aToken: the entity
+* @param aString: the string representation of aToken.
+* @return 1 if sucess.
+*/
+ inline virtual TInt Entity(TUint32 /*aToken*/, TDesC& /*aString*/){return 1;}
+
+/**
+* Receive notification of parse error.
+* @since ?Series60_version
+* @param
+* @return 1 if sucess.
+*/
+ inline virtual TInt Exception(){return 1;}
+
+};
+
+
+#endif // __MXMLCONTENTHANDLER_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/xml_parser_api/inc/mxmlattributes.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,122 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+
+
+
+/**
+ * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
+ */
+
+
+
+
+
+
+
+
+
+#ifndef __MXMLATTRIBUTES_H
+#define __MXMLATTRIBUTES_H
+
+#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
+
+
+// INCLUDES
+#include <e32std.h>
+
+// CLASS DECLARATION
+
+/**
+* Interface for a list of XML elemnet attributes.
+* Contains a list of attributes belonging to a certain element and is returned in the
+* MXMLContentHandler::StartElement() callback.
+*
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*
+*/
+
+class MXMLAttributes
+{
+public:
+
+/**
+* Look up the index of an attribute by name.
+* @since ?Series60_version
+* @param aName: Name of attribute to look up
+* @return Index of aName
+*/
+ virtual TInt GetIndex(TDesC& aName) = 0;
+
+/**
+* Get the number of attributes in the list.
+* @since ?Series60_version
+* @param none
+* @return The number of attributes in the list.
+*/
+ virtual TInt GetLength() = 0;
+
+/**
+* Look up the name of an attribute by index.
+* @since ?Series60_version
+* @param aIndex: Index of attribute to look up.
+* @return Name of attribute at index aIndex.
+*/
+ virtual TPtrC GetName(TInt aIndex) = 0;
+
+/**
+* Look up an attribute's value by name.
+* @since ?Series60_version
+* @param aName: Name of attribute to look up
+* @return Value of attribute aName.
+*/
+ virtual TPtrC GetValue(TDesC& aName) = 0;
+
+/**
+* Look up an attribute's value by index.
+* @since ?Series60_version
+* @param aIndex: Index of attribute to look up.
+* @return Value of attribute at aIndex.
+*/
+ virtual TPtrC GetValue(TInt& aIndex) = 0;
+
+/**
+* Look up an attribute's type by index.
+* @since ?Series60_version
+* @param aIndex: Index of attribute to look up.
+* @return Type of attribute at aIndex.
+*/
+// R&D: Feature: GetType missing from Attributes
+ virtual TPtrC GetType(TInt aIndex) = 0;
+
+/**
+* Look up an attribute's type by name.
+* @since ?Series60_version
+* @param aIndex: Index of attribute to look up.
+* @return ?description
+*/
+// R&D: Feature: GetType missing from Attributes
+ virtual TPtrC GetType(TDesC& aName) = 0;
+
+};
+
+#endif // __MXMLATTRIBUTES_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/xml_parser_api/inc/mxmlcontenthandler.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,213 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+
+
+
+
+/**
+ * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
+ */
+
+
+
+
+
+
+
+
+
+
+
+#ifndef __MXMLCONTENTHANDLER_H
+#define __MXMLCONTENTHANDLER_H
+
+#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
+
+
+// INCLUDES
+#include <xml/MXMLAttributes.h>
+#include <xml/cxml/cxml_nw2cxmltypes.h>
+
+// CLASS DECLARATION
+
+/**
+* Interface for SAX Parser Callback events.
+* If an application (client) needs to be informed of basic parsing events,
+* it implements this interface and registers an instance with the SAX parser using the SetContentHandler() method.
+* The parser uses the instance to report basic document-related events like the start and end of elements.
+*
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class MXMLContentHandler
+{
+public:
+/**
+* Receive notification of the beginning of a document.
+* @since ?Series60_version
+* @param none
+* @return none
+*/
+ virtual TInt StartDocument() = 0;
+
+/**
+* Receive notification of the end of a document.
+* @since ?Series60_version
+* @param none
+* @return none
+*/
+ virtual TInt EndDocument() = 0;
+
+/**
+* Receive notification of the beginning of an element.
+* @since ?Series60_version
+* @param aURI: The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
+* processing is not being performed.
+* @param aLocalName: The local name (without prefix), or the empty string if Namespace processing is not being
+* performed.
+* @param aName: The qualified name, or the empty string if qualified names are not available.
+* @param aAttributeList: The attributes attached to the element. If there are no attributes, it shall be an
+* empty Attributes object.
+*
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt StartElement(TDesC& /*aURI*/, TDesC& /*aLocalName*/, TDesC& /*aName*/, MXMLAttributes* /*aAttributeList*/){return 1;}
+
+/**
+* Receive notification of the end of an element.
+* @since ?Series60_version
+* @param aURI: The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace
+* processing is not being performed.
+* @param aLocalName: The local name (without prefix), or the empty string if Namespace processing is not being
+* performed.
+* @param aName: The qualified name, or the empty string if qualified names are not available.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt EndElement(TDesC& /*aURI*/, TDesC& /*aLocalName*/, TDesC& /*aName*/){return 1;}
+
+/**
+* Receive notification of character data inside an element.
+* @since ?Series60_version
+* @param aBuff: The characters.
+* @param aStart: The start position in the character buffer.
+* @param aLength: The number of characters to use from the character buffer.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt Charecters(TDesC& /*aBuf*/, TInt /*aStart*/, TInt /*aLength*/){return 1;}
+
+/**
+* Receive notification of XML comment.
+* @since ?Series60_version
+* @param aComment: Buffer containing the comment.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt Comment(TDesC& /*aComment*/){return 1;}
+
+/**
+* Receive notification of a processing instruction
+* @since ?Series60_version
+* @param aTarget: The processing instruction target.
+* @param aData: The processing instruction data, or null if none is supplied.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt ProcessingInstructions(TDesC& /*aTarget*/, TDesC& /*aData*/){return 1;}
+
+/**
+* Receive notification of ignorable whitespace in element content.
+* @since ?Series60_version
+* @param aString: The whitespace characters.
+* @return 1 if success 0 if failure.
+*/
+ // R&D: Feature: IgnoreWhiteSpace missing from XMLInterface
+ inline virtual TInt IgnoreWhiteSpace(TDesC& /*aString*/){return 1;};
+
+/**
+* Receive notification of beginning of some internal and external XML entities.
+* @since ?Series60_version
+* @param aName: The name of the entity.
+* @return 1 if success 0 if failure.
+*/
+
+ inline virtual TInt StartEntity(TDesC& /*aName*/){return 1;};
+
+/**
+* Receive notification of end of XML entities.
+* @since ?Series60_version
+* @param aName: The name of the entity.
+* @return 1 if success 0 if failure.
+*/
+
+ inline virtual TInt EndEntity(TDesC& /*aName*/){return 1;}
+
+/**
+* Receive notification of a skipped entity.
+* @since ?Series60_version
+* @param aName: The name of the skipped entity.
+* @return 1 if success 0 if failure.
+*/
+ // R&D: Feature: SkippedEntity missing from XMLInterface
+ inline virtual TInt SkippedEntity(TDesC& /*aName*/){return 1;}
+
+/**
+* Receive notification of beginning of CData section.
+* @since ?Series60_version
+* @param none
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt StartCDATA(){return 1;}
+
+/**
+* Receive notification of end of CData section.
+* @since ?Series60_version
+* @param aName: none.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt EndCDATA(){return 1;}
+
+/**
+* Receive notification of error situation during parsing.
+* @since ?Series60_version
+* @param aErrorCode: Error status code.
+* @param aSeverity: Error Severity.
+* @return 1 if success 0 if failure.
+*/
+ inline virtual TInt Error(TInt /*aErrorCode*/, TInt /*aSeverity*/){return 1;}
+
+/**
+* Returns parsed buffer to client.
+* @since Series60 3.1
+* @param aBuf Buffer with parsed data.
+*/
+ inline virtual void DataBuffer(const TDesC16& /*aBuf*/){return;}
+
+/**
+* Returns reader index
+* @since Series60 3.1
+* @param aIndex - reader index
+*/
+ inline virtual void ReaderIndex(NW_Uint32 /*aIndex*/){return;}
+
+
+};
+
+
+#endif // __MXMLCONTENTHANDLER_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/xml_parser_api/inc/rxmlreader.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,161 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+
+
+
+
+
+/**
+ * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
+ */
+
+
+
+
+
+
+
+
+
+
+
+
+
+#ifndef __RXMLREADER_H
+#define __RXMLREADER_H
+
+#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
+
+
+// INCLUDES
+#include <F32File.h>
+
+#include <xml/MXMLContentHandler.h>
+#include <xml/MWBXMLContentHandler.h>
+#include <xml/XMLUtils.h>
+
+
+// CLASS DECLARATION
+class CXMLReader;
+/**
+* Interface for XML Parser.
+*
+* @lib XMLInterface.dll
+* @since ?Series60_version
+*/
+class RXMLReader
+{
+public: // New functions
+
+ inline RXMLReader();
+
+/**
+* Creates the parser.
+* This function leaves with an apropriate code if the create failed.
+*
+*/
+ IMPORT_C void CreateL();
+
+/**
+* Destroys the parser.
+*
+*/
+ IMPORT_C void Destroy();
+
+/**
+* Destroys the parser.
+*
+*/
+ IMPORT_C void Close();
+
+
+/**
+* Enables/Dissables a feature.
+* @since ?Series60_version
+* @param aFeature: The feature to Enable/Dissable.
+* @param aStatus: TRUE Enables the feature, FALSE Dissables.
+* @return KErrNone if OK, KErrNotSupported if feature not supported.
+*/
+ IMPORT_C TInt SetFeature(TXMLFeature aFeature, TBool aStatus);
+
+/**
+* Check if a feature is Enabled.
+* @since ?Series60_version
+* @param aFeature: The feature to check.
+* @param aStatus: TRUE if aFeature is Enabled.
+* @return KErrNone if OK, KErrNotSupported if feature not supported.
+*/
+ IMPORT_C TInt GetFeature(TXMLFeature aFeature, TBool& aStatus);
+
+/**
+* Allow an application to register a content event handler (for XML).
+* @since ?Series60_version
+* @param aContentHandler: The handler.
+* @return Status, KErrNone if OK.
+*/
+ IMPORT_C TInt SetContentHandler(MXMLContentHandler* aContentHandler);
+
+/**
+* Allow an application to register a content event handler (for WBXML).
+* @since ?Series60_version
+* @param aContentHandler: The handler.
+* @return Status, KErrNone if OK.
+*/
+ IMPORT_C TInt SetContentHandler(MWBXMLContentHandler* aContentHandler);
+
+/**
+* Parse an XML document.
+* @since ?Series60_version
+* @param aRFs: An open filesession.
+* @param aFileToParse: Filename of file to parse.
+* @return
+*/
+ IMPORT_C void ParseL(RFs &aRFs, const TDesC& aFileToParse);
+
+/**
+* Parse an XML document.
+* @since ?Series60_version
+* @param aBuff: Buffer containing document to parse.
+* @return
+*/
+ IMPORT_C void ParseL(const TDesC8& aBuff);
+
+/**
+* Parse an XML document.
+* @since ?Series60_version
+* @param aOpenedFile: Opened file containing document to parse.
+* @return
+*/
+ IMPORT_C void ParseL(RFile& aOpenedFile);
+
+private:
+ friend class CXMLReader;
+
+ CXMLReader* iImplementation;
+};
+
+inline RXMLReader::RXMLReader()
+ : iImplementation(0)
+ {
+ }
+
+#endif // __RXMLREADER_H
+
+// End of File
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/xmlsrv_plat/xml_parser_api/inc/xmlutils.h Mon Sep 13 13:16:40 2010 +0530
@@ -0,0 +1,70 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Contains XML datatype definitions
+*
+*/
+
+
+
+
+
+
+
+
+
+/**
+ * DO NOT USE THIS API. DEPRECATED AND REMOVED IN S60 5.0. USE SYMBIAN XML FRAMEWORK INSTEAD.
+ */
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#ifndef __XMLUTILS_H
+#define __XMLUTILS_H
+
+#warning The XML API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information
+
+
+// Error Codes
+const TInt KErrDictionaryInitFailed=(-90);
+const TInt KErrParseFailed=(-91);
+enum TXMLErrorCodeSeverity
+ {
+ EXMLFatal,
+ EXMLIndeterminate,
+ EXMLWorkable,
+ EXMLNone
+ };
+
+// Features
+enum TXMLFeature
+ {
+ EXMLValidation,
+ EXMLBinary
+ };
+
+
+#endif // __XMLUTILS_H
+
+// End of File