tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Lewis-Shell <rlewissh...@mac.com>
Subject Re: [jira] Assigned: (TAPESTRY-165) Adding a namespace for the Tapestry tags
Date Wed, 09 Feb 2005 05:42:30 GMT
you have a good point!

Geoff Longman wrote:
> Perhaps my ignorance of namespaces is showing up here (have never
> bothered with them).
> 
> In order to use a namespace you need to include something like:
> 
> xmlns:tap='http://jakarta.apache.org/tapestry/schema'
> 
> so that the user's parser will recognize the 'tap' prefix.
> 
> Again, I've never used namespaces but would not the user's XHTML
> parser/validator try and validate that tap:jwcid actually exists in
> the above schema? I would guess so.
> 
> The problem is that component parameters are not going to be found in
> the above schema as they are declared in the .jwc files; files the xml
> parser has no knowledge of.
> 
> So using tap:someXhtmlViolatingAttr would also result in an error no?
> 
> Geoff
> 
> 
> 
> 
> On Wed, 09 Feb 2005 09:17:13 +1100, Richard Lewis-Shell
> <rlewisshell@mac.com> wrote:
> 
>>>Taking the step requested in TAPESTRY-165....
>>>
>>><span tap:jwcid="@MyCustomComponent"
>>>someXhtmlViolatingAttr="ognl:AParamterValue"/>
>>>
>>> solves the first problem but not the second one. The second problem
>>>can't be solved in this way.
>>
>>If prefixing the jwcid is OK, then why wouldn't the same prefix be added
>>  to the other tapestry attributes?
>>eg.
>><span tap:jwcid="@MyCustomComponent"
>>tap:someXhtmlViolatingAttr="ognl:AParamterValue"/>
>>
>>Richard
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org 
>>For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org 
>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message