[
https://issues.apache.org/jira/browse/TAPESTRY-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship updated TAPESTRY-1487:
-------------------------------------------
Assignee: (was: Howard M. Lewis Ship)
> Consider checking for org.xml.sax.ext.Attributes2
> -------------------------------------------------
>
> Key: TAPESTRY-1487
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1487
> Project: Tapestry
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.0.4
> Environment: Sun JDK 1.5
> Reporter: Folke Behrens
> Priority: Trivial
>
> Consider testing for org.xml.sax.ext.Attributes2 and use
> Attributes2.isSpecified(int) to check if the attribute is really specified or
> just a default declaration.
> With this you can e.g. test if <a shape="rect" > is really set. Test for
> "http://xml.org/sax/features/use-attributes2" or just use "instanceof":
> if (attributes instanceof Attributes2) {
> if (( (Attributes2)attributes ).isSpecified(i)) {
> // do something
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]