datatracker icon indicating copy to clipboard operation
datatracker copied to clipboard

3.0MB is too small for expanded XML

Open ietf-svn-bot opened this issue 4 years ago • 6 comments

type_defect | by [email protected]


rift draft is almost 4MB with figures now


Issue migrated from trac:3346 at 2022-03-04 09:07:45 +0000

ietf-svn-bot avatar Jul 11 '21 16:07 ietf-svn-bot

@[email protected] changed status from new to under_review

ietf-svn-bot avatar Jul 21 '21 17:07 ietf-svn-bot

@[email protected] commented


Tony - Please provide more detail - at what step are you running into a 3Mb limit, and what was the error message?

Is it possible you were doing a lot of other submissions that day and ran into one of the much higher cumulative daily limits?

ietf-svn-bot avatar Jul 21 '21 17:07 ietf-svn-bot

I'm co-author on the draft Tony is referring to.

From: https://github.com/ietf-tools/datatracker/blob/9d10fb7dd1b94c105547feb4692c69897d95309e/ietf/settings.py

IDSUBMIT_MAX_DRAFT_SIZE =  {
    'txt':  2*1024*1024,  # Max size of txt draft file in bytes     
    'xml':  3*1024*1024,  # Max size of xml draft file in bytes
    'html': 4*1024*1024,
    'pdf':  6*1024*1024,
    'ps' :  6*1024*1024,
}

I think we're hitting the XML limit for a single draft mentioned in settings.py

thejhead avatar Aug 01 '22 13:08 thejhead

Thanks - what is the expanded size of your draft? (Run xml2rfc --expand locally), or point me to your current source?

rjsparks avatar Aug 01 '22 14:08 rjsparks

3637381 bytes.

jhead@jhead-mbp rift-draft-main % ls -l draft-ietf-rift-15.exp.xml 
-rw-r--r--  1 jhead  staff  3637381 Aug  1 15:01 draft-ietf-rift-15.exp.xml

thejhead avatar Aug 01 '22 19:08 thejhead

Also check draft-dnoveck-nfsv4-rfc5661bis - almost 700 pages.

larseggert avatar Aug 02 '22 05:08 larseggert