Hi,

Well, this one was hard to find out. 
I had a long document that failed at parsing just because it contained the word "RFC" followed by a number.

After some googling I found that there is a text role especially for RFCs
http://docutils.sourceforge.net/docs/ref/rst/roles.html#rfc-reference

I think that docutils is trying to parse my  "RFC 2462"  as if it was " :RFC:`2462` " . Am I right ?

So I managed to replace all the occurences with the text role but it does not work. Same message (see below)
I also tried all the combinations like RFC-2462 RFC2462... same message again !

>>> docutils.__version__
'0.5'


  File "/Users/rayenebenrayana/Subversion/DjangoProj/App/models.py", line 51, in __init__
    parser.parse(text, doc)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/__init__.py", line 157, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 170, in run
    input_source=document['source'])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/statemachine.py", line 232, in run
    context, state, transitions)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/statemachine.py", line 420, in check_line
    return method(match, context, next_state)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 1366, in field_marker
    field, blank_finish = self.field(match)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 1391, in field
    self.parse_field_body(indented, line_offset, field_body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 1401, in parse_field_body
    self.nested_parse(indented, input_offset=offset, node=node)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 266, in nested_parse
    node=node, match_titles=match_titles)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 195, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/statemachine.py", line 238, in run
    result = state.eof(context)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 2606, in eof
    self.blank(None, context, None)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 2598, in blank
    context, self.state_machine.abs_line_number() - 1)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 399, in paragraph
    textnodes, messages = self.inline_text(text, lineno)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 408, in inline_text
    return self.inliner.parse(text, lineno, self.memo, self.parent)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 504, in parse
    processed += self.implicit_inline(remaining, lineno)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 958, in implicit_inline
    + method(match, lineno) +
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/docutils/parsers/rst/states.py", line 936, in rfc_reference
    ref = self.document.settings.rfc_base_url + self.rfc_url % rfcnum
AttributeError: Values instance has no attribute 'rfc_base_url'

Cheers,

Rayene,