Hantsy Bai wrote:
Currently the click.xml is lack of Dtd declaration header, like the following.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE click-app PUBLIC
    "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
    "http://click.apache.org/dtds/click-2.1.dtd";>

I think it would be a good idea to publish the official DTD online. As for the menu we don't have a DTD yet, but that shouldn't be too hard to write.

Adrian made the comment on bloating the click.xml but its also worth considering that existing Click projects won't have the DTD header defined. For IDE plugins it would be nice if the click.xml and menu.xml would be recognized without having to declare the DTD. This is similar to HTML pages which work without defining a DOCTYPE.

@Hantsy, can you raise a JIRA for publishing the DTDs online?

kind regards

bob

Reply via email to