You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Vangjush Stavro (JIRA)" <ji...@apache.org> on 2011/02/25 08:24:38 UTC

[jira] Updated: (ISIS-78) Xhtml file restructuring for easier parsing

     [ https://issues.apache.org/jira/browse/ISIS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vangjush Stavro updated ISIS-78:
--------------------------------

         Labels: features  (was: )
    Description: 
Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
Suggested changes:
- Encapsulate object information inside a div tag with a class = "nof-object"
- Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

  was:It is difficult to distinguish xhtml files that represent an Isis object from other types of xhtml files. Currently the only way to do it is by checking if the keyword 'object' exists on the URL but that assumption is not solid enough. A better way would be if the 'rel' attribute in every anchor tag that links to an object has a special value i.e 'object'

        Summary: Xhtml file restructuring for easier parsing  (was: Object xhtml file identification using 'rel' attribute in anchor tags)

> Xhtml file restructuring for easier parsing
> -------------------------------------------
>
>                 Key: ISIS-78
>                 URL: https://issues.apache.org/jira/browse/ISIS-78
>             Project: Isis
>          Issue Type: Improvement
>          Components: Viewer: Restful
>            Reporter: Vangjush Stavro
>            Priority: Minor
>              Labels: features
>
> Current Xhtml responses make it difficult to adapt a general parsing pattern on them. Additional information included in attributes would be very helpful. 
> Suggested changes:
> - Encapsulate object information inside a div tag with a class = "nof-object"
> - Add additional attributes in form tags to provide enough information for constructing a full HTTP request, so it is not necessary for the parser to go as deep as the input tags which are implementation dependent. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira