test.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. Problem with libroxml.">
  25. <!-- - '
  26. -->
  27. <PARAM name="test5.param2" help="Help test5.param2" ptype="STRING" optional="true" order="true"/>
  28. <ACTION> echo "Broken comment. Problem with libroxml." </ACTION>
  29. </COMMAND>
  30. <COMMAND name="test6" help="Long ACTION. libexpat hangs">
  31. <ACTION>
  32. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  33. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  34. aaaa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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
  64. </ACTION>
  65. </COMMAND>
  66. <COMMAND help="The > within attribute value" name="test7" lock="false">
  67. <ACTION> echo "The > within attribute value" </ACTION>
  68. </COMMAND>
  69. </VIEW>
  70. </CLISH_MODULE>