DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43989>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43989

           Summary: define a consistent sitemap API for all modules that
                    operate on documents
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Miscellaneous
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


currently, each module that operates on documents has it's own way of addressing
them - some use context information from the page envelope, some have
parameterized matchers, but they are often inconsistent.

i propose the following contract between modules that operate on documents and
the rest of the world:

any such module must provide

* a context-insensitive (fully parameterized) entry point that operates on the
document path
* a context-insensitive entry point that operates on a UUID plus optional
language and revision.

a module can provide
* a context-sensitive entry point that operates on the current document via the
page-envelope.

all those entry points should be accessible via standardized matcher patterns.

andreas points out that the matching of document path to UUID can be factored
out and handled by the global sitemap, where /modules/** requests are matched.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to