test.xml 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <CLISH_MODULE xmlns="http://clish.sourceforge.net/XMLSchema"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema
  5. http://clish.sourceforge.net/XMLSchema/clish.xsd">
  6. <!--=======================================================-->
  7. <VIEW name="test-view"
  8. prompt="${SYSTEM_NAME}# ">
  9. <COMMAND name="exit" help="Exit from the CLI" lock="false">
  10. <ACTION builtin="clish_close"/>
  11. </COMMAND>
  12. <COMMAND name="test1" help="" lock="false">
  13. <ACTION> echo "Empty attribute" </ACTION>
  14. </COMMAND>
  15. <COMMAND name="test2" help='Single quotes' lock="false">
  16. <ACTION> echo "Single quotes" </ACTION>
  17. </COMMAND>
  18. <COMMAND name="test3" help='"Single quotes with nested common quotes"' lock="false">
  19. <ACTION> echo "Single quotes with nested common quotes" </ACTION>
  20. </COMMAND>
  21. <COMMAND name="test4" help="'Common quotes with nested single quotes'" lock="false">
  22. <ACTION> echo "Common quotes with nested single quotes" </ACTION>
  23. </COMMAND>
  24. <COMMAND name="test5" help="Broken comment">
  25. <!-- <PARAM name="test5.param1" help="ttt" ptype="STRING" test='! -z "www"'/>
  26. -->
  27. <PARAM name="test5.param2" help="Help test5.param2" ptype="STRING" optional="true" order="true"/>
  28. <ACTION> echo "Broken comment" </ACTION>
  29. </COMMAND>
  30. <COMMAND name="test6" help="Long ACTION. libexpat hangs">
  31. <ACTION>
  32. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  33. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa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