Closed hassanakbar4 closed 3 years ago
@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} _uploaded file sample_sparse_date.xml
(0.4 KiB)_
test case
@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} commented
FWIW, the v2 behavior matches v1 (TCL).
The XSLT code tries to emit a warning and will continue to process the file.
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} changed component from Version 2 cli
to Version 2 gui
@{"email"=>"henrik@levkowetz.com", "name"=>nil, "username"=>nil} commented
Replying to [#286 srdonovan@…]:
When date does not contain a month parameter the xml2rfc tool does the following:
When using frames the following is output:
The file is not there -- check for error messages or you may have clicked reload
And the error messages say, if you scroll in the error frame:
WARNING: No DTD given, defaulting to /usr/local/lib/python2.7/dist-packages/xml2rfc/templates/rfc2629.dtd
WARNING: Incomplete and out-of date
This is followed by an exception; and that will be fixed. However, the major issue here is that the web GUI is hard to interpret.
When using windows nothing is output.
Also an issue with the web GUI :-(
When writing to a file and empty file is created.
Well, this is incomplete. With an out-of-date year, that's what happens. With the current year provided, a text file with the current date is created.
What is the correct action when an out-of-date year is given, and no month or day? I think it should give an error message, not create an exception, and not create a draft (as it would have a completely fictional date for the given year).
@{"email"=>"julian.reschke@gmx.de", "name"=>nil, "username"=>nil} commented
I believe a hard error with a clear error message is the best thing to do.
component_Version 2 gui
resolution_overtaken by events
type_defect
| by srdonovan@usdonovans.comWhen date does not contain a month parameter the xml2rfc tool does the following:
When using frames the following is output:
The file is not there -- check for error messages or you may have clicked reload
When using windows nothing is output.
When writing to a file and empty file is created.
Issue migrated from trac:286 at 2021-10-20 18:18:44 +0500