You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@click.apache.org by "hantsy bai (JIRA)" <ji...@apache.org> on 2009/10/26 02:42:59 UTC
[jira] Created: (CLK-587) Define an official DTD DOCTYPE
declaration in click.xml
Define an official DTD DOCTYPE declaration in click.xml
-------------------------------------------------------
Key: CLK-587
URL: https://issues.apache.org/jira/browse/CLK-587
Project: Click
Issue Type: Task
Components: core
Affects Versions: 2.1.0 RC1
Reporter: hantsy bai
In a xml file, providing a dtd or schema declaration is not necessary but I think it is essential.
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">
<click-app>
....
</click-app>
In the click.xml, providing a doctype declaration(the red section, it is just an example) is helpful for IDE. NetBeans IDE can use this declaration to determine if this file is a click configuration file, perform xml validation and provide basic code completion automatically ( The click for netbeans plugin provide basic code completion by the grammar api, and extra code completion is provided by Code completion api , eg. extra code completion for package, path and classname attribute value).
Please publish an official dtd online in future version.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CLK-587) Define an official DTD DOCTYPE
declaration in click.xml
Posted by "Bob Schellink (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CLK-587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bob Schellink updated CLK-587:
------------------------------
Fix Version/s: 2.1.0
Assignee: Bob Schellink
We don't currently own the click.apache.org namespace, as we're in the incubator. So we can only publish the DTDs after graduation, which should be finalized at the next board meeting mid Novemeber.
> Define an official DTD DOCTYPE declaration in click.xml
> -------------------------------------------------------
>
> Key: CLK-587
> URL: https://issues.apache.org/jira/browse/CLK-587
> Project: Click
> Issue Type: Task
> Components: core
> Affects Versions: 2.1.0 RC1
> Reporter: hantsy bai
> Assignee: Bob Schellink
> Fix For: 2.1.0
>
>
> In a xml file, providing a dtd or schema declaration is not necessary but I think it is essential.
> 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">
> <click-app>
> ....
> </click-app>
> In the click.xml, providing a doctype declaration(the red section, it is just an example) is helpful for IDE. NetBeans IDE can use this declaration to determine if this file is a click configuration file, perform xml validation and provide basic code completion automatically ( The click for netbeans plugin provide basic code completion by the grammar api, and extra code completion is provided by Code completion api , eg. extra code completion for package, path and classname attribute value).
> Please publish an official dtd online in future version.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.