Interesting problem in HK wording
Hi experts,
i get a interesting problem for handling HK wording.
i am doing a project which take input from the web by using JSP and store the result to Oracle DB(charset UTF8).
i found that some character is change to something like this
"# & 3 7 0 3 2 ;" rather that a a unicode character like \u90A8
Do any expert tell me why it change to a string rather that a unicode character?
From Timothy
邨 is the unicode in html/JSP for browser display,
it is a unicode too.
in java, /u37032 is used instead.
so they are the same.
Similar Messages
-
Dynamic SQL and Bulk Bind... Interesting Problem !!!
Hi Forum !!
I've got a very interesting problem involving Dynamic SQL and Bulk Bind. I really Hope you guys have some suggestions for me...
Table A contains a column named TX_FORMULA. There are many strings holding expressions like '.3 * 2 + 1.5' or '(3.4 + 2) / .3', all well formed numeric formulas. I want to calculate each formula, finding the number obtained as a result of each calculation.
I wrote something like this:
DECLARE
TYPE T_FormulasNum IS TABLE OF A.TX_FORMULA%TYPE
INDEX BY BINARY_INTEGER;
TYPE T_MontoIndicador IS TABLE OF A.MT_NUMBER%TYPE
INDEX BY BINARY_INTEGER;
V_FormulasNum T_FormulasNum;
V_MontoIndicador T_MontoIndicador;
BEGIN
SELECT DISTINCT CD_INDICADOR,
TX_FORMULA_NUMERICA
BULK COLLECT INTO V_CodIndicador, V_FormulasNum
FROM A;
FORALL i IN V_FormulasNum.FIRST..V_FormulasNum.LAST
EXECUTE IMMEDIATE
'BEGIN
:1 := TO_NUMBER(:2);
END;'
USING V_FormulasNum(i) RETURNING INTO V_MontoIndicador;
END;
But I'm getting the following messages:
ORA-06550: line 22, column 43:
PLS-00597: expression 'V_MONTOINDICADOR' in the INTO list is of wrong type
ORA-06550: line 18, column 5:
PL/SQL: Statement ignored
ORA-06550: line 18, column 5:
PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
Any Idea to solve this problem ?
Thanks in Advance !!Hallo,
many many errors...
1. You can use FORALL only in DML operators, in your case you must use simple FOR LOOP.
2. You can use bind variables only in DML- Statements. In other statements you have to use literals (hard parsing).
3. RETURNING INTO - Clause in appropriate , use instead of OUT variable.
4. Remark: FOR I IN FIRST..LAST is not fully correct: if you haven't results, you get EXCEPTION NO_DATA_FOUND. Use Instead of 1..tab.count
This code works.
DECLARE
TYPE T_FormulasNum IS TABLE OF VARCHAR2(255)
INDEX BY BINARY_INTEGER;
TYPE T_MontoIndicador IS TABLE OF NUMBER
INDEX BY BINARY_INTEGER;
V_FormulasNum T_FormulasNum;
V_MontoIndicador T_MontoIndicador;
BEGIN
SELECT DISTINCT CD_INDICATOR,
TX_FORMULA_NUMERICA
BULK COLLECT INTO V_MontoIndicador, V_FormulasNum
FROM A;
FOR i IN 1..V_FormulasNum.count
LOOP
EXECUTE IMMEDIATE
'BEGIN
:v_motto := TO_NUMBER('||v_formulasnum(i)||');
END;'
USING OUT V_MontoIndicador(i);
dbms_output.put_line(v_montoindicador(i));
END LOOP;
END;You have to read more about bulk- binding and dynamic sql.
HTH
Regards
Dmytro
Test table
a
(cd_indicator number,
tx_formula_numerica VARCHAR2(255))
CD_INDICATOR TX_FORMULA_NUMERICA
2 (5+5)*2
1 2*3*4
Message was edited by:
Dmytro Dekhtyaryuk -
I'm having a problem sending a word doc via email. I have Mac for Office 08, and I'm using Mavericks OS. When I save the document as a .doc or .docx, and send it to someone, (doesn't matter if its safari, chrome or firefox or on my yahoo or gmail accounts) they receive it as a blank document. Yet, when I open it on my Mac, it has a "word" icon and I can read it. How do I fix?
I suggest you post on the Microsoft Mac forums since it's their software you're having issues with.
http://answers.microsoft.com/en-us/mac -
Hyperlink problem when converting Word to PDF
Hi everyone.
I am using Adobe Acrobat 7.0 Standard version 7.1.4 on a Windows 2000 environment.
I am using Word XP/2002 SP3.
I have a couple of problems when converting Word to PDF.
When converting a long link which is in 2 lines, PDF just takes one line into account, not considering the whole link
When I have hyperlinks that links to a web page, the link works fine in Word but in pdf, it gets the few words after the url address making the link not work. For example. I have a hyperlink that http://www.google.com/ and after this I have the words: "This is a sample text". The hyperlink in pdf would then become http://www.google.comThisisasampletext
Do you have any ideas how I can correct this?
Thanks.To get the cross references, you have to use Convert to PDF (PDF Maker part of the Acrobat product). However, you first need to go to the print menu and set the printer to the Adobe PDF printer. Close the print menu and then do a reflow and link update of the document (ctrl-A, then F9 I think). This is needed to get the links correct since WORD reflows the document based on the printer (problem with them going to the wrong place).
Printing to the Adobe PDF printer (the step of print to file is not needed, just print to the printer and the rest is automatic) does not include the links. PDF Maker is a PreProcessor for the Adobe PDF printer that adds PDF Marks to the PS file before it is sent to Distiller (OK, the printer when used normally creates a PS file and then invokes Distiller to complete the process - your steps did with the Adobe PDF printer is the same process done manually).
Summary:
1. Fix document after setting the printer to Adobe PDF.
2. Use PDF Maker (create PDF button) -
Problem opening docx Word attachments in Communications Express
We have a problem where some Word documents of the .docx type won't open properly in IE. IE will treat the docx file as a zip file, and offer to open it up using zip, instead of Word. The strange thing is that some docx files open fine into word, but others don't. Also, we have yet to see any such problem in Firefox. The basic work-arounds are to right-click on the attachment link and save, and then open it in Word, or to suggest the user uses Firefox.
We're at a point where we think the problem is with the version of Word (or OpenOffice or whatever) that creates the document, and that it's putting weird things into the headers of the document. Our thought was that adding "docx" to the MIME types for Word could fix the problem, so I did the following on our test system. I opened up /var/opt/SUNWwbsvr7/https-{SERVER-HOSTNAME}/config/mime.types and changed the following line:
type=application/msword exts=doc,dot,wiz,rtf
to read:
type=application/msword exts=doc,dot,wiz,rtf,docx
I then stopped the webserver, removed the cached(generated) files, start the webserver, deleted the cache on IE and tried again. IE still treats the docx file as a ZIP file. Our patch level for UWC is 122793-30.
Is there some other place to look at for modifying MIME types for UWC?Kdcypher wrote:
On our test server, which has both UWC & Messaging Server running on the same box (in prod, these functions are on separate hardware), I made these changes in /var/opt/sun/comms/messaging64/config/mappings and [same_path]/conversions, which I understand to be the config dir for the back-end Messaging Server (in case you hadn't guessed, I'm not necessarily our mail guru, but his plate is extremely full at the moment, and I'm getting to learn more about Messaging Server by working this problem). Do I need to be setting this up elsewhere, as in under UWC?You only need to configure these files at the MTA level. Make sure the conversions file is owned by the messaging server user/group (mailsrv:mail by default).
Also make sure the mappings entry is exactly how I provided (including leading spaces).
My testing yesterday, using your configuration suggestions, was all from Firefox, which could explain why your code wasn't working because (as I understand it) your code was set to convert anything with a content-type of "application/x-zip-compressed" and would ignore anything with "application/octet-stream"You can add additional rules to the conversions file to handle the various scenarios.
So it did not get changed by the server.Please provide the mail.log_current entry for the above attempt.
Is there any way to tell "imsimta cnbuild" to be verbose and actually tell me what it's doing?The cnbuild command compiles the MTA configuration files. It either works or it doesn't.
Or is there a log file that contains details of what it's doing?You can enable more verbose MTA logging e.g.
=> add "slave_debug" to the source channel (e.g. tcp_intranet) in the MTA imta.cnf file
=> add MM_DEBUG=3 to the MTA option.dat file
=> run ./imsimta cnbuild;./imsimta restart
=> re-run your test, this should result in a file called tcp_local_slave.log-<something>
In that file you should see something like the following:
12:22:48.59: Checking CONVERSION entry #1
12:22:48.59: IN-TYPE pattern: application, actual type: application
12:22:48.60: IN-SUBTYPE pattern: x-zip-compressed, actual subtype: x-zip-compressed
12:22:48.60: Checking IN-DPARAMETER-NAME #0
12:22:48.60: Dvalue: filename, pattern: *.docx, actual value: SR7285240.docx
12:22:48.60: Out channel pattern: ims-ms, actual out channel: ims-ms
12:22:48.60: Entry matched.
12:22:48.60: New content type: application
12:22:48.60: New content subtype: vnd.openxmlformats-officedocument.wordprocessingml.document
12:22:48.60: New content disposition: attachmentRegards,
Shane. -
Very Interesting problem, need urgent resolution
Hi Guys,
I have very weird and interesting problem which I have to fix urgently. Appreciate any help you guys can provide.
I have one query which runs in All our database enviornments but Prod. Our UAT is refreshed by Prod Fortnightly so I am sure that it is not a data problem. I even tried for very small dataset making sure to select same data in UAT and Prod.
Error:
ORA-00932: inconsistent datatypes: expected NUMBER got -
Query:
select level ,--works if we reomve this
xmlelement("L1", XMLATTRIBUTES(resource_name as "L1" ,resource_id as "p_resource_id",resource_manager_id as "p_rm_id",FTE, project_hrs ,
misc_hrs , total_hrs, avg_tot_hrs, Perc_utilization))
from ( SELECT resource_id,
resource_name,
resource_manager_id,
trim(to_char(round(SUM (FTE),1), '999,999,999,999.9')) FTE,
trim(to_char(round(SUM (project_hrs),1), '999,999,999,999.9')) project_hrs,
trim(to_char(round(SUM (misc_hrs),1), '999,999,999,999.9')) misc_hrs,
trim(to_char(round(SUM (total_hrs),1), '999,999,999,999.9')) total_hrs,
trim(to_char(round(SUM (total_hrs)/decode(SUM (FTE),0,1,SUM (FTE)),1), '999,999,999,999.9')) avg_tot_hrs,
trim(to_char(ROUND (SUM (project_hrs) * 100 / decode(SUM (expected_project_hrs),0,1,SUM (expected_project_hrs)), 1), '999,999,999,999.9'))
perc_utilization
FROM ( SELECT CONNECT_BY_ROOT resource_name AS resource_name,
CONNECT_BY_ROOT resource_id AS resource_id,
CONNECT_BY_ROOT resource_manager_id AS resource_manager_id,
employee_type_code,
FTE,
project_hrs,
misc_hrs,
total_hrs,
avg_tot_hrs,
expected_project_hrs
FROM ( SELECT r.username resource_name,
resource_id,
resource_manager_id,
employee_type_code,
fte,
project_hrs,
misc_hrs,
total_hrs,
avg_tot_hrs,
expected_project_hrs
FROM TIME_UTILILIZ_ORG_SUM_L3M_MV r
START WITH resource_id = 129523
CONNECT BY PRIOR r.resource_id = r.resource_manager_id)
CONNECT BY PRIOR resource_id = resource_manager_id)
GROUP BY resource_id, resource_name, resource_manager_id)
start with resource_id =129523 connect by prior resource_id=resource_manager_id; --works if we remove thisIf we remove outermost connect by, it runs so not a xmlelement problem as well. Any idea?
Edited by: 783830 on Jul 22, 2010 6:58 AMI'm not sure if this will help you, but:
with my_tab as (select 1 resource_id, 0 resource_manager_id, 1 project_hrs from dual union all
select 2 resource_id, 1 resource_manager_id, 1 project_hrs from dual union all
select 3 resource_id, 1 resource_manager_id, 1 project_hrs from dual union all
select 4 resource_id, 2 resource_manager_id, 1 project_hrs from dual union all
select 5 resource_id, 2 resource_manager_id, 1 project_hrs from dual union all
select 6 resource_id, 0 resource_manager_id, 2 project_hrs from dual union all
select 7 resource_id, 6 resource_manager_id, 2 project_hrs from dual union all
select 8 resource_id, 7 resource_manager_id, 2 project_hrs from dual),
--- end of mimicking some data
results as (select resource_id,
project_hrs,
prior resource_id prev_resource_id,
level lvl,
sum(project_hrs) over (partition by connect_by_root (resource_id)) tot_project_hrs
from my_tab
connect by prior resource_id = resource_manager_id),
results2 as (select resource_id,
connect_by_root resource_id top_resource_id,
project_hrs,
prior resource_id prev_resource_id,
level lvl
from my_tab
connect by prior resource_id = resource_manager_id
start with resource_manager_id = 0)
select r1.resource_id,
r1.project_hrs,
r1.tot_project_hrs,
r2.top_resource_id,
r2.prev_resource_id,
r2.lvl
from results r1,
results2 r2
where r1.resource_id = r2.resource_id
and r1.lvl = 1
order by resource_id;
RESOURCE_ID PROJECT_HRS TOT_PROJECT_HRS TOP_RESOURCE_ID PREV_RESOURCE_ID LVL
1 1 5 1 1
2 1 3 1 1 2
3 1 1 1 1 2
4 1 1 1 2 3
5 1 1 1 2 3
6 2 6 6 1
7 2 4 6 6 2
8 2 2 6 7 3 -
Interesting problem for all students and programmers Have a look!
Hello. This is a very interesting problem for all programmers and students. I have my spalsh screen class which displays a splash when run from the main method in the same class. However when run from another class( in my case from my login class, when user name and password is validated) I create an instance of the class and show it. But the image in the splash is not shown. Only a squared white background is visible!!!.
I am sending the two classes
Can u tell me why and propose a solution. Thanks.
import java.awt.*;
import javax.swing.*;
public class SplashScreen extends JWindow {
private int duration;
public SplashScreen(int d) {
duration = d;
// A simple little method to show a title screen in the center
// of the screen for the amount of time given in the constructor
public void showSplash() {
JPanel content = (JPanel)getContentPane();
content.setBackground(Color.white);
// Set the window's bounds, centering the window
int width = 300;
int height =400;
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
int x = (screen.width-width)/2;
int y = (screen.height-height)/2;
setBounds(x,y,width,height);
// Build the splash screen
JLabel label = new JLabel(new ImageIcon("logo2.gif"));
JLabel copyrt = new JLabel
("Copyright 2004, Timetabler 2004", JLabel.CENTER);
copyrt.setFont(new Font("Sans-Serif", Font.BOLD, 16));
content.add(label, BorderLayout.CENTER);
content.add(copyrt, BorderLayout.SOUTH);
Color oraRed = new Color(100, 50, 80, 120);
content.setBorder(BorderFactory.createLineBorder(oraRed, 10));
// Display it
setVisible(true);
// Wait a little while, maybe while loading resources
try { Thread.sleep(duration); } catch (Exception e) {}
setVisible(false);
public void showSplashAndExit() {
showSplash();
// System.exit(0);
// CLASS CALLING THE SPLASH
import java.awt.*;
import java.awt.event.*;
import javax.swing.JMenu;
import javax.swing.*;
import java.applet.*;
import java.applet.AudioClip;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.net.URL;
import java.net.MalformedURLException;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.net.URL;
public class login extends JDialog
String username;
String password;
JTextField text1;
JPasswordField text2;
login()
//super("Login To TIMETABLER");
text1=new JTextField(10);
text2 = new JPasswordField(10);
text2.setEchoChar('*');
JLabel label1=new JLabel("Username");
JLabel label2=new JLabel("Password");
label1.setFont(new Font("Garamond",Font.BOLD,16));
label2.setFont(new Font("Garamond",Font.BOLD,16));
JButton ok=new JButton(" O K ");
ok.setActionCommand("ok");
ok.setOpaque(false);
ok.setFont(new Font("Garamond",Font.BOLD,14));
ok.setBackground(SystemColor.controlHighlight);
ok.setForeground(SystemColor.infoText);
ok.addActionListener(new ActionListener (){
public void actionPerformed(ActionEvent e)
System.out.println("ddddd");
//validatedata();
ReadText mytext1=new ReadText();
ReadText2 mytext2=new ReadText2();
String value1=mytext1.returnpassword();
String value2=mytext2.returnpassword();
String user=text1.getText();
String pass=text2.getText();
System.out.println("->"+value1);
System.out.println("->"+value2);
System.out.println("->"+user);
System.out.println("->"+pass);
if ( (user.equals(value1)) && (pass.equals(value2)) )
System.out.println("->here");
// setVisible(false);
// mainpage m=new mainpage();
// m.setDefaultLookAndFeelDecorated(true);
// m.callsplash();
/// m.setSize(640,640);
// m.show();
//m.setVisible(true);
SplashScreen splash = new SplashScreen(5000);
// Normally, we'd call splash.showSplash() and get on with the program.
// But, since this is only a test...
splash.showSplashAndExit();
else
{ text1.setText("");
text2.setText("");
//JOptionPane.MessageDialog(null,
// "Your Password is Incorrect"
JButton cancel=new JButton(" C A N C E L ");
cancel.setActionCommand("cancel");
cancel.setOpaque(false);
cancel.setFont(new Font("Garamond",Font.BOLD,14));
cancel.setBackground(SystemColor.controlHighlight);
cancel.setForeground(SystemColor.infoText);
cancel.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e)
dispose();
System.exit(0);
JPanel pan1=new JPanel(new GridLayout(2,1,20,20));
JPanel pan2=new JPanel(new GridLayout(2,1,20,20));
JPanel pan3=new JPanel(new FlowLayout(FlowLayout.CENTER,20,20));
pan1.setOpaque(false);
pan2.setOpaque(false);
pan3.setOpaque(false);
pan1.add(label1);
pan1.add(label2);
pan2.add(text1);
pan2.add(text2);
pan3.add(ok);
pan3.add(cancel);
JPanel_Background main=new JPanel_Background();
JPanel mainpanel=new JPanel(new BorderLayout(25,25));
mainpanel.setOpaque(false);
// mainpanel.setBorder(new BorderLayout(25,25));
mainpanel.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createTitledBorder
("Login To Timetabler Vision"),BorderFactory.createEmptyBorder(10,20,10,20)));
mainpanel.add("West",pan1);
mainpanel.add("Center",pan2);
mainpanel.add("South",pan3);
main.add(mainpanel);
getContentPane().add(main);
void validatedata()
ReadText mytext1=new ReadText();
ReadText2 mytext2=new ReadText2();
String value1=mytext1.returnpassword();
String value2=mytext2.returnpassword();
String user=text1.getText();
String pass=text2.getText();
System.out.println("->"+value1);
System.out.println("->"+value2);
System.out.println("->"+user);
System.out.println("->"+pass);
if ( (user.equals(value1)) && (pass.equals(value2)) )
SplashScreen splash = new SplashScreen(5000);
splash.showSplashAndExit();
dispose();
else
{ text1.setText("");
text2.setText("");
//JOptionPane.MessageDialog(null,
// "Your Password is Incorrect"
public void callsplash()
{SplashScreen splash= new SplashScreen(1500);
splash.showSplashAndExit();
public static void main(String args[])
{ login m=new login();
Dimension screenSize=Toolkit.getDefaultToolkit().getScreenSize();
int screenPositionX=(int)(screenSize.width/2-390/2);
int screenPositionY=(int)(screenSize.height/2-260/2);
m.setLocation(screenPositionX, screenPositionY);
//m.setResizable(false);
m.setSize(600,500);
m.setSize(390,260);
m.setVisible(true);Hi Luis,
Use tcode XK99 for vendor mass change, select the Fax no field. You have to take note that this changes will be only 1 fax number for all vendors.
Else you have to use BAPI for mass change.
regards,
maia -
Problem indexings hyphenized words in PDFs
Hello everyone on this forum
In the new site we are building, I am using Oracle Text to implement the search functionality.
I have problems indexings hyphenized words in PDFs.
The code I used to create the content table and the Oracle Text index, is like follows
CREATE TABLE JMMC_TST_OracleText( article_id NUMBER PRIMARY KEY
, desc VARCHAR2(30)
, doc BLOB DEFAULT empty_blob()
COMMIT ;
I populated the doc column from a database column in our CMS, containing a PDF document. Just for testing, also populated it from a PDF file, using TOAD for Oracle 8.6.
EXEC CTX_DDL.create_preference( 'jmmc_BSJC_lexer2', 'BASIC_LEXER' );
EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'SKIPJOINS', '-' );
EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'CONTINUATION', '-' );
CREATE INDEX JMMC_TST_INDEX
ON JMMC_TST_OracleText( doc )
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ( 'LEXER jmmc_BSJC_lexer2
STOPLIST CTXSYS.EMPTY_STOPLIST' );
COMMIT ;
The following sql
select ctx_report.describe_index('JMMC_TST_INDEX') from dual ;
SELECT err_timestamp, err_text
FROM ctx_user_index_errors
ORDER BY err_timestamp DESC;
shows that indexing went without errors, and index was correctly created.
The word: processo
(that in the PDF is hyphenized visually as
........... pro-
cesso .....
) is indexed as 2 tokens instead of just one token, as the following sql shows
select token_text
from dr$JMMC_TST_INDEX$i
where UPPER(token_text) = UPPER('CESSO')
or UPPER(token_text) = UPPER('PRO') ;
The following query returns 1 result
SELECT SCORE(1), article_id , doc
FROM JMMC_TST_OracleText
WHERE CONTAINS( doc, 'pro cesso', 1) > 0 ;
The following query returns 0 results
SELECT SCORE(1), article_id , doc
FROM JMMC_TST_OracleText
WHERE CONTAINS( doc, 'processo', 1) > 0 ;
Strange thing is, several months ago I tried this test with the same PDF, and everything went by without any problem.
The tests were done on different machines, and on both occasions I used Oracle 10.1.0.5.0.
Looks like I'm overlooking something or maybe some obscure setting (of DB, server or system) is causing the problem.
Suddenly hyphenized words in PDFs, stopped being indexed correctly.
Searched in the manuals and in this forum, and could not find a solution. Any help from anyone in this forum ?
Thanks in advance.Hello everybody on this forum
As the initiator of this thread, I am glad that after some months, someone else is looking at this issue.
To add/clear to the confusion, I have followed Roger Ford suggestion.
Here’s the test I ran
1) Created a minimal test file (using Windows Notepad) with the following content:
ABC-
DEF
Hex view of above file is:
41 42 43 2D 0D 0A 44 45 46 00
A B C - . . D E F .
2) Created test table
CREATE TABLE JMMC_TST_OracleText(
article_id NUMBER PRIMARY KEY
, fmt VARCHAR2(30)
, doc BLOB DEFAULT empty_blob()
The main difference to Roger Ford test case is: my content column is a BLOB instead of a VARCHAR2.
The reason why my doc column is a BLOB, is because the site I’m building, content come from our CMS, and has different types both text and binary (eg Word, PDFs, etc), that I need to index together.
So I use a mixed-content column in a materialized view, to prepare/consolidate/hold all contents I index.
3) I inserted 1 row in above table (using TOAD for Oracle 8.6.), putting my minimal test file in the doc column.
4) Create Preferences and Index
EXEC CTX_DDL.create_preference( 'jmmc_BSJC_lexer2', 'BASIC_LEXER' );
EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'SKIPJOINS', chr(45) );
EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'CONTINUATION', chr(45) );
COMMIT;
CREATE INDEX JMMC_TST_INDEX
ON JMMC_TST_OracleText( doc )
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS ( 'LEXER jmmc_BSJC_lexer2
FILTER CTXSYS.AUTO_FILTER
STOPLIST CTXSYS.EMPTY_STOPLIST
FORMAT COLUMN fmt' );
COMMIT;
Note: the basic lexer SKIPJOINS and CONTINUATION characters, were set the same as the hyphen character used in test file.
5) Tokens indexed:
select token_text from dr$JMMC_TST_INDEX$i
Shows:
ABC
DEF
6) Filter indexed content and generate a plaintext version:
create table JMMC_filtertab (
query_id number
, document clob
commit ;
begin
ctx_doc.filter( 'JMMC_TST_INDEX', '1', 'JMMC_filtertab', '11', TRUE);
end;
Hex view of plaintext version is:
41 42 43 2D 20 20 44 45 46 00
A B C - D E F .
Note that the original end-of-line chars (0D 0A) were replaced by 2 SPACES.
It looks like the filter replaces end-of-line chars by SPACES, and feeds the lexer, with something like:
ABC- DEF (instead of: ABC-DEF) ;
So the poor lexer, sees 2 tokens and has no clue they originally were only one hyphenised token.
This is consistent with what Meta Link Note 124624.1 - Intermedia Text & Continuation Character ('-') in PDF says.
7) Just for comparison the result of Roger Ford test (using a VARCHAR column instead of a BLOB) is:
Hex view of the filtered plaintext version is:
61 62 63 2D 0D 0A 64 65 66 00
a b c - . . d e f .
So the main difference seems to be different filtering behaviour for BLOB or VARCHAR columns, in dealing with end-of-line chars.
I have also tried other combinations of INDEX/LEXER preferences (i.e. SKIPJOINS/CONTINUATION/FILTER/NEWLINE,etc), and different file types (WORD,PDF) which means I also tested with “true binary content” and different end-of-line chars.
No matter what I tried, results were all the same: if I index a BLOB column, I’m not able to index hyphenized lines correctly.
According to the manuals, the CTXSYS.AUTO_FILTER were supposed to deal correctly with mixed-content columns if given the correct information (ie FORMAT COLUMN)
Hope this triggers a response from someone.
Thanks to all the people that took time to look at this problem. -
Btplayerctrl.exe causes problems in Microsoft Word
I was having a problem in Microsoft Word 2010 and 2013: tooltips that show the content of comments, footnotes, etc., were flickering and disappearing.
I have now identified this as an imcompatibility with btplayerctrl.exe, the Bluetooth Media Player Controller.
In Programs and Features, I see that my version is listed as 3.1.1.1307.0366. On the Lenovo site, I find a driver package with the following list of versions:
Package Driver Build ID Rev. Issue Date
17.0.1401.0428 17.0.1401.422 GIWW10WW 02 2014/06/02
17.0.1401.0428 17.0.1401.422 GIWW10WW 01 2014/05/26
3.1.1311.0402 3.1.1311.400 (*) GIWW08WW 01 2014/01/15
3.1.1309.0390 3.1.1309.390 GIWW07WW 02 2013/11/29
3.1.1309.0390 3.1.1309.390 (*) GIWW07WW 01 2013/11/05
3.1.1309.0390 3.1.1309.386 (**)
3.1.1307.0366 3.1.1307.364 (*) GIWW05WW 01 2013/09/26
I am wondering if I should update my driver to see if this fixes the problem--I don't want to run into further problems due to the update. And, would I have to uninstall the previous version before doing that?
At the moment I am not using bluetooth at all, and I don't even know what btplayerctrl.exe does.Sorry for the senior moment comment. I was following onto your mention of that phrase.
If you go into File > Open Recent > More… you can select files you have touched Today, Yesterday, Past Week…
Selecting a file and doing a Save As… should point to the folder where the file went.
Does this work for you to find the file? -
PeopleSoft Query Access Services security problems, in other words does QAS
PeopleSoft Query Access Services security problems, in other words does QAS bypass PeopleSoft?
Rod,
Can you please post the entire contents of the dataserver summary screen...thanks.
Typically the "No suitable driver exists" error is due to trying to connect to an unsupported DB version with the driver. For example using the MSSQL 2000 driver to connect to MSSQL 2005, be sure that you have downloaded both the MSSQL 2000 (una2000.jar) and 2005 jars and have the proper classpaths specified.
Sam -
Adobe Reader XI 11.0 problems with MS Word
I wanted to convert MS Word to PDF. Seeing it was avalible with Adboe Reader XI I clicked to initiate the conversion.
To my surprise I would have to pay for this process, a price I did not agree with.
I didn't continue the payment process.
I now have problems opening MS Word documents.
Trying to open MS Word, Adobe opens with a error basically stating the file is not supported.
I've removed Adobe Reader & reinstalled having the same problem.
What can I do to reverse this problem?
Thanks!
SteveThis means your file association is corrupted. You need to set it so that
.pdf files open with Adobe Reader
.doc / .docx files open with MS Word -
Strange problem when opening word doc situated in WLS virtual dir
Hi all,
we have a strange problem when opening word doc
situated in C:\Oracle\Middleware\as_1\forms\webutil
we put some word docs there and tried to open from forms using for example web.show_document('http://wp0606:9001/forms/webutil/mug00103.doc', '_blank');
no problem using FF, however in IE8 the word doc is shown in its binary format, this also happens when we try to open the doc in IE8
however when we google and search for instance for a test.doc and then click on this url a file save dialog is shown
that's why we believe that this might be due to a configuration issue of WLS
any help would be greatly appreciated
Kr
MartinI think you have 2 ways to go here. Figure out what html is from wherever weblogic gets it, meaning you have to delve into the docs, snoop
around in directories and find what it must be sending (This is going to be unavoidable if you are going to change what weblogic is doing.
Sooner or later you have to try to figure out where it gets this stuff from)
or
you can experimentally snoop on your url with a tool like wget or curl. These are fundamental web tools.
The latter is always a useful thing to be able to do. (you need to formulate a query to get the content-type).
Whoever managed to get weblogic to serve any files in the first place probably can figure this out. -
Encountered Problem in Microsoft Word
Dear all,
I would like to seek for your advice regarding the following issue.
I have encountered problem in Microsoft Word when I used/clicked on bullet point; or even if I opened files that contain bullet point. The error message is, " Microsoft Word has encountered a problem and needs to close. We are sorry for the inconvenience."
I am using OS Mavericks. Please kindly assist me as I need to do my projects, which are due in a month time.
Thanks.
SincerelyYou haven't typed a return at the end of each line.
Paragraph styling unsurprisingly applies to the entire paragraph.
Peter -
Problems with saving Word 2007 table as PDF
I have a table in MS Word 2007 with some merged cells. If I use the Save as ... PDF or XPS option in Word 2007 to save this document as a PDF, the resulting PDF has a table with a discontinuous table grid. The table lines around the cells are broken.
Is this a problem with the Word table or does the Save as PDF command not work well with tables.
Thanks,
Karl SmithWhat versions of both programs and how did you create the PDF? Can you post an example of the PDF?
-
Problems with Microsoft Word 2011
Hello,
So, I'm having a slight problem with Microsoft Word 2011. Yes, I realize this isn't exactly Apple related, but I was wondering if it had to do with a compatibility issue with Lion.
I'm running version 10.7.3, and I've found that when I try and change my language in Microsoft Word to English (Canada) - also have tried English (Britain) - and neither of them have changed successfully. My system language is also Canadian English, but none of these options seem to stop my Microsoft Word from trying to correct Canadian English spelling.
If anyone knows if there has been updates to Microsoft Word for this issue, please let me know. I thought it would be worth a shot asking here, as I could find nothing anywhere else.You may also want to search/ask in the forums run by the make of this app to deal with its problems:
http://answers.microsoft.com/en-us/mac/forum/macword
Maybe you are looking for
-
Hi, i am using Lumia 520 with Windows 8.1 software, currently i am facing problem in volume if i play music i cant able to listen but music can listen in headphone, surprise is in FM i can play the music in Loudspeaker even i am getting calls, all
-
PI sheet : CO54 messages
Hi Experts, We have a z Function module for a PI sheet process message. The functionality coded in this FM is to post a GR (material document). We have a event driven job which is triggering this Z fm. We are facing the issue, in some cases there are
-
How to make a scroll bar!!!
i need to know how to make a scroll bar in flash cs3! can anyone help me with this??
-
NCS Prime 2.1 Percentage of Licenses used on WLC2504
Is there an exportable report that can be run on NCS Prime Infra 2.1 that will provide an AP count percentage of licenses used for each controller? Attached is a screen shot of a visual of what I want in an exportable excel file for WLCs.
-
Connecting failed after install
I was able to install Arch from the live cd but after reboot I run wifi-menu as root and after choosing the ssid it says "connecting failed". I've also tried connecting to an SSID without a password in case it was the wpa_supplicant but that didn't w