shortcut xsd file outdated

4 views
Skip to first unread message

Ron Wheeler

unread,
Jan 1, 2019, 11:28:16 PM1/1/19
to izpack-dev
When defining a shortcut panel, the phrase

<izpack:shortcuts version="5.0"
    xmlns:izpack="http://izpack.org/schema/shortcuts"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">

refers to

http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd

which is the older version 5.1.2

This gives a validation error in an IDE if you try to validate a shortcut panel specification that includes   <previousDisabled />

I think that this test xml is supposed to valid (if a bit short and useless)

<?xml version="1.0" encoding="UTF-8"?>
<izpack:shortcuts version="5.0"
    xmlns:izpack="http://izpack.org/schema/shortcuts"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://izpack.org/schema/shortcuts http://izpack.org/schema/5.0/izpack-shortcuts-5.0.xsd">


    <skipIfNotSupported />
    <lateShortcutInstall />
   <previousDisabled />
   <shortcut name="myApp" />

</izpack:shortcuts>

but is gives an error in Eclipse (STS) as

Invalid content was found starting with element 'previousDisabled'. One of '{skipIfNotSupported, defaultCurrentUser, notSupported, lateShortcutInstall, programGroup, shortcut}' is expected. 
Reply all
Reply to author
Forward
0 new messages