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

Tutorial php_namespace does not match IDL spec

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Tutorial, Website
    • 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

            Unassigned Unassigned
            prashantv Prashant V
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: