#2691 RETURNVALUE should not require PARAMTYPE attribute

Code_Cleanup
closed-fixed
jsr48-client
5
2013-12-13
2013-10-18
No

The PARAMTYPE attribute is not required by RETURNVALUE:

<!ELEMENT RETURNVALUE (VALUE | VALUE.REFERENCE)?>
<!ATTLIST RETURNVALUE
    %EmbeddedObject;
    %ParamType; #IMPLIED
>

However, not including TYPE or PARAMTYPE in RETURNVALUE (or its child) causes both a null pointer exception (DOM parser) and a "Contained element x has unknown type!" exception (SAX parser). Instead, assume a string if no types are specified anywhere.

1 Attachments

Discussion

  • Dave Blaschke

    Dave Blaschke - 2013-10-18
    • summary: PARAMTYPE attribute is not required by RETURNVALUE --> RETURNVALUE should not require PARAMTYPE attribute
     
  • Dave Blaschke

    Dave Blaschke - 2013-10-18
    • status: open --> open-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2013-10-18

    Patch sent for community review. During a 2 week period any exploiter may comment on the patch, request changes or turn it down completely (with good reason). For the time being the patch is part of the "Experimental" branch in CVS.

     
  • Dave Blaschke

    Dave Blaschke - 2013-11-06

    The community review is completed and we received no substantial criticism. Therefore the patch has been approved and merged into the "HEAD" branch. The next release will pick it up.

     
  • Dave Blaschke

    Dave Blaschke - 2013-11-06
    • status: open-fixed --> pending-fixed
     
  • Dave Blaschke

    Dave Blaschke - 2013-12-13

    The patch was picked up by release 2.2.5 and will be closed.

     
  • Dave Blaschke

    Dave Blaschke - 2013-12-13
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.