docbook-rfe-mirror

RFEs item #2100736, was opened at 2008-09-08 20:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=384107&aid=2100736&group_id=21935
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: DocBook
Group: v5.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hannes Magnusson (bjori)
Assigned to: Norman Walsh (nwalsh)
Summary: initializer should allow constants
Initial Comment:
"An initializer identifies the initial or default value for a field (fieldsynopsis) or method parameter (methodparam)."
I can't see any reason why an <initializer> cannot be a <constant>, it obviously can't be a <varname>, but a <constant> and even <literal> should be allowed IMHO.
...
<constructorsynopsis>
<modifier>public</modifier
<methodname>Exception::__construct</methodname
<methodparam choice="opt">
<type>string</type>
<parameter>message</parameter>
<initializer><constant>NULL</constant></initializer>
</methodparam>
</constructorsynopsis>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=384107&aid=2100736&group_id=21935

RFEs item #2100736, was opened at 2008-09-08 14:39
Message generated for change (Comment added) made by nwalsh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=384107&aid=2100736&group_id=21935
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: DocBook
>Group: v5.1
Status: Open
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Hannes Magnusson (bjori)
Assigned to: Norman Walsh (nwalsh)
Summary: initializer should allow constants
Initial Comment:
"An initializer identifies the initial or default value for a field (fieldsynopsis) or method parameter (methodparam)."
I can't see any reason why an <initializer> cannot be a <constant>, it obviously can't be a <varname>, but a <constant> and even <literal> should be allowed IMHO.
...
<constructorsynopsis>
<modifier>public</modifier
<methodname>Exception::__construct</methodname
<methodparam choice="opt">
<type>string</type>
<parameter>message</parameter>
<initializer><constant>NULL</constant></initializer>
</methodparam>
</constructorsynopsis>
----------------------------------------------------------------------
>Comment By: Norman Walsh (nwalsh)
Date: 2009-01-22 10:26
Message:
Proposal: http://markmail.org/message/6cvsmpr2an2bhepo
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=384107&aid=2100736&group_id=21935