-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
We recently tried to switch from Eclipse Oxygen to Eclipse 2023-09 (4.29.0) which contains the LemMinX language server handling all XML, XSD, XSL and DTD files. In Oxygen we have no problems with the enclosed zul file below which contains one of our own composite components 'limitedtextbox' (we have a lot of them). In Eclipse 2023-09 the composite component is causing errors.
We already found out that LemMinX downloads the zul.xsd and stores it in a cache. But that only works for the 'regular' ZK components in the zul files.
<zk xmlns:xsi=".../XMLSchema-instance" xmlns=".../zul"
xsi:schemaLocation=".../zul .../zul/zul.xsd">
<label value="Test" />
<limitedtextbox id="test"/>
</zk>
The errors we get are:
Element name 'limitedtextbox' is invalid.
cvc-complex-type.2.4.a: Invalid content was found starting with element '{"zul-link":limitedtextbox}'.
I think it's caused by LemMinX validating a zul in a strict manner. Maybe there is a way to configure it to validate a zul less strictly. Their Github issue mentions a setting to filter some errors. Please check that.
Asked: 2023-11-14 17:00:29 +0800
Seen: 9 times
Last updated: Nov 16