Issue Details (XML | Word | Printable)

Key: VIEWS-53
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Simon Brandhof
Reporter: Freddy Mallet
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Views

Publish the XML Schema that describes the structure of views

Created: 29/Jul/10 12:53 PM   Updated: 21/Sep/11 01:27 PM   Resolved: 20/Sep/11 12:02 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.6

File Attachments: 1. XML File sonar-views.xsd (0.9 kB)
2. XML File views.xsd (1 kB)



 Description  « Hide

With this XML schema it will be easier to use the JAXB (Java Architecture for XML Binding) technology to automatically generate some java classes to manipulate the XML content.



Sort Order: Ascending order - Click to sort in descending order
Freddy Mallet added a comment - 29/Jul/10 01:28 PM

The other solution is to provide the API (xstream classes) to manipulate this XML content


Julien Henry added a comment - 28/Jan/11 02:00 PM

Here is the XSD we are using.


Alexandre Gigleux added a comment - 06/Sep/11 09:00 AM

Here is the XSD we are using for months to generate Views content dynamically.


Simon Brandhof added a comment - 20/Sep/11 12:02 PM

The schema is embedded in the plugin and is available at runtime at http://<server>/static/views/views.xsd.


Simon Brandhof added a comment - 20/Sep/11 12:05 PM

Alexandre, Julien, thanks for your contribution.
FYI the optional node <regexp> has been added to <vw> (see VIEWS-58).


Freddy Mallet added a comment - 21/Sep/11 12:22 PM

tested