You are here: Foswiki>Tasks Web>Item6046 (06 Jan 2015, GeorgeClark)Edit Attach

Item6046: TML parameter parsing could be more forgiving.

pencil
Priority: Enhancement
Current State: Proposal Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiRender
Branches:
Reported By: TWiki:Main.SvenDowideit
Waiting For:
Last Change By: GeorgeClark
for example, if you add commas between the params, twiki mostly goes splat

eg %<nop>INCLUDE{"SomeTopic", section="one"}% could either tell the user that there is an innapropriate char outside the paramlist, or (in the case of a comma, just do what i mean..)

  • %<nop>INCLUDE{"SomeTopic", section="one"}%
Warning
Can't INCLUDE 'section="one', path is empty or contains illegal characters.

  • %<nop>INCLUDE{"SomeTopic"boo section="one"}%
Warning
Can't INCLUDE 'SomeTopic"boo section="one', path is empty or contains illegal characters.

-- TWiki:Main/SvenDowideit - 04 Oct 2008

Would be nice, but needs a proposal. Changes to macro parameter parsing are too global. Would cause inconsistencies between registered and common tags.

-- GeorgeClark - 06 Jan 2015

ItemTemplate edit

Summary TML parameter parsing could be more forgiving.
ReportedBy TWiki:Main.SvenDowideit
Codebase
SVN Range TWiki-5.0.0, Tue, 23 Sep 2008, build 17539
AppliesTo Engine
Component FoswikiRender
Priority Enhancement
CurrentState Proposal Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 06 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy