XML-hul 1.5.3: schemaLocation attribute parser is too strict about whitespace in pairs of NS and schema location URI #883
Labels
bug
A product defect that needs fixing
Milestone
In JHOVE 1.28, the status of an invalid xml turns out to be "Well-formed" instead of "Well-formed, but invalid" if there are two or more whitespace characters for instance separating paired namespace URI and the corresponding schema location URI. No list of errors is given, so I deem validation is not taking place to begin with. Once I reduce the sequence of whitespace to one, schema is loaded and properly validated against.
I am not sure I read the right specification correctly maybe I have missed some "single whitespace within NS+location pairs in schemaLocation" rule, but to me it looks like a bug. Intuitively, what is key and value to be stored in the internal map should be inferred from their position in the list. If said rule exists, would it not need to be validated as well and be an error when wrong?
The text was updated successfully, but these errors were encountered: