You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Gary VanMatre (JIRA)" <ji...@apache.org> on 2006/05/26 07:51:17 UTC

[jira] Updated: (SHALE-170) Clay attributes are not using xml namespaces

     [ http://issues.apache.org/struts/browse/SHALE-170?page=all ]

Gary VanMatre updated SHALE-170:
--------------------------------

    Attachment: shale-clay.xsd

I've attached the first cut of a clay xsd for xhtml templates.  The schema doesn't allow creating a "top level" component definition.  Only the "element" is listed.  The clay parser is not a validating parser so the xsd would only be for tool support.  

I'm just learning about multiple namespaces in a document but it appears that the extra namespaces have to be registered with the tool.  I'm trying the  Compound XML Document Toolkit (http://www.alphaworks.ibm.com/tech/cxde).

In the attempts I've made, all the nodes defined with a clay prefix are flagged in error because they don't belong within the xhtml schema.  I'm not sure how facelets developers see the same thing.




> Clay attributes are not using xml namespaces
> --------------------------------------------
>
>          Key: SHALE-170
>          URL: http://issues.apache.org/struts/browse/SHALE-170
>      Project: Shale
>         Type: Improvement

>  Environment: Operating System: All
> Platform: All
>     Reporter: Alexandre Poitras
>     Priority: Minor
>  Attachments: shale-clay.xsd
>
> It is possible to define clay components by using a Tapestry-like view.
> Unfortunately, the non-xhtml attributes used (jsfid, ..., ...) don't require a
> namespace, wich is weird because they fall in the default namespace usually
> xhtml. This lack of rigor has no consequences in our typical Internet browsers
> but can cause some bugs in strict XML environments, wich are valided against DTD
> or XML Schemas.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira