alexmilowski / green-turtle

An RDFa 1.1. implementation for browsers.
MIT License
56 stars 20 forks source link

Green Turtle

An RDFa 1.1 implementation in JavaScript for browsers.

Note: This project has transitioned from its former Google Code project.

Conformance

Green Turtle passes all the tests for XML, XHTML1, XHTML5, HTML4, and HTML5 as provided by the RDFa WG except for the following notable issues:

I have submitted these issue to the working group for consideration.

Test Suite

To run the tests yourself, you will need Java and Ant installed and then do the following:

  1. Build Green Turtle by running ant in the root directory.

  2. Build the SPARQL service:

    cd tests/sparql-service/
    ant
    cd ../..
    
  3. Cache the test cases:

    cd tests/harness
    ./make-cache.sh
    ./download-xml.sh
    ./download-xhtml1.sh
    ./download-xhtml5.sh
    ./download-html4.sh
    ./download-html5.sh
    
  4. Run the server:

    ../server/server.sh web.xml
  5. Visit http://localhost:8888/ in your browser.

  6. Select the markup language from the drop-down list box and hit the 'Test' button. The system will run the test cases rather silently unless you look at the console. Eventually, it will output a table of the status of all the test cases.