|
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include <e32test.h> |
|
17 |
|
18 #include <xml/parserfeature.h> |
|
19 #include <xml/xmlframeworkerrors.h> |
|
20 |
|
21 #include "stabilitytestclass.h" |
|
22 #include "testdocuments.h" |
|
23 _LIT (KTestDocument0, "z:\\system\\XmlTest\\SyncML\\1.1\\add-to-client\\FromServer0.wbxml"); |
|
24 _LIT (KTestDocument1, "z:\\system\\XmlTest\\SyncML\\1.1\\add-to-client\\FromServer1.wbxml"); |
|
25 _LIT (KTestDocument2, "z:\\system\\XmlTest\\SyncML\\1.1\\add-to-server\\FromServer1.wbxml"); |
|
26 _LIT (KTestDocument3, "z:\\system\\XmlTest\\SyncML\\1.1\\Atomic\\FromServer1.wbxml"); |
|
27 _LIT (KTestDocument4, "z:\\system\\XmlTest\\Wml\\1.1\\AllElements.wmlc"); |
|
28 _LIT (KTestDocument5, "z:\\system\\XmlTest\\Wml\\1.1\\CharEntities.wmlc"); |
|
29 _LIT (KTestDocument6, "z:\\system\\XmlTest\\Wml\\1.1\\data.wmlc"); |
|
30 _LIT (KTestDocument7, "z:\\system\\XmlTest\\Wml\\1.1\\http___www.bbc.co.uk_mobile_sportheads1.wmlc"); |
|
31 _LIT (KTestDocument8, "z:\\system\\XmlTest\\Wml\\1.1\\mob.wmlc"); |
|
32 _LIT (KTestDocument9, "z:\\system\\XmlTest\\Wml\\1.1\\Variables.wmlc"); |
|
33 _LIT (KTestDocument10,"z:\\system\\XmlTest\\Wml\\1.1\\wireless_char.wmlc"); |
|
34 _LIT (KTestDocument11,"z:\\system\\XmlTest\\Wml\\Codepage\\wml_data_attr_copepage_255.wmlc"); |
|
35 |
|
36 // Some characters had to have their string representation amended. |
|
37 // i.e. dir paths should be seperated by '\\' |
|
38 // carriage return (0D) replaced with \r |
|
39 // line feed (0A) replaced with \n |
|
40 // double quotes (") replaced with \" |
|
41 // single quotes (') replaced with \' |
|
42 |
|
43 _LIT (KDataComparison0_1, "<SyncML xmlns=\'syncml:syncml1.1\'>111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111133333333333333333333333333333333333333333333333332<SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
44 _LIT (KDataComparison0_2, "<SessionID xmlns=\'syncml:syncml1.1\'>1871351294</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
45 _LIT (KDataComparison0_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63157234976619000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</LocURI>"); |
|
46 _LIT (KDataComparison0_4, "</Source><RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML?f1sess=194.200.144.243sync1871351294</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
47 _LIT (KDataComparison0_5, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID>"); |
|
48 _LIT (KDataComparison0_6, "<MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd>"); |
|
49 _LIT (KDataComparison0_7, "<TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>63157234976619000</SourceRef>"); |
|
50 _LIT (KDataComparison0_8, "<Data xmlns=\'syncml:syncml1.1\'>212</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
51 _LIT (KDataComparison0_9, "<CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
52 _LIT (KDataComparison0_10, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
53 _LIT (KDataComparison0_11, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next></Anchor></Data></Item></Status>"); |
|
54 _LIT (KDataComparison0_12, "<Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef>"); |
|
55 _LIT (KDataComparison0_13, "<Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks2</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks2.dat</SourceRef>"); |
|
56 _LIT (KDataComparison0_14, "<Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
57 _LIT (KDataComparison0_15, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
58 _LIT (KDataComparison0_16, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
59 _LIT (KDataComparison0_17, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
60 _LIT (KDataComparison0_18, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010509T105003Z</Next></Anchor></Data></Item></Status>"); |
|
61 _LIT (KDataComparison0_19, "<Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
62 _LIT (KDataComparison0_20, "<Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
63 _LIT (KDataComparison0_21, "<LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Last xmlns=\'syncml:metinf\'>0</Last>"); |
|
64 _LIT (KDataComparison0_22, "<Next xmlns=\'syncml:metinf\'>20010509T105145</Next></Anchor></Meta></Item></Alert><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
65 |
|
66 |
|
67 _LIT (KDataComparison1_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
68 _LIT (KDataComparison1_2, "<SessionID xmlns=\'syncml:syncml1.1\'>1871351294</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
69 _LIT (KDataComparison1_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63157234976619000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</LocURI>"); |
|
70 _LIT (KDataComparison1_4, "</Source><RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML?f1sess=194.200.144.243sync1871351294</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
71 _LIT (KDataComparison1_5, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID>"); |
|
72 _LIT (KDataComparison1_6, "<MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd>"); |
|
73 _LIT (KDataComparison1_7, "<TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>63157234976619000</SourceRef>"); |
|
74 _LIT (KDataComparison1_8, "<Data xmlns=\'syncml:syncml1.1\'>212</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
75 _LIT (KDataComparison1_9, "<CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
76 _LIT (KDataComparison1_10, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
77 _LIT (KDataComparison1_11, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next></Anchor></Data></Item></Status>"); |
|
78 _LIT (KDataComparison1_12, "<Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef>"); |
|
79 _LIT (KDataComparison1_13, "<Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks2</TargetRef><SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks2.dat</SourceRef>"); |
|
80 _LIT (KDataComparison1_14, "<Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
81 _LIT (KDataComparison1_15, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
82 _LIT (KDataComparison1_16, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
83 _LIT (KDataComparison1_17, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
84 _LIT (KDataComparison1_18, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010509T105003Z</Next></Anchor></Data></Item></Status>"); |
|
85 _LIT (KDataComparison1_19, "<Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
86 _LIT (KDataComparison1_20, "<Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
87 _LIT (KDataComparison1_21, "<LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Last xmlns=\'syncml:metinf\'>0</Last>"); |
|
88 _LIT (KDataComparison1_22, "<Next xmlns=\'syncml:metinf\'>20010509T105145</Next></Anchor></Meta></Item></Alert><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
89 |
|
90 |
|
91 _LIT (KDataComparison2_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
92 _LIT (KDataComparison2_2, "<SessionID xmlns=\'syncml:syncml1.1\'>43049786</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
93 _LIT (KDataComparison2_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63156883059050000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
94 _LIT (KDataComparison2_4, "<LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</LocURI></Source>"); |
|
95 _LIT (KDataComparison2_5, "<RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML?f1sess=194.200.144.243sync43049786</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
96 _LIT (KDataComparison2_6, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'>"); |
|
97 _LIT (KDataComparison2_7, "<CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef>"); |
|
98 _LIT (KDataComparison2_8, "<Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.62/servlet/fde.sync.SyncML</TargetRef>"); |
|
99 _LIT (KDataComparison2_9, "<SourceRef xmlns=\'syncml:syncml1.1\'>63156883059050000</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'>"); |
|
100 _LIT (KDataComparison2_10, "<CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef>"); |
|
101 _LIT (KDataComparison2_11, "<Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
102 _LIT (KDataComparison2_12, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
103 _LIT (KDataComparison2_13, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
104 _LIT (KDataComparison2_14, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
105 _LIT (KDataComparison2_15, "<CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
106 _LIT (KDataComparison2_16, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
107 _LIT (KDataComparison2_17, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010510T120024Z</Next>"); |
|
108 _LIT (KDataComparison2_18, "</Anchor></Data></Item></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
109 _LIT (KDataComparison2_19, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
110 _LIT (KDataComparison2_20, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
111 _LIT (KDataComparison2_21, "<Item xmlns=\'syncml:syncml1.1\'><Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010501T172705Z</Next>"); |
|
112 _LIT (KDataComparison2_22, "</Anchor></Data></Item></Status><Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>200</Data>"); |
|
113 _LIT (KDataComparison2_23, "<Item xmlns=\'syncml:syncml1.1\'><Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target>"); |
|
114 _LIT (KDataComparison2_24, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source>"); |
|
115 _LIT (KDataComparison2_25, "<Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Last xmlns=\'syncml:metinf\'>0</Last><Next xmlns=\'syncml:metinf\'>20010501T172843</Next></Anchor>"); |
|
116 _LIT (KDataComparison2_26, "</Meta></Item></Alert><Results xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>6</CmdID><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef>"); |
|
117 _LIT (KDataComparison2_27, "<Meta xmlns=\'syncml:syncml1.1\'><Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><TargetRef xmlns=\'syncml:syncml1.1\'>./devinf11</TargetRef>"); |
|
118 _LIT (KDataComparison2_28, "<Item xmlns=\'syncml:syncml1.1\'><Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./devinf11</LocURI></Source>"); |
|
119 _LIT (KDataComparison2_29, "<Meta xmlns=\'syncml:syncml1.1\'><Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta>"); |
|
120 _LIT (KDataComparison2_30, "<Data xmlns=\'syncml:syncml1.1\'>2006A1D2D2F2F53594E434D4C2F2F44544420446576496E6620312E312F2F454E4A653312E3101513667573696F6E4F6E652C20496E632E0155353796E634D4C2046444"); |
|
121 _LIT (KDataComparison2_31, "5015E3312E300149346312053796E634D4C205346444520312E30014B373657276657201475D32E2F43414C454E444152014C343616C656E646172015A463746578742F782D7663616C656E64617201643312E"); |
|
122 _LIT (KDataComparison2_32, "3001162463746578742F782D7663616C656E64617201643312E300115F60331016033201603330111475D32E2F434F4E5441435453014C3436F6E7461637473015A463746578742F782D766361726401643322"); |
|
123 _LIT (KDataComparison2_33, "E3101162463746578742F782D766361726401643322E310115F60331016033201603330111475D32E2F582D46312D424F4F4B4D41524B014C3426F6F6B6D61726B73015A463746578742F782D66312D626F6F6"); |
|
124 _LIT (KDataComparison2_34, "B6D61726B01643312E3001162463746578742F782D66312D626F6F6B6D61726B01643312E300115F6033101603320160333011145463746578742F782D7663616C656E64617201583424547494E01633564341"); |
|
125 _LIT (KDataComparison2_35, "4C454E4441520158356455253494F4E01633312E300158353554D4D41525901483636872015834445534352495054494F4E014836368720158343415445474F524945530148363687201583445453544152540"); |
|
126 _LIT (KDataComparison2_36, "14836461746574696D65015834454454E44014836461746574696D650158341414C41524D014836461746574696D6501583434C41535301483636872015835252554C450148363687201583454E44016335643"); |
|
127 _LIT (KDataComparison2_37, "414C454E44415201463746578742F782D766361726401583424547494E0163356434152440158356455253494F4E01633322E31015834E0148363687201583464E01483636872015835449544C450148363687"); |
|
128 _LIT (KDataComparison2_38, "2015834F5247014836368720158354454C0148363687201573564F4943450148363687201573464158014836368720157343454C4C0148363687201573574F524B0148363687201573484F4D45014836368720"); |
|
129 _LIT (KDataComparison2_39, "1583454D41494C014836368720158355524C01483636872015834E4F54450148363687201583434C4153530148363687201583454E4401633564341524401463746578742F782D66312D626F6F6B6D61726B01"); |
|
130 _LIT (KDataComparison2_40, "583424547494E016334631424F4F4B4D41524B015834E414D45014836368720158355524C01483636872015834445534352495054494F4E01483636872015834C4153545649534954454444415445014836461"); |
|
131 _LIT (KDataComparison2_41, "746574696D6501583454E44016334631424F4F4B4D41524B0111</Data></Item></Results><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
132 |
|
133 |
|
134 _LIT (KDataComparison3_1, "<SyncML xmlns=\'syncml:syncml1.1\'><SyncHdr xmlns=\'syncml:syncml1.1\'><VerDTD xmlns=\'syncml:syncml1.1\'>1.1</VerDTD><VerProto xmlns=\'syncml:syncml1.1\'>SyncML/1.1</VerProto>"); |
|
135 _LIT (KDataComparison3_2, "<SessionID xmlns=\'syncml:syncml1.1\'>33459702</SessionID><MsgID xmlns=\'syncml:syncml1.1\'>1</MsgID><Target xmlns=\'syncml:syncml1.1\'>"); |
|
136 _LIT (KDataComparison3_3, "<LocURI xmlns=\'syncml:syncml1.1\'>63158186431599000</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
137 _LIT (KDataComparison3_4, "<LocURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML</LocURI></Source>"); |
|
138 _LIT (KDataComparison3_5, "<RespURI xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML?f1sess=194.200.144.243fuse10518377320</RespURI><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
139 _LIT (KDataComparison3_6, "<MaxMsgSize xmlns=\'syncml:metinf\'>12288</MaxMsgSize></Meta></SyncHdr><SyncBody xmlns=\'syncml:syncml1.1\'><Status xmlns=\'syncml:syncml1.1\'>"); |
|
140 _LIT (KDataComparison3_7, "<CmdID xmlns=\'syncml:syncml1.1\'>1</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>0</CmdRef>"); |
|
141 _LIT (KDataComparison3_8, "<Cmd xmlns=\'syncml:syncml1.1\'>SyncHdr</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>http://208.184.103.90/servlet/fde.sync.SyncML</TargetRef>"); |
|
142 _LIT (KDataComparison3_9, "<SourceRef xmlns=\'syncml:syncml1.1\'>63158186431599000</SourceRef><Data xmlns=\'syncml:syncml1.1\'>212</Data></Status><Status xmlns=\'syncml:syncml1.1\'>"); |
|
143 _LIT (KDataComparison3_10, "<CmdID xmlns=\'syncml:syncml1.1\'>2</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef><CmdRef xmlns=\'syncml:syncml1.1\'>1</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Put</Cmd>"); |
|
144 _LIT (KDataComparison3_11, "<Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>3</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
145 _LIT (KDataComparison3_12, "<CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Get</Cmd><SourceRef xmlns=\'syncml:syncml1.1\'>./devinf11</SourceRef>"); |
|
146 _LIT (KDataComparison3_13, "<Data xmlns=\'syncml:syncml1.1\'>200</Data></Status><Status xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>4</CmdID><MsgRef xmlns=\'syncml:syncml1.1\'>1</MsgRef>"); |
|
147 _LIT (KDataComparison3_14, "<CmdRef xmlns=\'syncml:syncml1.1\'>3</CmdRef><Cmd xmlns=\'syncml:syncml1.1\'>Alert</Cmd><TargetRef xmlns=\'syncml:syncml1.1\'>./bookmarks</TargetRef>"); |
|
148 _LIT (KDataComparison3_15, "<SourceRef xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</SourceRef><Data xmlns=\'syncml:syncml1.1\'>200</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
149 _LIT (KDataComparison3_16, "<Data xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'><Next xmlns=\'syncml:metinf\'>20010607T125033Z</Next></Anchor></Data></Item></Status>"); |
|
150 _LIT (KDataComparison3_17, "<Alert xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>5</CmdID><Data xmlns=\'syncml:syncml1.1\'>201</Data><Item xmlns=\'syncml:syncml1.1\'>"); |
|
151 _LIT (KDataComparison3_18, "<Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat?from_server</LocURI></Target><Source xmlns=\'syncml:syncml1.1\'>"); |
|
152 _LIT (KDataComparison3_19, "<LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'><Anchor xmlns=\'syncml:metinf\'>"); |
|
153 _LIT (KDataComparison3_20, "<Last xmlns=\'syncml:metinf\'>20010522T090813</Last><Next xmlns=\'syncml:metinf\'>20010607T125258</Next></Anchor></Meta></Item></Alert><Results xmlns=\'syncml:syncml1.1\'>"); |
|
154 _LIT (KDataComparison3_21, "<CmdID xmlns=\'syncml:syncml1.1\'>6</CmdID><CmdRef xmlns=\'syncml:syncml1.1\'>2</CmdRef><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
155 _LIT (KDataComparison3_22, "<Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><TargetRef xmlns=\'syncml:syncml1.1\'>./devinf11</TargetRef><Item xmlns=\'syncml:syncml1.1\'>"); |
|
156 _LIT (KDataComparison3_23, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./devinf11</LocURI></Source><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
157 _LIT (KDataComparison3_24, "<Type xmlns=\'syncml:metinf\'>application/vnd.syncml-devinf+xml</Type></Meta><Data xmlns=\'syncml:syncml1.1\'>2006A1D2D2F2F53594E434D4C2F2F44544420446576496E6620312E312"); |
|
158 _LIT (KDataComparison3_25, "F2F454E4A653312E3101513667573696F6E4F6E652C20496E632E0155353796E634D4C20464445015E3312E300149346312053796E634D4C205346444520312E30014B373657276657201475D32E2F43616C"); |
|
159 _LIT (KDataComparison3_26, "656E646172014C343616C656E646172015A463746578742F782D7663616C656E64617201643312E3001162463746578742F782D7663616C656E64617201643312E300115F6033101603320111475D32E2F43"); |
|
160 _LIT (KDataComparison3_27, "6F6E7461637473014C3436F6E7461637473015A463746578742F782D766361726401643322E3101162463746578742F782D766361726401643322E310115F6033101603320111475D32E2F426F6F6B6D6172"); |
|
161 _LIT (KDataComparison3_28, "6B73014C3426F6F6B6D61726B73015A463746578742F546573745479706501643312E3001162463746578742F546573745479706501643312E300115F603310160332011145463746578742F782D7663616C"); |
|
162 _LIT (KDataComparison3_29, "656E64617201583424547494E016335643414C454E4441520158356455253494F4E01633312E300158353554D4D41525901483636872015834445534352495054494F4E014836368720158343415445474F5"); |
|
163 _LIT (KDataComparison3_30, "2494553014836368720158344545354415254014836461746574696D65015834454454E44014836461746574696D650158341414C41524D014836461746574696D6501583434C41535301483636872015834"); |
|
164 _LIT (KDataComparison3_31, "54E44016335643414C454E44415201463746578742F782D766361726401583424547494E0163356434152440158356455253494F4E01633322E31015834E0148363687201583464E01483636872015835449"); |
|
165 _LIT (KDataComparison3_32, "544C4501483636872015834F5247014836368720158354454C0148363687201573564F4943450148363687201573464158014836368720157343454C4C0148363687201573574F524B014836368720157348"); |
|
166 _LIT (KDataComparison3_33, "4F4D450148363687201583454D41494C014836368720158355524C01483636872015834E4F54450148363687201583434C4153530148363687201583454E4401633564341524401463746578742F782D6631"); |
|
167 _LIT (KDataComparison3_34, "2D626F6F6B6D61726B01583424547494E016334631424F4F4B4D41524B015834E414D45014836368720158355524C01483636872015834445534352495054494F4E01483636872015834C415354564953495"); |
|
168 _LIT (KDataComparison3_35, "4454444415445014836461746574696D6501583454E44016334631424F4F4B4D41524B0111</Data></Item></Results><Sync xmlns=\'syncml:syncml1.1\'>"); |
|
169 _LIT (KDataComparison3_36, "<CmdID xmlns=\'syncml:syncml1.1\'>7</CmdID><Target xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>C:\\System\\Data\\SyncML\\bookmarks1.dat</LocURI></Target>"); |
|
170 _LIT (KDataComparison3_37, "<Source xmlns=\'syncml:syncml1.1\'><LocURI xmlns=\'syncml:syncml1.1\'>./bookmarks</LocURI></Source><Atomic xmlns=\'syncml:syncml1.1\'>"); |
|
171 _LIT (KDataComparison3_38, "<CmdID xmlns=\'syncml:syncml1.1\'>50</CmdID><Add xmlns=\'syncml:syncml1.1\'><CmdID xmlns=\'syncml:syncml1.1\'>8</CmdID><Meta xmlns=\'syncml:syncml1.1\'>"); |
|
172 _LIT (KDataComparison3_39, "<Type xmlns=\'syncml:metinf\'>text/x-f1-bookmark</Type></Meta><Item xmlns=\'syncml:syncml1.1\'><Source xmlns=\'syncml:syncml1.1\'>"); |
|
173 _LIT (KDataComparison3_40, "<LocURI xmlns=\'syncml:syncml1.1\'>fd279764-1dd1-11b2-80eb-ff2b70e4fe89</LocURI></Source>"); |
|
174 _LIT (KDataComparison3_41, "<Data xmlns=\'syncml:syncml1.1\'>BEGIN:F1-BOOKMARK\r\nVERSION:1.0\r\nNAME:Server\'s Bookmark\r\nURL:www.servers-place.com\r\nEND:F1-BOOKMARK\r\n</Data></Item></Add>"); |
|
175 _LIT (KDataComparison3_42, "</Atomic></Sync><Final xmlns=\'syncml:syncml1.1\'></Final></SyncBody></SyncML>"); |
|
176 |
|
177 _LIT (KDataComparison4_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><head xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><meta xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"Felix\" content=\"jees\"></meta></head>"); |
|
178 _LIT (KDataComparison4_2, "<template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' onenterbackward=\"#card1\" ontimer=\"#card1\">"); |
|
179 _LIT (KDataComparison4_3, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"template do\" name=\"doName\" optional=\"true\" xml:lang=\"lang\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do>"); |
|
180 _LIT (KDataComparison4_4, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\"><refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></refresh></onevent></template>"); |
|
181 _LIT (KDataComparison4_5, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" class=\"cards\" title=\"Title\" newcontext=\"true\" ordered=\"true\" xml:lang=\"english\">"); |
|
182 _LIT (KDataComparison4_6, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"ontimer\"><noop xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></noop></onevent>"); |
|
183 _LIT (KDataComparison4_7, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterbackward\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\" sendreferer=\"false\" method=\"get\" accept-charset=\"charset\">"); |
|
184 _LIT (KDataComparison4_8, "</go></onevent><timer xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"clock\" value=\"100\"></timer><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
185 _LIT (KDataComparison4_9, "<fieldset xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"fs\"> #PCDATA <em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>ephasized</em><strong xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>strong</strong>"); |
|
186 _LIT (KDataComparison4_10, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><i xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><u xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Biu </u></i></b></fieldset>"); |
|
187 _LIT (KDataComparison4_11, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> big </big><small xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> tiny </small><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
188 _LIT (KDataComparison4_12, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"alternative \" src=\"pic\" localsrc=\"localPic\" vspace=\"10\" hspace=\"20\" align=\"middle\" height=\"1000\" width=\"200\" xml:lang=\"lang\"></img>"); |
|
189 _LIT (KDataComparison4_13, "<anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"other.document\" method=\"post\">"); |
|
190 _LIT (KDataComparison4_14, "<postfield xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"data\" value=\"value\"></postfield></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\">link</a>"); |
|
191 _LIT (KDataComparison4_15, "<table xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Table\" align=\"center\" column=\"1\"><tr xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><td xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Stuff </td>"); |
|
192 _LIT (KDataComparison4_16, "</tr></table><input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" type=\"password\" value=\"def\" format=\"*M\" emptyok=\"true\" size=\"20\" maxlength=\"100\" tabindex=\"3\" title=\"input\"></input>"); |
|
193 _LIT (KDataComparison4_17, "<select xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><option xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"1\" title=\"first\" onpick=\"#card2\"> Yeah </option>"); |
|
194 _LIT (KDataComparison4_18, "<optgroup xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Group1\"><option xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"2\"> Yeah <onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onpick\">"); |
|
195 _LIT (KDataComparison4_19, "<refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></refresh></onevent></option></optgroup></select></p><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\">"); |
|
196 _LIT (KDataComparison4_20, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"variable\" value=\"varValue\"></setvar></prev></do></card></wml>"); |
|
197 |
|
198 _LIT (KDataComparison5_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Character entitie$\">"); |
|
199 _LIT (KDataComparison5_2, "<onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\"><refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
200 _LIT (KDataComparison5_3, "<setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" value=\"\" & \' < > Â Â $\"></setvar></refresh></onevent>"); |
|
201 _LIT (KDataComparison5_4, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Quote: \"<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Ampersand: &<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
202 _LIT (KDataComparison5_5, "</br> Apos: \'<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Lesser: <<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> Greater: >"); |
|
203 _LIT (KDataComparison5_6, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> NBSP: Â <br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> S-hyp: Â<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
204 _LIT (KDataComparison5_7, "</br> $<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
205 _LIT (KDataComparison5_8, "</br>[[0x82 : Entities in attribute: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
206 |
|
207 _LIT (KDataComparison6_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Crystal Demo\">"); |
|
208 _LIT (KDataComparison6_2, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
209 _LIT (KDataComparison6_3, "</br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Welcome</b>"); |
|
210 _LIT (KDataComparison6_4, "</big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> to the<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
211 _LIT (KDataComparison6_5, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Mib\'s World!</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
212 _LIT (KDataComparison6_6, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"Next\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\"></go></do></p></card>"); |
|
213 _LIT (KDataComparison6_7, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card2\" title=\"Next card\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"left\">"); |
|
214 _LIT (KDataComparison6_8, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Well, that\'s pretty much it.</em>"); |
|
215 _LIT (KDataComparison6_9, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
216 _LIT (KDataComparison6_10, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"file://c|/wml-events-do-7.wml\"></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card1\">Prev card</a>"); |
|
217 _LIT (KDataComparison6_11, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Go back\">"); |
|
218 _LIT (KDataComparison6_12, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
219 _LIT (KDataComparison6_13, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"image\" src=\"demo.mbm\" align=\"bottom\"></img><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
220 |
|
221 _LIT (KDataComparison7_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><head xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><meta xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' http-equiv=\"Cache-Control\" content=\"max-age=300\"></meta></head>"); |
|
222 _LIT (KDataComparison7_2, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" label=\"BBC Homepage\"><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"mainmenu.wml\"></go></do>"); |
|
223 _LIT (KDataComparison7_3, "<do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Back\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
224 _LIT (KDataComparison7_4, "<b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Sport Headlines</b><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
225 _LIT (KDataComparison7_5, "<small xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>at 14:45 on 31/5/2000</small><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
226 _LIT (KDataComparison7_6, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"TOP STORIES\" href=\"storiesheads1.wml\">TOP STORIES</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
227 _LIT (KDataComparison7_7, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"FOOTBALL\" href=\"footballheads1.wml\">FOOTBALL</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
228 _LIT (KDataComparison7_8, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"GOLF\" href=\"golfheads1.wml\">GOLF</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
229 _LIT (KDataComparison7_9, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"CRICKET\" href=\"cricketheads1.wml\">CRICKET</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
230 _LIT (KDataComparison7_10, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"MOTORSPORT\" href=\"motorsportheads1.wml\">MOTORSPORT</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
231 _LIT (KDataComparison7_11, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"RUGBY UNION\" href=\"rugbyunionheads1.wml\">RUGBY UNION</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
232 _LIT (KDataComparison7_12, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"RUGBY LEAGUE\" href=\"rugbyleagueheads1.wml\">RUGBY LEAGUE</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
233 _LIT (KDataComparison7_13, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"TENNIS\" href=\"tennisheads1.wml\">TENNIS</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
234 _LIT (KDataComparison7_14, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"SNOOKER\" href=\"snookerheads1.wml\">SNOOKER</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p>"); |
|
235 _LIT (KDataComparison7_15, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"SportAlert\" href=\"http://bbc.co.uk/cgi-bin/alert/prgterse.pl?subject=18 \">BBC Sport programmes Alert</a></p>"); |
|
236 _LIT (KDataComparison7_16, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"Sports Headlines\" href=\"sportheads1.wml\">Sports Headlines</a></p>"); |
|
237 _LIT (KDataComparison7_17, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"BBC Homepage\" href=\"mainmenu.wml\">BBC Homepage</a></p></card></wml>"); |
|
238 |
|
239 _LIT (KDataComparison8_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" label=\"iii.co.uk home\">"); |
|
240 _LIT (KDataComparison8_2, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/index.wml#index\"></go></do><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" name=\"Back\" label=\"back\">"); |
|
241 _LIT (KDataComparison8_3, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></template><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Quote/Graph\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
242 _LIT (KDataComparison8_4, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>1. Enter Stock Code<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#quotes\"></go></anchor>"); |
|
243 _LIT (KDataComparison8_5, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>2. Name Search<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#namesearch\"></go></anchor></p>"); |
|
244 _LIT (KDataComparison8_6, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
245 _LIT (KDataComparison8_7, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
246 _LIT (KDataComparison8_8, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card>"); |
|
247 _LIT (KDataComparison8_9, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"quotes\" title=\"Quote/Graph\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Enter Stock Code<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
248 _LIT (KDataComparison8_10, "<input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"text\" name=\"s\"></input>[[0x80 : price.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Get Quote</a>"); |
|
249 _LIT (KDataComparison8_11, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x80 : graph.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Get 12 month</a>"); |
|
250 _LIT (KDataComparison8_12, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x80 : graph.wml?s=s]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"&p=1d\">Get Intraday</a></p>"); |
|
251 _LIT (KDataComparison8_13, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
252 _LIT (KDataComparison8_14, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
253 _LIT (KDataComparison8_15, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card>"); |
|
254 _LIT (KDataComparison8_16, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"namesearch\" title=\"Name Search\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Enter search term:"); |
|
255 _LIT (KDataComparison8_17, "<input xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"text\" name=\"n\"></input>[[0x80 : name.wml?n=n]]<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"\">Search</a></p>"); |
|
256 _LIT (KDataComparison8_18, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>_____________<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
257 _LIT (KDataComparison8_19, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/#index\"></go>Main Menu</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' title=\"go..\">"); |
|
258 _LIT (KDataComparison8_20, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"/.wml\"></go>Help</anchor><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
259 |
|
260 _LIT (KDataComparison9_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card1\" title=\"Title\"><onevent xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"onenterforward\">"); |
|
261 _LIT (KDataComparison9_2, "<refresh xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><setvar xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' name=\"var\" value=\"VarVal\"></setvar></refresh></onevent>"); |
|
262 _LIT (KDataComparison9_3, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>[[0x82 : Plain variable: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x82 : NoEsc: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
263 _LIT (KDataComparison9_4, "</br>[[0x80 : Escape: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>[[0x81 : UnEsc: var]]<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
264 |
|
265 _LIT (KDataComparison10_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><template xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" name=\"Prev\" label=\"Back\">"); |
|
266 _LIT (KDataComparison10_2, "<prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"options\" name=\"Home\" label=\"Home\">"); |
|
267 _LIT (KDataComparison10_3, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://wap.rtsnetworks\"></go></do></template><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"index\" ontimer=\"#menu\">"); |
|
268 _LIT (KDataComparison10_4, "<timer xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' value=\"20\"></timer><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
269 _LIT (KDataComparison10_5, "<img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' src=\"images/RTSe_slogan.wbmp\" alt=\"Welcome !\" align=\"middle\"></img></p></card>"); |
|
270 _LIT (KDataComparison10_6, "<card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"menu\" title=\"RTSe WAP demos\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>"); |
|
271 _LIT (KDataComparison10_7, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.178/RouteWAP/\">» RouteWAP</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
272 _LIT (KDataComparison10_8, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.178/OutlookBridge/start.asp\">» Outlook Bridge</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
273 _LIT (KDataComparison10_9, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/wap_demos.wml#card1\">» HKL Timetables</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
274 _LIT (KDataComparison10_10, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://sodium.rtsnetworks.com:8080/apps/ytv/\">» YTV Timetables</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
275 _LIT (KDataComparison10_11, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/wap_demos.wml#card2\">» Wireless Investor</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
276 _LIT (KDataComparison10_12, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"http://193.94.194.165/hangman/hangman.wml\">» HangMan</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
277 _LIT (KDataComparison10_13, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"contact_us.wml\">Contact Us</a><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
278 _LIT (KDataComparison10_14, "<a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"whats_new.wml\">What\'s New</a></p></card></wml>"); |
|
279 |
|
280 _LIT (KDataComparison11_1, "<wml xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' xmlns=\'-//WAPFORUM//DTD WML 1.1 ATTRIBUTE SWITCH TEST//EN\' id=\"card1\" TestAttribute=\"Crystal Demo1\" TestAttribute=\"Crystal Demo2\">"); |
|
281 _LIT (KDataComparison11_2, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"center\"><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
282 _LIT (KDataComparison11_3, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'> Welcome</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br> to the<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
283 _LIT (KDataComparison11_4, "<big xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><b xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Mib\'s World!</b></big><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"accept\" label=\"Next\">"); |
|
284 _LIT (KDataComparison11_5, "<go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card2\"></go></do></p></card><card xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' id=\"card2\" title=\"Next card\"><p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' align=\"left\">"); |
|
285 _LIT (KDataComparison11_6, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><em xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'>Well, that\'s pretty much it.</em><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br>"); |
|
286 _LIT (KDataComparison11_7, "<anchor xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><go xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"file://c|/wml-events-do-7.wml\"></go></anchor><a xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' href=\"#card1\">Prev card</a>"); |
|
287 _LIT (KDataComparison11_8, "<br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br><do xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' type=\"prev\" label=\"Go back\"><prev xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></prev></do></p>"); |
|
288 _LIT (KDataComparison11_9, "<p xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'><img xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\' alt=\"image\" src=\"demo.mbm\" align=\"bottom\"></img><br xmlns=\'-//WAPFORUM//DTD WML 1.1//EN\'></br></p></card></wml>"); |
|
289 |
|
290 |
|
291 static RTest test(_L("t_wbxmlparsertests")); |
|
292 |
|
293 |
|
294 /** |
|
295 @SYMTestCaseID SYSLIB-XML-CT-3726 |
|
296 @SYMTestCaseDesc Parsing wml documents. |
|
297 @SYMTestPriority Medium |
|
298 @SYMTestActions Parse wml documents and compare the output with the expected output. |
|
299 @SYMTestExpectedResults Parsed output and expected output should match. |
|
300 @SYMREQ REQ0000 |
|
301 */ |
|
302 static void ParserTestsL() |
|
303 { |
|
304 test.Next(_L(" @SYMTestCaseID:SYSLIB-XML-CT-3726 ParserTestsL tests... ")); |
|
305 |
|
306 __UHEAP_MARK; |
|
307 |
|
308 TBuf16<8000> *expectedOutput = new(ELeave) TBuf16<8000>; |
|
309 CleanupStack::PushL(expectedOutput); |
|
310 |
|
311 CStabilityTestClass* parserTest = CStabilityTestClass::NewL(test, EFalse, KMaxChunkSize); |
|
312 CleanupStack::PushL(parserTest); |
|
313 |
|
314 parserTest->iOutput->Zero(); |
|
315 |
|
316 // Test0 |
|
317 |
|
318 expectedOutput->Zero(); |
|
319 expectedOutput->Append(KDataComparison0_1); |
|
320 expectedOutput->Append(KDataComparison0_2); |
|
321 expectedOutput->Append(KDataComparison0_3); |
|
322 expectedOutput->Append(KDataComparison0_4); |
|
323 expectedOutput->Append(KDataComparison0_5); |
|
324 expectedOutput->Append(KDataComparison0_6); |
|
325 expectedOutput->Append(KDataComparison0_7); |
|
326 expectedOutput->Append(KDataComparison0_8); |
|
327 expectedOutput->Append(KDataComparison0_9); |
|
328 expectedOutput->Append(KDataComparison0_10); |
|
329 expectedOutput->Append(KDataComparison0_11); |
|
330 expectedOutput->Append(KDataComparison0_12); |
|
331 expectedOutput->Append(KDataComparison0_13); |
|
332 expectedOutput->Append(KDataComparison0_14); |
|
333 expectedOutput->Append(KDataComparison0_15); |
|
334 expectedOutput->Append(KDataComparison0_16); |
|
335 expectedOutput->Append(KDataComparison0_17); |
|
336 expectedOutput->Append(KDataComparison0_18); |
|
337 expectedOutput->Append(KDataComparison0_19); |
|
338 expectedOutput->Append(KDataComparison0_20); |
|
339 expectedOutput->Append(KDataComparison0_21); |
|
340 expectedOutput->Append(KDataComparison0_22); |
|
341 |
|
342 parserTest->ParseEntryL(KTestDocument0(), &CStabilityTestClass::TestWholeL); |
|
343 test(*expectedOutput == *parserTest->iOutput); |
|
344 |
|
345 parserTest->iOutput->Zero(); |
|
346 |
|
347 parserTest->ParseEntryL(KTestDocument0(), &CStabilityTestClass::TestChunkL); |
|
348 test(*expectedOutput == *parserTest->iOutput); |
|
349 |
|
350 parserTest->iOutput->Zero(); |
|
351 |
|
352 |
|
353 // Test1 |
|
354 |
|
355 expectedOutput->Zero(); |
|
356 expectedOutput->Append(KDataComparison1_1); |
|
357 expectedOutput->Append(KDataComparison1_2); |
|
358 expectedOutput->Append(KDataComparison1_3); |
|
359 expectedOutput->Append(KDataComparison1_4); |
|
360 expectedOutput->Append(KDataComparison1_5); |
|
361 expectedOutput->Append(KDataComparison1_6); |
|
362 expectedOutput->Append(KDataComparison1_7); |
|
363 expectedOutput->Append(KDataComparison1_8); |
|
364 expectedOutput->Append(KDataComparison1_9); |
|
365 expectedOutput->Append(KDataComparison1_10); |
|
366 expectedOutput->Append(KDataComparison1_11); |
|
367 expectedOutput->Append(KDataComparison1_12); |
|
368 expectedOutput->Append(KDataComparison1_13); |
|
369 expectedOutput->Append(KDataComparison1_14); |
|
370 expectedOutput->Append(KDataComparison1_15); |
|
371 expectedOutput->Append(KDataComparison1_16); |
|
372 expectedOutput->Append(KDataComparison1_17); |
|
373 expectedOutput->Append(KDataComparison1_18); |
|
374 expectedOutput->Append(KDataComparison1_19); |
|
375 expectedOutput->Append(KDataComparison1_20); |
|
376 expectedOutput->Append(KDataComparison1_21); |
|
377 expectedOutput->Append(KDataComparison1_22); |
|
378 |
|
379 parserTest->ParseEntryL(KTestDocument1(), &CStabilityTestClass::TestWholeL); |
|
380 test(*expectedOutput == *parserTest->iOutput); |
|
381 |
|
382 parserTest->iOutput->Zero(); |
|
383 |
|
384 parserTest->ParseEntryL(KTestDocument1(), &CStabilityTestClass::TestChunkL); |
|
385 test(*expectedOutput == *parserTest->iOutput); |
|
386 |
|
387 parserTest->iOutput->Zero(); |
|
388 |
|
389 |
|
390 // Test2 |
|
391 |
|
392 expectedOutput->Zero(); |
|
393 expectedOutput->Append(KDataComparison2_1); |
|
394 expectedOutput->Append(KDataComparison2_2); |
|
395 expectedOutput->Append(KDataComparison2_3); |
|
396 expectedOutput->Append(KDataComparison2_4); |
|
397 expectedOutput->Append(KDataComparison2_5); |
|
398 expectedOutput->Append(KDataComparison2_6); |
|
399 expectedOutput->Append(KDataComparison2_7); |
|
400 expectedOutput->Append(KDataComparison2_8); |
|
401 expectedOutput->Append(KDataComparison2_9); |
|
402 expectedOutput->Append(KDataComparison2_10); |
|
403 expectedOutput->Append(KDataComparison2_11); |
|
404 expectedOutput->Append(KDataComparison2_12); |
|
405 expectedOutput->Append(KDataComparison2_13); |
|
406 expectedOutput->Append(KDataComparison2_14); |
|
407 expectedOutput->Append(KDataComparison2_15); |
|
408 expectedOutput->Append(KDataComparison2_16); |
|
409 expectedOutput->Append(KDataComparison2_17); |
|
410 expectedOutput->Append(KDataComparison2_18); |
|
411 expectedOutput->Append(KDataComparison2_19); |
|
412 expectedOutput->Append(KDataComparison2_20); |
|
413 expectedOutput->Append(KDataComparison2_21); |
|
414 expectedOutput->Append(KDataComparison2_22); |
|
415 expectedOutput->Append(KDataComparison2_23); |
|
416 expectedOutput->Append(KDataComparison2_24); |
|
417 expectedOutput->Append(KDataComparison2_25); |
|
418 expectedOutput->Append(KDataComparison2_26); |
|
419 expectedOutput->Append(KDataComparison2_27); |
|
420 expectedOutput->Append(KDataComparison2_28); |
|
421 expectedOutput->Append(KDataComparison2_29); |
|
422 expectedOutput->Append(KDataComparison2_30); |
|
423 expectedOutput->Append(KDataComparison2_31); |
|
424 expectedOutput->Append(KDataComparison2_32); |
|
425 expectedOutput->Append(KDataComparison2_33); |
|
426 expectedOutput->Append(KDataComparison2_34); |
|
427 expectedOutput->Append(KDataComparison2_35); |
|
428 expectedOutput->Append(KDataComparison2_36); |
|
429 expectedOutput->Append(KDataComparison2_37); |
|
430 expectedOutput->Append(KDataComparison2_38); |
|
431 expectedOutput->Append(KDataComparison2_39); |
|
432 expectedOutput->Append(KDataComparison2_40); |
|
433 expectedOutput->Append(KDataComparison2_41); |
|
434 |
|
435 parserTest->ParseEntryL(KTestDocument2(), &CStabilityTestClass::TestWholeL); |
|
436 test(*expectedOutput == *parserTest->iOutput); |
|
437 |
|
438 parserTest->iOutput->Zero(); |
|
439 |
|
440 parserTest->ParseEntryL(KTestDocument2(), &CStabilityTestClass::TestChunkL); |
|
441 test(*expectedOutput == *parserTest->iOutput); |
|
442 |
|
443 parserTest->iOutput->Zero(); |
|
444 |
|
445 |
|
446 // Test3 |
|
447 |
|
448 expectedOutput->Zero(); |
|
449 expectedOutput->Append(KDataComparison3_1); |
|
450 expectedOutput->Append(KDataComparison3_2); |
|
451 expectedOutput->Append(KDataComparison3_3); |
|
452 expectedOutput->Append(KDataComparison3_4); |
|
453 expectedOutput->Append(KDataComparison3_5); |
|
454 expectedOutput->Append(KDataComparison3_6); |
|
455 expectedOutput->Append(KDataComparison3_7); |
|
456 expectedOutput->Append(KDataComparison3_8); |
|
457 expectedOutput->Append(KDataComparison3_9); |
|
458 expectedOutput->Append(KDataComparison3_10); |
|
459 expectedOutput->Append(KDataComparison3_11); |
|
460 expectedOutput->Append(KDataComparison3_12); |
|
461 expectedOutput->Append(KDataComparison3_13); |
|
462 expectedOutput->Append(KDataComparison3_14); |
|
463 expectedOutput->Append(KDataComparison3_15); |
|
464 expectedOutput->Append(KDataComparison3_16); |
|
465 expectedOutput->Append(KDataComparison3_17); |
|
466 expectedOutput->Append(KDataComparison3_18); |
|
467 expectedOutput->Append(KDataComparison3_19); |
|
468 expectedOutput->Append(KDataComparison3_20); |
|
469 expectedOutput->Append(KDataComparison3_21); |
|
470 expectedOutput->Append(KDataComparison3_22); |
|
471 expectedOutput->Append(KDataComparison3_23); |
|
472 expectedOutput->Append(KDataComparison3_24); |
|
473 expectedOutput->Append(KDataComparison3_25); |
|
474 expectedOutput->Append(KDataComparison3_26); |
|
475 expectedOutput->Append(KDataComparison3_27); |
|
476 expectedOutput->Append(KDataComparison3_28); |
|
477 expectedOutput->Append(KDataComparison3_29); |
|
478 expectedOutput->Append(KDataComparison3_30); |
|
479 expectedOutput->Append(KDataComparison3_31); |
|
480 expectedOutput->Append(KDataComparison3_32); |
|
481 expectedOutput->Append(KDataComparison3_33); |
|
482 expectedOutput->Append(KDataComparison3_34); |
|
483 expectedOutput->Append(KDataComparison3_35); |
|
484 expectedOutput->Append(KDataComparison3_36); |
|
485 expectedOutput->Append(KDataComparison3_37); |
|
486 expectedOutput->Append(KDataComparison3_38); |
|
487 expectedOutput->Append(KDataComparison3_39); |
|
488 expectedOutput->Append(KDataComparison3_40); |
|
489 expectedOutput->Append(KDataComparison3_41); |
|
490 expectedOutput->Append(KDataComparison3_42); |
|
491 |
|
492 parserTest->ParseEntryL(KTestDocument3(), &CStabilityTestClass::TestWholeL); |
|
493 test(*expectedOutput == *parserTest->iOutput); |
|
494 |
|
495 parserTest->iOutput->Zero(); |
|
496 |
|
497 parserTest->ParseEntryL(KTestDocument3(), &CStabilityTestClass::TestChunkL); |
|
498 test(*expectedOutput == *parserTest->iOutput); |
|
499 |
|
500 parserTest->iOutput->Zero(); |
|
501 |
|
502 |
|
503 // Test4 |
|
504 |
|
505 expectedOutput->Zero(); |
|
506 expectedOutput->Append(KDataComparison4_1); |
|
507 expectedOutput->Append(KDataComparison4_2); |
|
508 expectedOutput->Append(KDataComparison4_3); |
|
509 expectedOutput->Append(KDataComparison4_4); |
|
510 expectedOutput->Append(KDataComparison4_5); |
|
511 expectedOutput->Append(KDataComparison4_6); |
|
512 expectedOutput->Append(KDataComparison4_7); |
|
513 expectedOutput->Append(KDataComparison4_8); |
|
514 expectedOutput->Append(KDataComparison4_9); |
|
515 expectedOutput->Append(KDataComparison4_10); |
|
516 expectedOutput->Append(KDataComparison4_11); |
|
517 expectedOutput->Append(KDataComparison4_12); |
|
518 expectedOutput->Append(KDataComparison4_13); |
|
519 expectedOutput->Append(KDataComparison4_14); |
|
520 expectedOutput->Append(KDataComparison4_15); |
|
521 expectedOutput->Append(KDataComparison4_16); |
|
522 expectedOutput->Append(KDataComparison4_17); |
|
523 expectedOutput->Append(KDataComparison4_18); |
|
524 expectedOutput->Append(KDataComparison4_19); |
|
525 expectedOutput->Append(KDataComparison4_20); |
|
526 |
|
527 parserTest->ParseEntryL(KTestDocument4(), &CStabilityTestClass::TestWholeL); |
|
528 test(*expectedOutput == *parserTest->iOutput); |
|
529 |
|
530 parserTest->iOutput->Zero(); |
|
531 |
|
532 parserTest->ParseEntryL(KTestDocument4(), &CStabilityTestClass::TestChunkL); |
|
533 test(*expectedOutput == *parserTest->iOutput); |
|
534 |
|
535 parserTest->iOutput->Zero(); |
|
536 |
|
537 |
|
538 // Test5 |
|
539 |
|
540 expectedOutput->Zero(); |
|
541 expectedOutput->Append(KDataComparison5_1); |
|
542 expectedOutput->Append(KDataComparison5_2); |
|
543 expectedOutput->Append(KDataComparison5_3); |
|
544 expectedOutput->Append(KDataComparison5_4); |
|
545 expectedOutput->Append(KDataComparison5_5); |
|
546 expectedOutput->Append(KDataComparison5_6); |
|
547 expectedOutput->Append(KDataComparison5_7); |
|
548 expectedOutput->Append(KDataComparison5_8); |
|
549 |
|
550 parserTest->ParseEntryL(KTestDocument5(), &CStabilityTestClass::TestWholeL); |
|
551 test(*expectedOutput == *parserTest->iOutput); |
|
552 |
|
553 parserTest->iOutput->Zero(); |
|
554 |
|
555 parserTest->ParseEntryL(KTestDocument5(), &CStabilityTestClass::TestChunkL); |
|
556 test(*expectedOutput == *parserTest->iOutput); |
|
557 |
|
558 parserTest->iOutput->Zero(); |
|
559 |
|
560 |
|
561 // Test6 |
|
562 |
|
563 expectedOutput->Zero(); |
|
564 expectedOutput->Append(KDataComparison6_1); |
|
565 expectedOutput->Append(KDataComparison6_2); |
|
566 expectedOutput->Append(KDataComparison6_3); |
|
567 expectedOutput->Append(KDataComparison6_4); |
|
568 expectedOutput->Append(KDataComparison6_5); |
|
569 expectedOutput->Append(KDataComparison6_6); |
|
570 expectedOutput->Append(KDataComparison6_7); |
|
571 expectedOutput->Append(KDataComparison6_8); |
|
572 expectedOutput->Append(KDataComparison6_9); |
|
573 expectedOutput->Append(KDataComparison6_10); |
|
574 expectedOutput->Append(KDataComparison6_11); |
|
575 expectedOutput->Append(KDataComparison6_12); |
|
576 expectedOutput->Append(KDataComparison6_13); |
|
577 |
|
578 parserTest->ParseEntryL(KTestDocument6(), &CStabilityTestClass::TestWholeL); |
|
579 test(*expectedOutput == *parserTest->iOutput); |
|
580 |
|
581 parserTest->iOutput->Zero(); |
|
582 |
|
583 parserTest->ParseEntryL(KTestDocument6(), &CStabilityTestClass::TestChunkL); |
|
584 test(*expectedOutput == *parserTest->iOutput); |
|
585 |
|
586 parserTest->iOutput->Zero(); |
|
587 |
|
588 |
|
589 // Test7 |
|
590 |
|
591 expectedOutput->Zero(); |
|
592 expectedOutput->Append(KDataComparison7_1); |
|
593 expectedOutput->Append(KDataComparison7_2); |
|
594 expectedOutput->Append(KDataComparison7_3); |
|
595 expectedOutput->Append(KDataComparison7_4); |
|
596 expectedOutput->Append(KDataComparison7_5); |
|
597 expectedOutput->Append(KDataComparison7_6); |
|
598 expectedOutput->Append(KDataComparison7_7); |
|
599 expectedOutput->Append(KDataComparison7_8); |
|
600 expectedOutput->Append(KDataComparison7_9); |
|
601 expectedOutput->Append(KDataComparison7_10); |
|
602 expectedOutput->Append(KDataComparison7_11); |
|
603 expectedOutput->Append(KDataComparison7_12); |
|
604 expectedOutput->Append(KDataComparison7_13); |
|
605 expectedOutput->Append(KDataComparison7_14); |
|
606 expectedOutput->Append(KDataComparison7_15); |
|
607 expectedOutput->Append(KDataComparison7_16); |
|
608 expectedOutput->Append(KDataComparison7_17); |
|
609 |
|
610 parserTest->ParseEntryL(KTestDocument7(), &CStabilityTestClass::TestWholeL); |
|
611 test(*expectedOutput == *parserTest->iOutput); |
|
612 |
|
613 parserTest->iOutput->Zero(); |
|
614 |
|
615 parserTest->ParseEntryL(KTestDocument7(), &CStabilityTestClass::TestChunkL); |
|
616 test(*expectedOutput == *parserTest->iOutput); |
|
617 |
|
618 parserTest->iOutput->Zero(); |
|
619 |
|
620 |
|
621 // Test8 |
|
622 |
|
623 expectedOutput->Zero(); |
|
624 expectedOutput->Append(KDataComparison8_1); |
|
625 expectedOutput->Append(KDataComparison8_2); |
|
626 expectedOutput->Append(KDataComparison8_3); |
|
627 expectedOutput->Append(KDataComparison8_4); |
|
628 expectedOutput->Append(KDataComparison8_5); |
|
629 expectedOutput->Append(KDataComparison8_6); |
|
630 expectedOutput->Append(KDataComparison8_7); |
|
631 expectedOutput->Append(KDataComparison8_8); |
|
632 expectedOutput->Append(KDataComparison8_9); |
|
633 expectedOutput->Append(KDataComparison8_10); |
|
634 expectedOutput->Append(KDataComparison8_11); |
|
635 expectedOutput->Append(KDataComparison8_12); |
|
636 expectedOutput->Append(KDataComparison8_13); |
|
637 expectedOutput->Append(KDataComparison8_14); |
|
638 expectedOutput->Append(KDataComparison8_15); |
|
639 expectedOutput->Append(KDataComparison8_16); |
|
640 expectedOutput->Append(KDataComparison8_17); |
|
641 expectedOutput->Append(KDataComparison8_18); |
|
642 expectedOutput->Append(KDataComparison8_19); |
|
643 expectedOutput->Append(KDataComparison8_20); |
|
644 |
|
645 parserTest->ParseEntryL(KTestDocument8(), &CStabilityTestClass::TestWholeL); |
|
646 test(*expectedOutput == *parserTest->iOutput); |
|
647 |
|
648 parserTest->iOutput->Zero(); |
|
649 |
|
650 parserTest->ParseEntryL(KTestDocument8(), &CStabilityTestClass::TestChunkL); |
|
651 test(*expectedOutput == *parserTest->iOutput); |
|
652 |
|
653 parserTest->iOutput->Zero(); |
|
654 |
|
655 |
|
656 // Test9 |
|
657 |
|
658 expectedOutput->Zero(); |
|
659 expectedOutput->Append(KDataComparison9_1); |
|
660 expectedOutput->Append(KDataComparison9_2); |
|
661 expectedOutput->Append(KDataComparison9_3); |
|
662 expectedOutput->Append(KDataComparison9_4); |
|
663 |
|
664 parserTest->ParseEntryL(KTestDocument9(), &CStabilityTestClass::TestWholeL); |
|
665 test(*expectedOutput == *parserTest->iOutput); |
|
666 |
|
667 parserTest->iOutput->Zero(); |
|
668 |
|
669 parserTest->ParseEntryL(KTestDocument9(), &CStabilityTestClass::TestChunkL); |
|
670 test(*expectedOutput == *parserTest->iOutput); |
|
671 |
|
672 parserTest->iOutput->Zero(); |
|
673 |
|
674 |
|
675 // Test10 |
|
676 |
|
677 expectedOutput->Zero(); |
|
678 expectedOutput->Append(KDataComparison10_1); |
|
679 expectedOutput->Append(KDataComparison10_2); |
|
680 expectedOutput->Append(KDataComparison10_3); |
|
681 expectedOutput->Append(KDataComparison10_4); |
|
682 expectedOutput->Append(KDataComparison10_5); |
|
683 expectedOutput->Append(KDataComparison10_6); |
|
684 expectedOutput->Append(KDataComparison10_7); |
|
685 expectedOutput->Append(KDataComparison10_8); |
|
686 expectedOutput->Append(KDataComparison10_9); |
|
687 expectedOutput->Append(KDataComparison10_10); |
|
688 expectedOutput->Append(KDataComparison10_11); |
|
689 expectedOutput->Append(KDataComparison10_12); |
|
690 expectedOutput->Append(KDataComparison10_13); |
|
691 expectedOutput->Append(KDataComparison10_14); |
|
692 |
|
693 parserTest->ParseEntryL(KTestDocument10(), &CStabilityTestClass::TestWholeL); |
|
694 test(*expectedOutput == *parserTest->iOutput); |
|
695 |
|
696 parserTest->iOutput->Zero(); |
|
697 |
|
698 parserTest->ParseEntryL(KTestDocument10(), &CStabilityTestClass::TestChunkL); |
|
699 test(*expectedOutput == *parserTest->iOutput); |
|
700 |
|
701 parserTest->iOutput->Zero(); |
|
702 |
|
703 |
|
704 // Test11 |
|
705 |
|
706 expectedOutput->Zero(); |
|
707 expectedOutput->Append(KDataComparison11_1); |
|
708 expectedOutput->Append(KDataComparison11_2); |
|
709 expectedOutput->Append(KDataComparison11_3); |
|
710 expectedOutput->Append(KDataComparison11_4); |
|
711 expectedOutput->Append(KDataComparison11_5); |
|
712 expectedOutput->Append(KDataComparison11_6); |
|
713 expectedOutput->Append(KDataComparison11_7); |
|
714 expectedOutput->Append(KDataComparison11_8); |
|
715 expectedOutput->Append(KDataComparison11_9); |
|
716 |
|
717 parserTest->ParseEntryL(KTestDocument11(), &CStabilityTestClass::TestWholeL); |
|
718 test(*expectedOutput == *parserTest->iOutput); |
|
719 |
|
720 parserTest->iOutput->Zero(); |
|
721 |
|
722 parserTest->ParseEntryL(KTestDocument11(), &CStabilityTestClass::TestChunkL); |
|
723 test(*expectedOutput == *parserTest->iOutput); |
|
724 |
|
725 parserTest->iOutput->Zero(); |
|
726 |
|
727 |
|
728 |
|
729 CleanupStack::PopAndDestroy(parserTest); |
|
730 CleanupStack::PopAndDestroy(expectedOutput); |
|
731 |
|
732 __UHEAP_MARKEND; |
|
733 } |
|
734 |
|
735 static void MainL() |
|
736 { |
|
737 ParserTestsL(); |
|
738 } |
|
739 |
|
740 TInt E32Main() |
|
741 { |
|
742 |
|
743 __UHEAP_MARK; |
|
744 test.Title(); |
|
745 test.Start(_L("initialising")); |
|
746 |
|
747 CTrapCleanup* c=CTrapCleanup::New(); |
|
748 |
|
749 // start the loader |
|
750 RFs fs; |
|
751 test (fs.Connect()==KErrNone); |
|
752 fs.Close(); |
|
753 |
|
754 test (c!=0); |
|
755 TRAPD(r,MainL()); |
|
756 test (r==KErrNone); |
|
757 delete c; |
|
758 test.End(); |
|
759 test.Close(); |
|
760 __UHEAP_MARKEND; |
|
761 |
|
762 return KErrNone; |
|
763 } |
|
764 |