Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid UIMA CAS XMI XML 1.1 #4153

Closed
vishalmodagekar opened this issue Aug 21, 2023 · 2 comments
Closed

Invalid UIMA CAS XMI XML 1.1 #4153

vishalmodagekar opened this issue Aug 21, 2023 · 2 comments
Assignees
Labels
Support request User has a problem and needs help

Comments

@vishalmodagekar
Copy link

Describe the bug
Annotated PDF giving exception when exported as UIMA CAS XMI (XML 1.0) "Export failed: SAXParseException: Trying to serialize non-XML 1.0 character: 0x1 at offset .." but can be exported as UIMA CAS XMI (XML 1.1). However, this XML has invalid xmlChars. Not able to parse the XML file using python package 'dkpro-cassis' functionality 'load_cas_from_xmi'. Throwing exception 'XMLSyntaxError: xmlParseCharRef: invalid xmlChar value ..'. Attached is the exported xmi file and typesystem xml for reference.
file-2_10.1177_0333102421989620.zip

@reckart
Copy link
Member

reckart commented Aug 21, 2023

Try using v29.0.

@reckart reckart self-assigned this Aug 22, 2023
@reckart reckart added the Support request User has a problem and needs help label Aug 22, 2023
@reckart
Copy link
Member

reckart commented Sep 12, 2023

Assuming this was a duplicate of #4058 and v29 works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support request User has a problem and needs help
Projects
Status: 💡 Done
Development

No branches or pull requests

2 participants