qulice
qulice copied to clipboard
Qulice fails with unintuitive message on Log4j2 configuration
When Qulice tries to validate XML without schema attached, e.g. Log4j2 configuration:
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="CONSOLE" target="SYSTEM_OUT">
<PatternLayout pattern="[%p] %t %c: %m%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="WARN">
<AppenderRef ref="CONSOLE"/>
</Root>
</Loggers>
</Configuration>
it fails with the following message:
[WARNING] 1 XML validation error(s):
-1:-1: cvc-elt.1: Cannot find the declaration of element 'Configuration'.
Qulice should not fail during analysis of XML files without schema.
@mkordas well, it is there to validate the document against a schema (and style), so if there is none it fails, although it needs a better message
@krzyk My point is that Qulice should not start XML schema validation if it doesn't have schema for that file, because there might be valid XML files like non-strict Log4j2 configuration for which schema doesn't even exist.
@davvd valid bug
@davvd this is postponed
@davvd valid bug
@krzyk tag "bug" added
@davvd this is postponed
@krzyk OK, I put "postponed" label here
@davvd this is postponed
@krzyk someone else will help in this task, no problem at all
@davvd assing @jrdalpra
@mkordas thanks for the report, I topped your acc for 15 mins, payment ID 56a759c9171e7b555200025a
@krzyk Still not assigned to me.
@davvd assign @jrdalpra please
@davvd this is not postponed
@davvd assign @jrdalpra please
@krzyk yep, done. @jrdalpra it is your task now
@davvd this is not postponed
@krzyk thanks, I removed the "postponed" tag
@jrdalpra how is the work going, need any help?
@krzyk I was working on another issue. I'll work on this one tomorrow. Thanks.
@jrdalpra there is a more important issue (#676) could I switch you to that one?
@davvd this is postponed
@krzyk sure. Give to me.
@davvd this is postponed
@krzyk got it, "postponed" label here
@davvd this is postponed
@krzyk right, I will find someone else, no problem
@davvd https://github.com/davvd @krzyk https://github.com/krzyk Is the task mine or not? Thanks.
José Volmei Dal Prá Junior - (49) 9112 9359 Bacharel em Ciência da Computação - UnoChapecó Pós-Graduado em Desenvolvimento de Software Com Java - Unoesc Xxe Consultor Java e TotalCross https://github.com/jrdalpra http://www.kombo.com.br/meucurriculo/jrdalpra http://www.linkedin.com/in/jrdalpra msn: [email protected] skype: jrdalpra e-mail: [email protected]
@jrdalpra this one no, it's a minor one. Let's wait for new assignment
@jrdalpra
I was working on another issue. I'll work on this one tomorrow. Thanks.
Please update your comment with a name tag.
The bug is still present... Are there any updates on when it will be fixed? v. 0.17.1