question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown property error during parsing

See original GitHub issue

During parsing document occured an error:

xsdata.exceptions.ParserError: Unknown property {http://www.w3.org/2001/XMLSchema}schema:head

To reproduce the error run xsdata generate https://github.com/erasmus-without-paper/ewp-specs-api-omobility-las/blob/v0.3.0/endpoints/index-response.xsd

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tefracommented, Feb 4, 2021

You are using the the github page and not the xsd file, the parser is doing its best because sometimes it’s valid for the root qualified name not to match the model but it’s failing on the next one which is the html > head tag

switch your url to https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-api-omobility-las/v0.3.0/endpoints/index-response.xsd

xsdata comes with a download command, which works for most of the cases in order to avoid fetching the remote sources every time. xsdata download $uri

0reactions
tefracommented, Feb 4, 2021

Thank you @Przemek625 at least you found that issue with the triple quotes, the fix is on master

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error during parsing: unknown property 'max_concurrent' #4362
I'm running into this issue with CoreDNS on a fresh Kubernetes 1.20.1 ... Error during parsing: unknown property 'max_concurrent' #4362.
Read more >
How to Ignore Unknown Properties While ... - GeeksforGeeks
Configuring ObjectMapper is another way to deal with unknown properties in JSON while parsing so that it does not fail when it encounters...
Read more >
How to Ignore Unknown Properties While Parsing JSON in ...
Another way to deal with unknown properties in JSON you are parsing is to configure ObjectMapper not to fail when it encounters an...
Read more >
Throw error when unknown property found in input API request?
We can use MissingMemberHandling.Error but it will throw error when additional properties with all the properties what we defined in class .
Read more >
CSCvd94904 - If the browser is other than English ... - Cisco Bug
The following error messages outputted. "XML PARSING ERROR: unknown property value 1Gbps, name adminSpeed, class fabricEthLanEp ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found