Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3195

Tutorial php_namespace does not match IDL spec

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tutorial, Website
    • Labels:
      None

      Description

      The Thrift IDL (https://thrift.apache.org/docs/idl) specifies php_namespace as being followed by a literal:
      ( 'php_namespace' Literal ) |

      Literals are required to have quotes (either double quotes or single quotes). The Thrift tutorial (http://wiki.apache.org/thrift/Tutorial) has php_namespace followed by an identifier:
      php_namespace tutorial

      The spec and tutorial should agree with each other (either both Literal and Identifier should be allowed after php_namespace, or the tutorial should use quotes when specifying the php_namespace, and the compiler should verify that the php_namespace is a Literal in quotes).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prashantv Prashant V

              Dates

              • Created:
                Updated:

                Issue deployment