Hi Monisha,
MShah schrieb:
I added a a couple of new resources in lenya, one is the sample person
resource that is discussed in the tutorial and I created and added my own
resource as well, I can create a new resource type that I added, when when I
try editing the resource using bxe the person resource works perfectly, but
when I try to edit my own resource using bxe it is trying to load the
foaf.rng, Relax NG schema for the person resource and is failing. Where is
the foaf.rng file being referenced in the new resource I created.
the schema is referenced in the resource type declaration:
<component-instance name="person" logger="lenya.resourcetypes"
class="org.apache.lenya.cms.publication.ResourceTypeImpl">
<schema
namespace="http://relaxng.org/ns/structure/0.9"
uri="fallback://lenya/modules/person/resources/schemas/foaf.rng"
/>
…
</component-instance>
http://lenya.apache.org/docu20/tutorials/newResourceType/newResourceTypePart1.html
-- Andreas
--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]