vscode-xml: Extension is not running and validating .xml file
VSCODE: version: 1.74.2 EXTENSION: version: 0.23.0
Error:
[Error - 13:01:35] jan 12, 2023 01:01:35 org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer fireError() Message: Missing header Content-Length in input “{“jsonrpc”:“2.0”,“method”:“textDocument/didChange”,“params”:{“textDocument”:{“uri”:“file:///c%3A/Users/marcel.kocisek/OneDrive%20-%20stengl%20a.s/Documents/Reporting2018/fhrm.xml”,“version”:6},“contentChanges”:[{“range”:{“start”:{“line”:4,“character”:20},“end”:{“line”:5,“character”:4}},“rangeLength”:6,“text”:”"}]}}Content-Length: 180
" java.lang.IllegalStateException: Missing header Content-Length in input “{“jsonrpc”:“2.0”,“method”:“textDocument/didChange”,“params”:{“textDocument”:{“uri”:“file:///c%3A/Users/marcel.kocisek/OneDrive%20-%20stengl%20a.s/Documents/Reporting2018/fhrm.xml”,“version”:6},“contentChanges”:[{“range”:{“start”:{“line”:4,“character”:20},“end”:{“line”:5,“character”:4}},“rangeLength”:6,“text”:”"}]}}Content-Length: 180
" at org.eclipse.lsp4j.jsonrpc.json.StreamMessageProducer.listen(StreamMessageProducer.java:91) at org.eclipse.lsp4j.jsonrpc.json.ConcurrentMessageProcessor.run(ConcurrentMessageProcessor.java:113) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
File:
http<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="https://dd.eionet.europa.eu/schemas/Floods/" type="application/xml"?>
<?xml-model href="https://dd.eionet.europa.eu/schemas/Floods/FHRM.xsd" type="application/xml"?>
<FHRM xmlns="http://dd.eionet.europa.eu/schemas/Floods" xmlns:fd="http://dd.eionet.europa.eu/schemas/Floods/FDcommon" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://dd.eionet.europa.eu/schemas/Floods/ https://dd.eionet.europa.eu/schemas/Floods/FHRM.xsd" CreationDate="2014-02-14" Creator="Slovak Water Management Enterpise, state owned" Email="mpomprsr@svp.sk" Language="sk" Description="Slovenský vodohospodársky podnik">
<hejno>d</hejno>
</FHRM>
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (11 by maintainers)
I cannot reproduce it It seems that it is a problem from https://github.com/eclipse/lsp4j
We need to investigate how we can reproduce this issue.