Jump to content
The ibi Community has moved to a new platform: Please Sign In and choose Forgot Password to continue

I have an HTML page which does not like the following code '...


Donal Mattimoe

Recommended Posts

Hi Donal

I think we could use just a little more info. When FOCUS gives an error like this, its showing you exactly where it thinks the error occurs - it shows this right after the :.

In your image, it says missing quote marks:

'.x3{"line

Your COMPUTE looks different than the error shows above.

You dont have a style tag that starts with a single quote.

You also dont have a double quote before the word line in the COMPUTE.

The key is to pay attention to what WebFOCUS thinks even if it doesnt make sense. Right now, it looks like WebFOCUS is complaining about something different than the COMPUTEd field

Double check that the error might not be coming from somewhere else. You could potentially even search your View Source (assuming your ECHOing) for the literal string that goes with the error. Maybe youve got a very similar looking style tag someplace.

Or maybe you have a screenshot of an older run. You can see in the error message that theres a starting single quote with apparently no ending one. Also theres that double quote whered that come from

Toby

Link to comment
Share on other sites

This is the actual coding, has (style.x3{line-height:0px;}/style;). I do not see any other missing quotes

COMPUTE TSITEXT/A50V = IF TSI EQ 1 THEN TSI ELSE ;

COMPUTE ATSTEXT/A50V = IF ATS EQ 1 THEN ATSI ELSE ;

COMPUTE CSITEXT/A50V = IF CSI EQ 1 THEN CSI ELSE ;

COMPUTE CLASSTEXT/A20V = IF UNCLASSIFIED EQ 1 THEN Not Identified ELSE ;

COMPUTE FFF/A100V = .x3{line-height:0px;};

BY COMPUTE SUBGROUP1/A100V = SUBGROUP;

Link to comment
Share on other sites

Thanks Donal

I still dont see where WebFOCUS is getting that double quote before the line-height in the image you uploaded.

Seems like WebFOCUS sees a double quote that we dont see in your code. the .x3{"line part

I know you might have private data there, so I dont want to ask for too much, but could you turn ECHO on and show us what you see that leads up to that error

If you dont already have it, just add

-SET &ECHO=ON;

before running the code. That should help us see where the parsing error is coming from.

Theres a double quote in there someplace

Thanks!

Toby

Link to comment
Share on other sites

ERROR is happening when I import to HTML it runs fine on canvas page.

ERROR AT OR NEAR LINE 862 IN PROCEDURE ADHOCRQ FOCEXEC *

(FOC257) MISSING QUOTE MARKS: '.x3{line

(FOC009) Request failed validation, not executed.

ERROR AT OR NEAR LINE 876 IN PROCEDURE ADHOCRQ FOCEXEC *

(FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: ESSASC_HOLD

Link to comment
Share on other sites

I have an HTML page which does not like the following code

'COMPUTE FFF/A100V = .x3{line-height:0px;};

It runs fine in my main canvas page but when I try to import to HTML it gives me an error missing quote marks How should code be written so it is accepted

Thanks

webfocus version 8207

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...