wap.xml.sax 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. SAX.setDocumentLocator()
  2. SAX.startDocument()
  3. SAX.internalSubset(wml, -//WAPFORUM//DTD WML 1.1//EN, http://dark.wapit.com/vswap/tests/wap/DTD/wml11.dtd)
  4. SAX.externalSubset(wml, -//WAPFORUM//DTD WML 1.1//EN, http://dark.wapit.com/vswap/tests/wap/DTD/wml11.dtd)
  5. SAX.comment( (C) 1999, 2000 WAP Forum Ltd. All rights reserved )
  6. SAX.startElement(wml)
  7. SAX.characters(
  8. , 1)
  9. SAX.startElement(card, id='card1')
  10. SAX.characters(
  11. , 1)
  12. SAX.startElement(onevent, type='onenterforward')
  13. SAX.characters(
  14. , 1)
  15. SAX.startElement(go, href='/vswap/run/result.eml')
  16. SAX.characters(
  17. , 9)
  18. SAX.startElement(postfield, name='var', value='$test')
  19. SAX.endElement(postfield)
  20. SAX.characters(
  21. , 9)
  22. SAX.startElement(postfield, name='v', value='dark')
  23. SAX.endElement(postfield)
  24. SAX.characters(
  25. , 9)
  26. SAX.startElement(postfield, name='ts', value='0003')
  27. SAX.endElement(postfield)
  28. SAX.characters(
  29. , 9)
  30. SAX.startElement(postfield, name='tp', value='wml/state/variables/parsing/1')
  31. SAX.endElement(postfield)
  32. SAX.characters(
  33. , 9)
  34. SAX.startElement(postfield, name='ti', value='1')
  35. SAX.endElement(postfield)
  36. SAX.characters(
  37. , 9)
  38. SAX.startElement(postfield, name='expected', value='var:pass')
  39. SAX.endElement(postfield)
  40. SAX.characters(
  41. , 1)
  42. SAX.endElement(go)
  43. SAX.characters(
  44. , 1)
  45. SAX.endElement(onevent)
  46. SAX.characters(
  47. , 1)
  48. SAX.startElement(p)
  49. SAX.characters(If automatic testing failed, s, 36)
  50. SAX.startElement(anchor)
  51. SAX.characters(Failed, 6)
  52. SAX.startElement(go, href='/vswap/run/result.eml')
  53. SAX.characters(
  54. , 9)
  55. SAX.startElement(postfield, name='SUBMIT', value='No')
  56. SAX.endElement(postfield)
  57. SAX.startElement(postfield, name='v', value='dark')
  58. SAX.endElement(postfield)
  59. SAX.characters(
  60. , 9)
  61. SAX.startElement(postfield, name='ts', value='0003')
  62. SAX.endElement(postfield)
  63. SAX.characters(
  64. , 9)
  65. SAX.startElement(postfield, name='tp', value='wml/state/variables/parsing/1')
  66. SAX.endElement(postfield)
  67. SAX.characters(
  68. , 9)
  69. SAX.startElement(postfield, name='ti', value='1')
  70. SAX.endElement(postfield)
  71. SAX.characters(
  72. , 9)
  73. SAX.startElement(postfield, name='expected', value='var:pass')
  74. SAX.endElement(postfield)
  75. SAX.endElement(go)
  76. SAX.endElement(anchor)
  77. SAX.characters(., 1)
  78. SAX.endElement(p)
  79. SAX.characters(
  80. , 1)
  81. SAX.endElement(card)
  82. SAX.characters(
  83. , 2)
  84. SAX.endElement(wml)
  85. SAX.endDocument()