Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-1152

All schemas should define a prefix to be used when retrieving the property

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.1 M3
    • Fix Version/s: 5.2 M4
    • Component/s: None

      Description

      Only the dublincore schema declares the "dc" prefix, all schemas should declare one.

      One way to use the prefix when retrieving a property value would be:
      getProperty("dc:title")
      or getProperty("dublincore:title") for compatibility

      When using complex properties:
      "n:name.n:firstName" or "namespace.name.firstName for compartibility

      When using lists:
      "n:names#3.n:firstName" or "namespace.name#3.firstName for compatibility

      This has to be consistent with restful urls generated (see NXP-1106) and jsf document resolver (that currently uses #

      {document.schemaName.fieldName}

      ) even if some characters may be forbidden there.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: