CODING PROBLEM for factory XML, XSD too strict?

#1

Hi,

I have a node description XML with with a table. Inside the table, I want to place links. Something like this:

        <table>
            <tr>
                <td><a href="http://example.com">Example link</a></td>
            </tr>
            ...

However, when starting KNIME with above's description, I'm now getting the error log:

ERROR    AppKit Thread NodeDescription13Proxy    CODING PROBLEM Node description of 'MyNode' does not conform to the Schema. Violations follow.
ERROR    AppKit Thread NodeDescription13Proxy    CODING PROBLEM error: cvc-complex-type.2.4b: Element not allowed: a@http://knime.org/node/v2.8 in element td@http://knime.org/node/v2.8

Still, the node's description is rendered correctly in the description view and the link is working. So this looks like the used XSD is unnecessarily strict.

Any chance for extending the XSD in future versions to allow more nesting of different tags?

Philipp

0 Likes

#2

Hi,

we are reviewing the XSD for the next release which will come out at the beginning of December.
You are right, it seems quite restrictive to not include links and other elements in tables as well, so this should be possible with a new XSD specification.

Kind regards,

Christian

0 Likes

#3

Hi Christian,

thank you for considering. As a side note, in my case I'm not only experiencing the problem with 'a' tags within tables, but also with 'tt' elements.

Best,
Philipp

0 Likes

#4

Yes, we will definitely consider other tags as well when reviewing the options.

0 Likes

#5

I’d like to report a similar “error” about cvc-complext-type. The log at my side is

Log file is located at: D:\ProcessMining\Programs\KNIME\Codes\runtime-KNIME.metadata\knime\knime.log
ERROR PM4KNIME_Node_Test_HeuristicsMiner 0 CODING PROBLEM Node description of ‘HeuristicsMiner’ does not conform to the Schema. Violations follow.
ERROR PM4KNIME_Node_Test_HeuristicsMiner 0 CODING PROBLEM error: cvc-complex-type.2.4a: Expected element ‘tab@http://knime.org/node/v2.8’ instead of ‘option@http://knime.org/node/v2.8’ here in element fullDescription@http://knime.org/node/v2.8
ERROR PM4KNIME_Node_Test_HeuristicsMiner 0 CODING PROBLEM error: cvc-complex-type.2.4a: Expected element ‘tab@http://knime.org/node/v2.8’ instead of ‘option@http://knime.org/node/v2.8’ here in element fullDescription@http://knime.org/node/v2.8
WARN Linear Regression Learner 0:3 No column in spec with numeric data.
ERROR NodeDescription28Proxy CODING PROBLEM Node description of ‘HeuristicsMiner’ does not conform to the Schema. Violations follow.
ERROR NodeDescription28Proxy CODING PROBLEM error: cvc-complex-type.2.4a: Expected element ‘tab@http://knime.org/node/v2.8’ instead of ‘option@http://knime.org/node/v2.8’ here in element fullDescription@http://knime.org/node/v2.8
ERROR NodeDescription28Proxy CODING PROBLEM error: cvc-complex-type.2.4a: Expected element ‘tab@http://knime.org/node/v2.8’ instead of ‘option@http://knime.org/node/v2.8’ here in element fullDescription@http://knime.org/node/v2.8

is there more information about this error?? Anyway, it doesn’t really affect the execution of workflow.

Regards
Kefang

0 Likes