Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] xht (XHTML) File - Doesn`t Meet XHTML Standard

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] xht (XHTML) File - Doesn`t Meet XHTML Standard
 Login/Join
 
Member
posted
When the PCHOLD output format of a simple report is set to EXL2K, WF
generates either a .xmh or a .xht depending on whether the WEBARCHIVE
property is set to on or off (Default on...xmh file generated).

However, when the .xht file is generated, it does not generated .xht
code that satisfies xhtml standards i.e. it fails the validation test
located here: http://validator.w3.org/

Also, note that my redirection settings are set to yes for both
`Redirect`and `Save`for .xls, .xht and .xmh. This is what allows me to
intercept the .xmh or .xht before it becomes a .xls.

Here is the code I`m running:
TABLE FILE CAR
 SUM
 CAR.BODY.SALES
 BY  LOWEST CAR.COMP.CAR
 ON TABLE SET WEBARCHIVE OFF
 ON TABLE SET PAGE-NUM NOLEAD
 ON TABLE NOTOTAL
 ON TABLE PCHOLD FORMAT EXL2K
 ON TABLE SET HTMLCSS ON
 ON TABLE SET STYLE *
 INCLUDE = endeflt,
 $
 TYPE=REPORT,
 LINES-PER-PAGE=20,
 $
 ENDSTYLE
 END  


Here is the beginning part of the resulting .xht:
  <html xmlns:v="urn:schemas-microsoft-com:vml"
 xmlns:o="urn:schemas-microsoft-com:office:office"
 xmlns:x="urn:schemas-microsoft-com:office:excel"
 xmlns="http://www.w3.org/TR/REC-html40">
 
 <HEAD>
 <meta http-equiv=Content-Type content="text/html; charset=windows-
 1252">
 <style>
 <!--table
 {border-collapse:collapse;
 mso-displayed-decimal-separator:"\.";
 mso-displayed-thousand-separator:"\,";}
 @page
 {margin:1.0in .75in 1.0in .75in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;}
 tr
 {mso-height-source:auto;}
 col
 {mso-width-source:auto;}


When I run the file into the validator, I get over 190 errors due to
simple things the .xht code MUST contain such as a DOCTYPE at the very
top. Similarly, everything needs to be lowercase in xhtml but the code
generated has syntax such as HEAD which is NOT lowercase.

I simply need WF to generate a file that would pass the w3 validator
tool. Please view this wiki page on XHTML for sample code:
http://en.wikipedia.org/wiki/XHTML

Please let me know
what I can do to get the file validated. Thanks so much!

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 4 | Registered: December 07, 2011Report This Post
Virtuoso
posted Hide Post
The only real way you can get this fixed is to open a case with IB tech support and hope that it is deemed important enough to get on the shortlist of things to fix.
This will not be accomplished overnight, however.
The alternative is to create some process yourself to automatically correct the IB output, possibly using DM or TABLE.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] xht (XHTML) File - Doesn`t Meet XHTML Standard

Copyright © 1996-2020 Information Builders