You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/01/12 22:59:54 UTC

[jira] Resolved: (JCR-2436) webdav's PropertyDefinitionImpl's toXML doesn't seem to attach query operators element to the returned dom

     [ https://issues.apache.org/jira/browse/JCR-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting resolved JCR-2436.
--------------------------------

    Resolution: Fixed
      Assignee: Jukka Zitting

Good catch, thanks! Fixed as suggested in revision 898540.

> webdav's PropertyDefinitionImpl's toXML doesn't seem to attach query operators element to the returned dom
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2436
>                 URL: https://issues.apache.org/jira/browse/JCR-2436
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-webdav
>    Affects Versions: 2.0-alpha1
>            Reporter: Dave Brosius
>            Assignee: Jukka Zitting
>            Priority: Trivial
>             Fix For: 2.0.0
>
>
> PropertyDefinitionImpl.toXML does
>         // JCR 2.0 extension
>         Element qopElem = document.createElement(AVAILABLE_QUERY_OPERATORS_ELEMENT);
>         String[] qops = getAvailableQueryOperators();
>         for (int i = 0; i < qops.length; i++) {
>             Element opElem = document.createElement(AVAILABLE_QUERY_OPERATOR_ELEMENT);
>             DomUtil.setText(opElem, qops[i]);
>             qopElem.appendChild(opElem);
>         }
>         return elem;
> which doesn't attach the qopElem to the returned dom.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.