Grant Baillie wrote:
1) In the example CPIA XML, the snippet below can't be right (eventsForNamedLookup contains a UUID that's generated by the repository):oops this was a typo - I mis-pasted from an earlier dump out of the repository. I've removed it from the example. 2) How are block classes looked up? e.g. if you need to refer to a block class outside of your parcel, what's the syntax? Block classes are just looked up in the osaf.framework.blocks module. There is no explicit support for to make this pluggable right now. However, I'm assuming you mean other block instances. At the moment, you just don't reference them. I think I'll probably propose that in 0.6 we don't worry about it. The thing is, most of the time you just shouldn't have to deal with them... in fact in CPIA, the only declared reference that you need to use is for the 'event' attribute on blocks and for that you use the "#" based reference that is often used in XML. (where #foo refers to the element with id="foo") One idea I had was to use phillip's fwdRef stuff. I don't think that would be too hard but I don't see any compelling use case for it right now. Maybe something like "parcel:osaf.app/some/repository/path" which would map to schema.ns("osaf.app") Alec |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "Dev" mailing list http://lists.osafoundation.org/mailman/listinfo/dev
