ER: HTML Applet tag syntax warning - or HTML syntax checker for JDEV.

Hi,
I just spent ages (an hour or two) debugging an applet and it turned out that I had left a comma "," out of my 'archive=..' parameter of the 'applet' tag in the HTML :-(.
E.g. I had <applet code="x" archive="a.jar b.jar, c.jar, d.jar"> and IE simply didn't load 'b.jar' so I got the usual 'class not found' exception. After signing every jar and putting every jar in every directory I finally noticed the commas between some of the jars.
I can understand IE not helping me load an Applet since, from MS's point of view, that is evil Java code, but JDev must know the syntax of a HTML applet tag too so it could highlight the error for me.
Alternatively does anyone know of a HTML checker plugin for JDEV?
Regards,
Simon.

No comments?
I've been looking around for a HTML syntax checker and there are plenty around - just google "html validation". None so far have picked up the missing comma in my busted applet tag. I guess with a missing comma it just looks like a file name with a space in it anyway.
I still think JDeveloper could flag semantic errors like this at development time.
Cheers,
Simon.

Similar Messages

  • Syntax check for a software component

    Hi all,
    is there a way to run a syntax check for all objects of a software component?
    Means triggering the check at software component level.
    Thanks and regards!
    Kerstin

    Hi Kerstin
    I think basis guy should know this, it`s on software component level.
    i know a tcode 'SGEN', but this is used to define a background job then compiling the software component. I`m not sure the background job log whether have this kind of error message if there are SYNTAX error.
    regards,
    Archer

  • Syntax check for inactive programs(object)

    I am having some program in internal table now i have to do syntax check for the programs, actually I can use SLIN but SLIN will not do Syntax check if the object is not active, is there  any way that I can check for many programs one after the other.

    Hi Vikram,
    USe the transaction SAMT.
    Please flooow the link below it will solve u r pblm.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40c62223-639e-2a10-dd9a-b1dd9af73aeb
    Thanks

  • How to Disable Syntax Checker for DDL Generation

    Would like to include shell script commands before a create table statement. Modified the .xdb but PowerDesigner does not recognize this code as it is not native to the database. Is there a way to disable the syntax check so that the create table script can include these statements rather than a number of errors? Running v15.2 of PowerDesigner. Any feedback would be appreciated!

    Hello. Yes. To be more specific, want to be able to run the create table DDL for Teradata from BTEQ. I added the following statements to a customized version of the Terada .xdb for the table BeforeCreate:
    .logon ${TD_SERVER}/${TD_USERNAME},${TD_PASSWORD}
    select 1
    from dbc.tables
    where DatabaseName =  [%QUALIFIER%]
    and TableName = '%TABLE%'
    .if errorcode > 0 then .goto error
    .if activitycount <> 1 then .goto create_tbl
    drop table %TABLE%;
    .if errorcode > 0 then .goto error
    .label create_tbl
    The DDL shows up with syntax errors as follows. So clearly, there is something that is attempting to validate the code:
    3 error(s), 0 warning(s)
    (1) (Table "DATE_DIM"):
       [syntax error] unknown macro: logon ${TD_SERVER}/${TD_USERNAME},${TD_PASSWORD}
    (8) (Table "DATE_DIM"):
       [syntax error] condition parsing error
    (16) (Table "DATE_DIM"):
       [syntax error] expecting .endif

  • Syntax check for tables and function modules

    Hi,
    I am writing a program that perform syntax check on object such as executable programs , function modules and tables.
    Syntax check works fine for programs, but not for tables.
    How can I perform syntax check on my tables or structures?
    I get my data from the table TADIR. But I don't get my function modules from there. What is the table for this.
    Thanks 4 ur replies.
    Parvez

    hi
    good
    generally in sap while creating a table or structure we get the error and we solved them,but like reports during runtime it is not possible to check the syntax of a table or structure.
    thanks
    mrutyun^

  • Syntax Check for *.java files

    Hello erveryone,
    I'm wondering if anybody has an advice how to enable (if possible) syntax check in JDeveloper 10.1.2.
    For example:
    public String toString() {
    String result = "test";
    The missing return statement is not shown in the editor. It's only shown by the compiler.
    Thanks in advance
    Alex

    Thanks for your reply,
    I checked out the links you mentioned, but I think the informations about the code editor and the code assist are not very detailed.
    I checked out the tool you mentioned above (PMD) and it was quite fine unsing it for one class. But I tried to check about 300 classes at a time and it hangs after a few minutes.
    So I think it's a little improvement, but I will still look for a tool compareable to eclipse.

  • [SOLVED] vim syntax checker for C++ templates?

    I've started using Syntastic to help improve my productivity when writing C++. However, I cannot seem to get it to work with C++ templates (which are usually defined and implemented in a header file). Is there a way to force Syntastic to do this? If not, does anyone know of a vim syntax checker that will?
    Last edited by bsilbaugh (2012-11-02 22:05:32)

    To enable syntax checking of headers, including templates, it turns out that you just need to add the following to your vimrc:
    let g:syntastic_cpp_check_header = 1
    See ~/.vim/bundle/syntastic/syntax_checkers/cpp.vim for an explanation of additional C++ options.
    (I don't know how I missed this earlier. Sorry for the spurious post.)
    Last edited by bsilbaugh (2012-11-02 22:06:50)

  • Syntax check for PL/SQL code??

    is there any tool with which we can check the syntax for code written in Pl/ SQL???
    Please help...

    Hi,
    I think Asit is trying to point you to a product called TOAD (Asit, pls correct if I'm wrong):
    http://www.quest.com/toad/
    http://www.toadsoft.com/feats.html
    http://www.samspublishing.com/articles/article.asp?p=31544&rl=1
    Regards,
    Ville

  • Extended syntax check for include structure

    Hello Everyone,
    While declaring the internal table as:
    TYPES: BEGIN OF t_data.
            INCLUDE STRUCTURE mara.
    TYPES: END   OF t_data.
    DATA: it_data TYPE table of t_data.
    When performing extended check, i get following error:
    The current ABAP command is obsolete and problematic, especially so in ABAP
    Objects
    Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
    types, not "LIKE" or "STRUCTURE".
    I am using 4.7 version.
    Any clue how to avoid this error during extended check.
    Regards,
    Tarun

    Tarun,
    With WAS 6.20 you should not declare internal tables with header line or using the old syntax as they are not compatible with OO ABAP.
    So, you either declare a TYPE the way you have done, in case you want additional fields apart from the INCLUDE structure, or declare the table directly like the way I have shown.
    Good thing, you can even specify the type of internal table that you want to create using this - STANDARD, SORTED, HASH. These tables will help you with the performance issues.
    regards,
    Ravi
    Note : Please mark the helpful answers

  • Extended Syntax Check  in abap code

    Hi Guys,
    We are upgrading from 4.6 C to ECC 6.0.  When I do the Extended Syntax check for the custom function module it gives me the following error.  Please help.
    The EXCEPTION "REPORT_NOT_EXISTENT" is not defined in the interface of the function module "RS_VARIANT_CONTENTS" "RS_VARIANT_CONTENTS".  Internal Message Code: MESSAGE G-7. 
    (The message can be hidden with "#EC ARGCHECKED)
    Regards,
    Shankar

    <b>Don't suppress the message. </b> You should only suppress messages if you are aware of why they are appearing, and they are not an error.
    What it means is, that in your custom function module, there is some code like
    CALL FUNCTION 'RS_VARIANT_CONTENTS'
      EXPORTING
        report                     = v_report
        variant                    = v_variant
    EXCEPTIONS
       VARIANT_NON_EXISTENT        = 1
       VARIANT_OBSOLETE            = 2
       REPORT_NOT_EXISTENT         = 3
       OTHERS                      = 4
    But if you look at FM rs_variant_contents, you'll see this exception is not defined.  The correct course of action is to remove it from your call.
    matt

  • Syntax check of code

    I am passing certain code in table itab and then doing a syntax check using SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd .The problem with this method is it check the code line by line and assign mess with the first error msg  but I want to trap all the error message of the code in itab at once in another table.
    Is it possible to trap all the error msg at once in a internal table.

    Hi,
    This is similar to what ABAP Editor sytax check does. You cannot check sytax of the "futher" code as the "closer" code may affect the "further". Unless you correct the first error you cannot therefore check if futher lines are correct. If this worked like you want it would have to correct "closer" errors first by itself, then it could check rest of the code. But how the compilator (generall meaning) would have to know what to place there. This is of course impossible. There is no such compliator doing so in none of known to me programming languages.
    You may skip this by a trick. Looping at the table with a code and checking each line of this with a check syntax. Then collect all these errors within an error table.
    Nevetherless be carefull !! You would have to place excatly one statement per line in code table. Otherwise it won't pass the exam. Moreover you cannot use any of chain statements i.e.
    write: 'first line',
            'second line'.
    ...should be replaced with
    write 'first line'.
    write 'second line'.
    Hope this give you some idea:)
    Regards
    Marcin

  • Doubt in Extended Syntax check

    Hi all ,
                  I am facing a problem when i do a Extended Syntax check for a program . The message i am getting is as follows :
    Messages for CALL FUNCTION interfaces(Todo Prio3)
    Program:  SAPLZC_BWSPI  Include:  LZC_BWSPIF01  Row:    496  [Prio 3]
    No EXCEPTION to set SY_SUBRC Declared for CALL FUNCTION 'FIRST_DAY_IN_TP_GET'
    Thus the value of SY-SUBRC is always 0
    (The message can be hidden with "#EC *)
    can anyone suggest me how to correct it .
    thanks,
    kumaran

    SUPPOSE IF YOU HAVE YOUR CODE AS :
    CALL FUNCTION XYZ
    IMPORTING -
    EXPORTING----
    JUST WRITE
    CALL FUNCTION XYZ                  "#EC *
    IMPORTING -
    EXPORTING----
    IF SY-SUBRC <> 0.
    ENDIF.
    THATS ENOUGH.
    OR ELSE TRY.
    CALL FUNCTION XYZ                
    IMPORTING -
    EXPORTING----
    IF SY-SUBRC <> 0.                       "#EC *
    ENDIF.

  • Text Editor & ABAP Syntax Check

    Hi all,
    I've included a text editor box into my project to allow the user to key in ABAP codes. i got the codes of a sample program but i'm not sure how it works. can anyone kind enough to explain to me how to add buttons or assign functions to the buttons?
    secondly, because i allow free-text for the user to key in ABAP codes, is there a function to check the syntax of the codes entered by the user?
    i'll reward handsomely for any help rendered and it will be better if you could include sample codes as well(:
    thanks!!! (:
    SAMPLE CODE FOR TEXT EDITOR:
    IF CODE_EDITOR IS INITIAL.
        CREATE OBJECT CODE_EDITOR_CONTAINER
           EXPORTING
             CONTAINER_NAME = 'GEN_CODE'
           EXCEPTIONS
             CNTL_ERROR = 1
             CNTL_SYSTEM_ERROR = 2
             CREATE_ERROR = 3
             LIFETIME_ERROR = 4
             LIFETIME_DYNPRO_DYNPRO_LINK = 5.
        CREATE OBJECT CODE_EDITOR
          EXPORTING
            PARENT = CODE_EDITOR_CONTAINER
            WORDWRAP_MODE =
            CL_GUI_TEXTEDIT=>WORDWRAP_OFF
              CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
            CL_GUI_TEXTEDIT=>WORDWRAP_AT_WINDOWBORDER
            WORDWRAP_POSITION = G_EDITOR_LENGTH
            WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.
    ENDIF.
    Edited by: Leslie Koh on Jan 18, 2008 4:28 AM

    Hi Leslie
    There is a abap key word which may help your purpose to do the syntax check. Please check the key work "SYNTAX-CHECK FOR itab " to be more in details,
    Basic form :
    SYNTAX-CHECK FOR itab ...MESSAGE f ...LINE g ...WORD h.
    Extras:
    1. ... PROGRAM f1
    2. ... INCLUDE f2
    3. ... OFFSET  f3
    4. ... TRACE-TABLE itab1
    5. ... DIRECTORY ENTRY f4
    6. ... REPLACING f5
    7. ... FRAME ENTRY f6
    8. ... MESSAGE-ID f7
    9. ... ID id TABLE itab2
    10.... SHORTDUMP-ID f8
    11.... FILTER f9
    This syntax will help you to check the syntax errors of ABAP program passed as internal table. You can get the entries keyed in by user in editor control through class method CL_GUI_TEXTEDIT->GET_TEXT_AS_R3TABLE in your PAI.
    Hope this helps !
    Kind Regards
    Ranganath

  • Regular Expressions for textfield syntax checking while typing?

    Hi all,
    my application has a textfield for entering customer numbers. The customer numbers have a certain syntax which I want to have checked while the user types.
    According to our company's style guide, the textfield's background color has to be
    - RED in case of an error,
    - WHITE in case of correct input,
    - YELLOW when the input is incomplete but the beginning is correct.
    To check the syntax with Regular Expressions is easy for the WHITE and RED cases. But I'm struggling with the YELLOW case.
    public static boolean checkTest(String s) {
         String regExp = "(\\d{6,8},\\d{1,3},\\d{1,3},\\d{1,2})";
         return Pattern.matches(regExp, s);
    }The above method returns true for the following examples:
    "12345678,1,2,3"
    "123456,11,22,33"
    "1234567,123,123,12"
    I now need another method which returns true if the user entered a valid beginning, for example:
    "123"
    "1234567,"
    "123456,123,1"
    Any ideas? I would be glad to get this done...

    @notivago
    In the meantime I also came up with a pattern to
    check the YELLOW case:
    String partly =
    "\\d{0,8},?|\\d{6,8},\\d{0,3},?|\\d{6,8},\\d{1,3},\\d{
    0,3},?|\\d{6,8},\\d{1,3},\\d{1,3},\\d{0,2}";Sounds good to me.
    It seems to work. But my actual goal is to do such
    color-coded syntax checking for other number types
    (other patterns) as well. And it should be easy to
    add or change number types.I cant figure how to do that for now.
    So it would be nice to have a generic way to generate
    the YELLOW-pattern from the other one. Is it
    possible? Probably, but I cannot come up with any idea now.
    Is there a better solution than my one
    ("String partly" above)? Something I can just append
    to the original pattern for example?There are others, but it is hard to say what would be better or worse.

  • Syntax checker

    Hi all,
    I wish to create a Custom Syntax checker for a String expression. This should incorporate small checks like count of "{" equals count of "}" so on and so forth. Is there a way[other than parsing the String using charAt() or indexOf()] that I can use to have the count of particular characters in a String. Is there anything in Apache Reg Exp that can help me do it. Does any body has similar code for custom syntax checkers.
    Any help would be appreciated..
    Sushil

    This should incorporate small checks like count of "{" equals count of "}" so on and so forth.Can't be done with true regexps (although I'm not sure about PERL-style ones).

Maybe you are looking for

  • If my charging cable doesn't work do i get a new for free

    if my charging cable doesn't work do i get a new for free

  • Payment term day limit change

    Hi friends, Can any one tell me how to change the day limit for a payment term. I have tryed to change it in transaction OBB8 and in the table T052 but that particular field is grayed out. Can someone help me in this regard. Thanks in advance Srikant

  • Field order issues after export to DV Pal from uncompressed

    We are experiencing some difficulty exporting clips from FCP to our Omneon Server for TX. We are capturing 8 bit uncompressed (AJA and Blackmagic) from digibeta for our edit and all editing stays in uncompressed until final output. Our transmission s

  • Syncing Photo albums with iPad

    I am trying to sync 3GB of photos with the 'Photoshop Album', and I also tried just syncing those specific folders too, and it says "The iPad cannot be synced. There is not enough memory." But there is 21GB of "free" space. I am confused. Any ideas?

  • Adobe CS6 "installer failed to initialize"

    Have been installing CS6 manually across our site for about a week, suddenly the install has stopped working and I receive the following error; "We've encountered the following issues Installer failed to initialize. This could be due to a missing fil