On Tue, 30 Sep 2008, John Jimmy Dondapati wrote: Hi John:
Please see the .xsd file code at http://tapestry.apache.org/schema/tapestry_5_0_0.xsd It looks like: <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd" targetNamespace="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <!-- comp is a component within the template --> <xs:element name="comp"> <xs:complexType mixed="true"> <xs:attribute name="id" type="xs:ID"/> <xs:attribute name="type" type="xs:string"/> <xs:anyAttribute/> </xs:complexType> </xs:element> <!-- body identifies where the body of the component belongs within the component's template --> <xs:element name="body"/> </xs:schema> To paraphrase the definition: Anytime you have an element within 'body' element, which has attributes 'id' and 'type' you need to specify the namespace prefix. Elements that donot have 'id' or 'type' prefix donot require namespace prefix. Phew. thanks Saifi.

