[jira] Commented: (JELLY-13) Jelly should throw an exception if an unknown tag is used in a TagLibrary
The following comment has been added to this issue: Author: dion gillard Created: Sun, 12 Sep 2004 2:31 PM Body: For me it must be optional and controlled by the tag library. At the moment, it would break quite a few Maven scripts to disallow XML output - View this comment: http://issues.apache.org/jira/browse/JELLY-13?page=comments#action_53049 - View the issue: http://issues.apache.org/jira/browse/JELLY-13 Here is an overview of the issue: - Key: JELLY-13 Summary: Jelly should throw an exception if an unknown tag is used in a TagLibrary Type: Improvement Status: Open Priority: Major Project: jelly Components: core / taglib.core Fix Fors: 1.1-beta-1 Assignee: james strachan Reporter: james strachan Created: Tue, 12 Nov 2002 5:24 AM Updated: Sun, 12 Sep 2004 2:31 PM Description: Many tag libraries only have a strict number of tags defined. So default behaviour for these libraries should be that if a typo is made on a tag name, then an exception is thrown. Some libraries, like the Ant library, are more soft-coded and will try their best to instantiate whatever they are given. However the default case is typically known at compile time. - JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (JELLY-13) Jelly should throw an exception if an unknown tag is used in a TagLibrary
The following comment has been added to this issue: Author: Hans Gilde Created: Sun, 12 Sep 2004 3:00 PM Body: Yes, it would be optional and entirely controlled by the library. There are two cases under which XML is output: 1) the parser can't find a tag library for the namespace of the tag. 2) the tag library doesn't find a tag for the element name and returns null to the parser. In both cases, the parser creates a text script with the contents of the tag. Each library has the option to, rather than return null, throw an exception (causing a parse failure) or return a Tag that throws an exception at runtime (causing a runtime failure). In fact, rather than having the parser create a text script when the tag lib returns a null tag, the library itself could return a Tag that outputs the XML. I'm actually just starting to use maven myself, what do maven users output as XML? Sorry to be so naive. - View this comment: http://issues.apache.org/jira/browse/JELLY-13?page=comments#action_53050 - View the issue: http://issues.apache.org/jira/browse/JELLY-13 Here is an overview of the issue: - Key: JELLY-13 Summary: Jelly should throw an exception if an unknown tag is used in a TagLibrary Type: Improvement Status: Open Priority: Major Project: jelly Components: core / taglib.core Fix Fors: 1.1-beta-1 Assignee: james strachan Reporter: james strachan Created: Tue, 12 Nov 2002 5:24 AM Updated: Sun, 12 Sep 2004 3:00 PM Description: Many tag libraries only have a strict number of tags defined. So default behaviour for these libraries should be that if a typo is made on a tag name, then an exception is thrown. Some libraries, like the Ant library, are more soft-coded and will try their best to instantiate whatever they are given. However the default case is typically known at compile time. - JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (JELLY-13) Jelly should throw an exception if an unknown tag is used in a TagLibrary
The following comment has been added to this issue: Author: Christian Hargraves Created: Sun, 14 Dec 2003 12:09 PM Body: I vote this be fixed. I am the author of Jameleon which uses Jelly as it's core engine. It is very annoying to mispell a tag name and think that everything went well when in fact that tag just didn't executed without ANY warning. - View the issue: http://jira.codehaus.org/secure/ViewIssue.jspa?key=JELLY-13 Here is an overview of the issue: - Key: JELLY-13 Summary: Jelly should throw an exception if an unknown tag is used in a TagLibrary Type: Improvement Status: Open Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: jelly Components: core / taglib.core Fix Fors: 1.0 Assignee: james strachan Reporter: james strachan Created: Tue, 12 Nov 2002 5:24 AM Updated: Sun, 14 Dec 2003 12:09 PM Description: Many tag libraries only have a strict number of tags defined. So default behaviour for these libraries should be that if a typo is made on a tag name, then an exception is thrown. Some libraries, like the Ant library, are more soft-coded and will try their best to instantiate whatever they are given. However the default case is typically known at compile time. - JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]