Issue (View Online)

Key: NXP-1152
Issue Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Anahide Tchertchian
Reporter: Anahide Tchertchian

Operations

View all
View comments
View history
All schemas should define a prefix to be used when retreieving the property 
Updated: 05/06/07 16:09   Created: 05/06/07 16:09  

Project: Nuxeo Enterprise Platform 5
Affects Versions: 5.1 M3
Fix Versions: 5.2.M1

 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.

This message was automatically generated by Atlassian JIRA Enterprise Edition, Version: 3.7.2-186 - Bug/feature request.
If you think it was sent incorrectly, contact one of this server's administrators.

_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to