You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org> on 2007/07/13 21:13:04 UTC
[jira] Created: (XAP-496) XModify remove-attribute uses wrong
syntax
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.
[jira] Updated: (XAP-496) XModify remove-attribute uses wrong
syntax
Posted by "Michael Mikhaylov (JIRA)" <xa...@incubator.apache.org>.
[ 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.