You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Prashant V (JIRA)" <ji...@apache.org> on 2015/06/17 22:40:00 UTC

[jira] [Created] (THRIFT-3195) Tutorial php_namespace does not match IDL spec

Prashant V created THRIFT-3195:
----------------------------------

             Summary: Tutorial php_namespace does not match IDL spec
                 Key: THRIFT-3195
                 URL: https://issues.apache.org/jira/browse/THRIFT-3195
             Project: Thrift
          Issue Type: Bug
          Components: Tutorial, Website
            Reporter: Prashant V
            Priority: Minor


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).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)