Skip to content

annotation trouble #346

@eduarddrenth

Description

@eduarddrenth

I am having a lot of trouble with annotations, especially saving. I wrote a little log book:

cannot save xml from annotation tool:

ERROR (LogFunction.java [writeLog]:199) - (Line: 543 /db/system/repo/roaster-1.11.0/content/router.xql) [da146c9c-e424-42a1-946c-9ce42492a1ad] put /api/annotations/merge/R1.xml: 500
            {"column":34,"code":"err:FOTY0013","value":null,"module":null,"line":193,"description":"The argument to fn:data() contains a function item. A function item other than an array cannot be atomized"} 
  • leaving log empty seems to solve this problem, but nothing is saved, I see
    ERROR (LogFunction.java [writeLog]:199) - (Line: 543 /db/system/repo/roaster-1.11.0/content/router.xql) [85cb9eac-e6af-427f-8b9e-ace6af127fe1] get /api/nlp/strings/R1.xml: 400
{"column":5,"code":"errors:BAD_REQUEST_400","value":null,"module":"/db/system/repo/roaster-1.11.0/content/parameters.xql","line":151,"description":"Multiple values were provided for query-parameter \"string\", which is not declared an array."}
  • Looks like nested <w> in <persName> is problematic, but after testing this saving gives me:
ERROR (LogFunction.java [writeLog]:199) - (Line: 543 /db/system/repo/roaster-1.11.0/content/router.xql) [2e1bde83-7019-45f0-9bde-83701945f0b6] get /api/nlp/status: 404
            {"column":9,"code":"errors:NOT_FOUND_404","value":null,"module":"/db/apps/ofs/modules/lib/api/nlp.xql","line":24,"description":"Failed to connect to NER API endpoint"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions