You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jack J. Woehr (Jira)" <ji...@apache.org> on 2020/08/02 20:43:00 UTC

[jira] [Updated] (NETBEANS-4670) PHP: HTML value attribute of input tag flagged as error when value is php expression

     [ https://issues.apache.org/jira/browse/NETBEANS-4670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jack J. Woehr updated NETBEANS-4670:
------------------------------------
    Summary: PHP: HTML value attribute of input tag flagged as error when value is php expression  (was: PHP in HTML value attribute of input tag flagged as error when value is php expression)

> PHP: HTML value attribute of input tag flagged as error when value is php expression
> ------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4670
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4670
>             Project: NetBeans
>          Issue Type: Bug
>          Components: php - Code Analysis
>    Affects Versions: 12.0
>         Environment: Linux xxxxx 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> NAME="Ubuntu"
> VERSION="18.04.4 LTS (Bionic Beaver)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 18.04.4 LTS"
> VERSION_ID="18.04"
> HOME_URL="https://www.ubuntu.com/"
> SUPPORT_URL="https://help.ubuntu.com/"
> BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
> PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
> VERSION_CODENAME=bionic
> UBUNTU_CODENAME=bionic
> PHP Version 7.1.17-0ubuntu0.17.10.1
>            Reporter: Jack J. Woehr
>            Priority: Minor
>         Attachments: Screenshot from 2020-08-02 12-50-11.png
>
>
> The Editor flags the following as an error:
> {code:java}
> <input class="button" id="ordinal" type="number" name="ordinal" min="1" value="<?php echo ($myEditor->getOrdinal() ? $myEditor->getOrdinal() : 1); ?>"/>{code}
> The error from mouseover text starts:
> {noformat}
> Bad value "   " for attribute "value" on element "input": Expected a minus sign or a digit but saw " " instead.{noformat}
> The code performs correctly, however.
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists