Closed hassanakbar4 closed 3 years ago
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented
Replying to [#371 miek@…]:
If the preptools fails it says:
learninggo.xml(0): Warning: Invalid document before running preptool: Element li has extra content: t
This is really hard to debug without an actual line number, esp, when xmllint doesn't complain (although that is run without the dtd being there).
Agreed. It is unfortunately hard to do better when the underlying library doesn't provide more information :-(
Once we're past incorrect behaviour and schema tweaks, I could investigate the use of an alternative validator if the primary one doesn't provide enough information.
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed status from new
to closed
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed resolution from ` to
fixed`
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented
I just tried this with the learninggo-2.xml file from #372, but with that file the warnings that occur has line number indications. Will need the original input file in order to look more at this.
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented
The listing of validation errors has been substantially improved in [2585].
component_Version_3_cli_txt
resolution_fixed
type_enhancement
| by miek@miek.nlIf the preptools fails it says:
This is really hard to debug without an actual line number, esp, when xmllint doesn't complain (although that is run without the dtd being there).
Issue migrated from trac:371 at 2021-10-20 18:29:29 +0500