Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-2436

webdav's PropertyDefinitionImpl's toXML doesn't seem to attach query operators element to the returned dom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0-alpha1
    • 2.0-beta6
    • jackrabbit-webdav
    • None

    Description

      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.

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: