Git Product home page Git Product logo

case-implementation-plaso's People

Contributors

vikhari avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

case-implementation-plaso's Issues

Address Python rdflib parsing issues with examples

(This is a re-post of Issue 2 from the prior repository.)

I tried ingesting all of the example files in all of their formats into the CASE Python API, and received some rdflib parsing issues before anything involving the CASE API.

This minimal Bash/Python script loops through the examples/ directory's XML and reports problems there. Here is a truncated shell transcript including the Bash line and the relevant part of the last error encountered:

$ ls *json *ttl *xml | while read x; do python3.5 -c "import rdflib ; rdflib.Graph().parse('$x')" ; done
INFO:rdflib:RDFLib Version: 4.2.2
# [snip]
rdflib.exceptions.ParserError: file:///.../examples/tsk_volume_system.xml:10:4: rdf:nodeID value is not a valid NCName: 51ee2f70-af0f-4ac7-9765-7bf7aa565ddf
$ echo $?
1

All XML files but bz2.xml had a problem. However, bz2.json and bz2.ttl also failed to parse.

This Issue is good to close when that little loop runs without a hitch.

Execution environment: macos Sierra, MacPorts-installed Python and rdflib via py35-rdflib.

Some examples fail verify.py

I ran verify.py against all the examples in this directory, and got verification issues (terms not in case.ttl) with these files:

  • bz2.{json,ttl,xml}
  • lvm.{json,ttl}
  • tsk_volume_system.{json,ttl}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.