File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,10 +206,20 @@ def clean(self):
206206 txt_file .seek (0 )
207207
208208 if not self .filename :
209- raise forms .ValidationError ("Could not extract a valid draft name from the upload" )
209+ raise forms .ValidationError ("Could not extract a valid draft name from the upload"
210+ "To fix this in a text upload, please make sure that the full draft name including "
211+ "revision number appears centered on its own line below the document title on the "
212+ "first page. In an xml upload, please make sure that the top-level <rfc/> "
213+ "element has a docName attribute which provides the full draft name including "
214+ "revision number." )
210215
211216 if not self .revision :
212- raise forms .ValidationError ("Could not extract a valid draft revision from the upload" )
217+ raise forms .ValidationError ("Could not extract a valid draft revision from the upload. "
218+ "To fix this in a text upload, please make sure that the full draft name including "
219+ "revision number appears centered on its own line below the document title on the "
220+ "first page. In an xml upload, please make sure that the top-level <rfc/> "
221+ "element has a docName attribute which provides the full draft name including "
222+ "revision number." )
213223
214224 if not self .title :
215225 raise forms .ValidationError ("Could not extract a valid title from the upload" )
You can’t perform that action at this time.
0 commit comments