test-invalid.xml 902 B

12345678910111213141516171819202122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Intentionally invalid document for testing validation error display -->
  3. <ui-layout-def xmlns="http://quadarax.com/ui-layout-definition"
  4. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  5. version="1.6" schema-version="1.6" target-platform="basic">
  6. <!-- Missing required <patterns> section -->
  7. <!-- Invalid element at root level -->
  8. <bogus-element foo="bar"/>
  9. <!-- Window without required name attribute -->
  10. <window title="Broken Window">
  11. <template>
  12. <!-- Unknown control type (not in any schema) -->
  13. <SuperWidget name="ctrl_001" x="0" y="0" width="100" height="100"/>
  14. </template>
  15. </window>
  16. <!-- Duplicate window name -->
  17. <window name="" title="Empty Name Window">
  18. <template>
  19. <Label name="ctrl_002" x="0" y="0" width="100" height="30"/>
  20. </template>
  21. </window>
  22. </ui-layout-def>