[
https://issues.apache.org/jira/browse/XAP-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Mikhaylov updated XAP-496:
----------------------------------
Attachment: xmodify_fix.zip
> XModify remove-attribute uses wrong syntax
> ------------------------------------------
>
> Key: XAP-496
> URL: https://issues.apache.org/jira/browse/XAP-496
> Project: XAP
> Issue Type: Bug
> Components: XModify
> Environment: Browser
> Reporter: Michael Mikhaylov
> Priority: Minor
> Attachments: xmodify_fix.zip
>
>
> The following syntax works but it is incorrect:
> <xm:remove-attribute select="/window/button[1] ">
> <xm:attribute name="text"/>
> </xm:remove-attribute>
> This is the correct syntax that does not work:
> <xm:remove-attribute select="/window/button[1]/@text"/>
> This patch contains changes to dom.js and CommandDirective.js that allow
> correct remove-attribute syntax.
> The incorrect syntax no longer works.
> In addition, correct syntax still does not work with HTML DOM in Internet
> Explorer because Internet Explorer attribute node object is missing
> ownerElement property defined in W3C DOM specification.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.