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=38466>. 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=38466 Summary: 1.4 Resource Types documentation is not correct Product: Lenya Version: 1.4 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Joern Nettingsmeier wrote: * the section "Configuring Resource Types" seems redundant to me, since the same content is repeated later under "The Resource Type Definition" with an example. it is a little confusing, so i'd say let's get rid of it. * the example file under "The Resource Type Definition" omits the schema langauge definition. <schema src="fallback://lenya/resources/schemas/profile.rng"/> should be <schema language="http://relaxng.org/ns/structure/0.9" src="fallback://lenya/resources/schemas/profile.rng"/> * in the same section, the following path is recommended for the xpatch file: {publication}/config/resourcetypes.xconf. in the lenya source, such patch files are always placed in config/cocoon-xconf. should this be changed for consistency? moreover, should the recommended file name be resourcetype-<name>.xconf to be consistent with the usecase patchfiles? (i'm aware that patchfiles will work regardless of their name, but still...) * the example file under "Formats" uses an undocumented prefix "pe" which (after some head-scratching) is obviously "page-envelope", but it should be made explicit. <map:generate src="lenya://lenya/pubs/{pe:publication-id}/content/{pe:area}/{pe:document-path}"/> * "Adding Resource Types to a Publication" currently does not refer to the "profile" example. this should also be changed for consistency. i.e., move the section "Choose a Unique Resource Type Name" to the top (since it introduces the example) and add a line <resource-type name="profile" workflow="workflow.xml"/> i wonder: shouldn't there also be a line <module name="profile"/> ? -- 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]
