How to set line break points in JSF Facelets files on NetBeans?
I am running debugger on NetBeans. I can set line break points for jsp files but cannot for Facelets files with extension 'xhtml'. Dose anybody know how to set break points for Facelets xhtml files? Or is it possible to set break points for xhtml filles?
Thank you very much.
You can't. They aren't executable code, they are templates. The only executable code is the part inside #{}.
Similar Messages
-
How to set a break point !
How to set a break point in the debugging screen !
tell me the steps !Just Double click on the Left side of the Line where u want to put the breakpoint and Click Save.
Or
Place the Cursor on the Line and Click the Breakpoint Icon.
Or
Goto Utilities --> Breakpoints --> Set / Delete
If u r already in the Debugging Mode Dont forget to click save once u set the Break point to get the breakpoint next time when u execute.
awrd points if useful
Bhupal -
File adapter-How to set line break in text file-split record into two lines
Dear Guru's,
I have to solve following problem with XML (with mulitiple records) to TEXT file scenario using file adapter. I have to output for ever ONE data record in XML always two identical lines in text file. Second line should have a little bit different mapping in few fields like date,... So I did duplicate fileds in my output structure in mapping and need to know how to set line break in the middle and see half of structure in first line and next structure half in second line
My output structure in mapping is:
CASHFLOW
- INTERFACE
- GESELLSCHAFT
- ANWENDUNG
- PRODUKT
- VERTRAG
- BETRAG
- WAEHRUNG
- DIRECTION
- BEWEGUNGSTYP
- FAELLIGKEIT
- ZINSFESTSTELLUNG
- ZAHLUNGSTAG
- RENDITE
- INTERFACE2
- GESELLSCHAFT2
- ANWENDUNG2
- PRODUKT2
- VERTRAG2
- BETRAG2
- WAEHRUNG2
- DIRECTION2
- BEWEGUNGSTYP2
- FAELLIGKEIT2
- ZINSFESTSTELLUNG2
- ZAHLUNGSTAG2
- RENDITE2
Question is how can I set on receiving file adapter in Content Conversion Parameters that fields from first structure half INTERFACE...RENDITE should be outputed in one line and fields from second half of structure INTERFACE2...RENDITE2 should start on second line in final text file.
I'm getting at the moment one line only and I need to know how can set line break so that second line starting with INTERFACE2(CA)...RENDITE2 will start in new line.
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000",CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
This should be final output:
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000"
CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
My file adapter settings:
RecordsetStructure=CASHFLOW
CASHFLOW.fieldNames=INTERFACE,GESELLSCHAFT,ANWENDUNG,PRODUKT,VERTRAG,BETRAG,WAEHRUNG,DIRECTION,BEWEGUNGSTYP,FAELLIGKEIT,ZINSFESTSTELLUNG,ZAHLUNGSTAG,RENDITE
CASHFLOW.fieldSeparator=,
CASHFLOW.endSeparator='nl'
CASHFLOW.fieldNames=INTERFACE2,GESELLSCHAFT2,ANWENDUNG2,PRODUKT2,VERTRAG2,BETRAG2,WAEHRUNG2,DIRECTION2,BEWEGUNGSTYP2,FAELLIGKEIT2,ZINSFESTSTELLUNG2,ZAHLUNGSTAG2,RENDITE2
CASHFLOW.fieldSeparator=,
It wont help if I add two identical structures in mapping because in output i would see for multiple entries section with first lines only and after that section with second lines only. And CASHFLOW is one part of more complex mapping ...
(This is final output structure RecordsetStructure=HEADER,CASHFLOW,CONDITION,REFERENCE,CONTRACT - more sections with different data and all these should have duplicate lines at the end)
Thanks a lot for any help
Cheers
Marian
Edited by: Marian Luscon on Jul 14, 2009 11:44 AMHi Ivan,
right, I did test just for sure.
Putting constant 'nl' into field CASHFLOW-INTERFACE1 didnt help - still getting one line instead two lines.
CA ,"0100" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,2 ,12 ,2009-01-28 ,2009-01-27 ,2009-01-28 ,"0.0000000" ,'nl' ,"GTP1" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,1 ,10 ,2009-01-27 ,2009-01-27 ,2009-01-27 ,"0.0000000"
So there is still question. Is there any way (mapping,...) how to output always 2 lines in text file for one record in XML. It always does 1 record in mapping structure = 1 line but we need 2 lines ...
Example:
Input: 4 records in XML
Output: 8 lines in final text file ...
Thanks to you all guys
Marian -
VSTO: How to set line break in Ribbon Xml?
Hi All,
I have a button in Ribbon.xml. it looks like:
<group label="myLabel" id="View">
<checkBox id="cbView" label="ViewViewviewviewview" getPressed="cbView_Pressed"/>
</group>
The result is shown as:
The checkbox is too long. My question is : How to set line break in checkbox's label.
Thanks a lot,
By the way, in Ribbon Xml. How to add RadioButton?Hello Ricky,
The Fluent UI (aka Ribbon UI) doesn't provide any attribute or callback for that. You can try to use an escape sequence "\n\r", but I am not sure whether it helps. Also you may consider placing a text block below the check box control.
You can read more about the Ribbon UI in the following series of articles:
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3) -
HI How to set a Break point In Smart Forms
Hi Guys,
i want to set a break-point in main window of the smart form ,before dispalying
values of the varibles in the main window .
How to Set a break-point And What are the ways to set a break point.
Thanks for All.
From
Hitu.Hi Hitu,
Generally, Break Points are set for the purpose of debugging in Smartforms.
For debugging , one of the way is :
1. Write BREAK POINT in the code window.
2. Put a break point on the call function in the driver program
3. Put a break point in the generated Function module.
Hope this resolves your query.
<b>Reward all the helpful answers.</b>
Regards -
How to set a Break point in Comp Workbench
Hello Guys,
I have a Z** Enhancement set ( t-code: bsp_wd_cmpwb) and i have a view & a Z**IMPLclass for it.
I need a way to set a break point in the Z*IMPLclass in t-code: bsp_wd_cmpwb.
I have my code in this Z* impl class and making some changes for a field. I want to be able to debug this field in this Z**class
when i launch the Web UI using CRM_UI.
Can someone help me on this?
Thanks
RickyHi,
you should set an External Breakpoint (Ctrlshiftf9 in CRM 7.0) in the point you want to debug in bsp_wd_cmpwb. Then debug opens in the GUI as soon as you reach that breakpoint in the Web UI.
Regards,
Laura. -
How to put a break point while creating a travel request in ess
Hi to all experts,
My requirement is to put a break point in the badi while creating a travel request in Ess.
The badi name is TRIP_WEB_CHECK
i tried both external and session bps
i also tried this.
break uname
break-point
and it is i check whether is triggering by throwing dump like ( divide by zero) it is triggering
how to stop it while triggeringHi Bhanu,
Please go through these links:
How to debug abap code in update rules...routine?
debug abap routine in infopackage
Debugging of global transfer and update routine
Debugging Start/Transfer routine
And have a look at this demo video to know how to set up break points and how to debug an ABAP program in NW2004s:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9cbb7716-0a01-0010-58b1-a2ddd8361ac0?prtmode=navigate
Hope it helps..
Cheers,
Habeeb -
Dump while setting a break point in ECC 6.0
Dear Experts,
In ECC 6.0, when I try to put a break point in the program to stop the control there. I am not able to do so, it is going to dump. The dump message is also not very clear. Do anyone of you are facing the same problem. Any idea why is this happening and how do I fix it.
Can it be due to the improper installation? Please respond.First of all thanks to Mickey, Nitin, Anki, Sujit, Red, Madhu, Vibin for the quick response...To be honest I did not expect such a response as a new member to the SDN community...I am sorry I could not mention the detail about the dump initially...Here is the detailed description..
Issue: In ECC 6.0, when I write a simple ABAP program (e.g. 'Hello World' program). When I try to keep the cursor on any abap statement and click on the 'session break point' icon in the tool bar to set the break point, i get a status message 'Compling SAPLBREA in separate task and finally i get the dump.
Dump Detail :
Runtime Errors: DBIF_REPO_SQL_ERROR
Short Text : SQL error 1115 occurred when accessing program 'LNAVIDAT' part "SRC".
Program: SAPLBREA
Include: LBREATOP
Row: 41
There is a an include being called at line no 41, which is "Include LNAVIDAT".
Now when I click on the 'debugger' icon in the dump...It points to a functional module "RS_SET_BREAKPOINT"
Also, while double clicking on this include to see the code within, it issues an error message saying "SQL error occurred when accessing the table TRDIR".
Or
While trying to display the code of the include LNAVIDAT in se38 to see what is wrong with that i get another dump and this time it points to be SELECT query in the dump which is:
SELECT SINGLE * from PROGDIR WHERE name = rs38m-programm
and state = active.
Thereafter, i keep getting dumps when i try to go to any T.codes (e.g. se11, se38 etc.). until i log off and log in again. Hope this helps you guys understanding the problem. Being new to SAP, I have no clue why is this happening and how to fix it. Thanks in Advance. -
How to place a break-point in update rules
Hi All,
Can any one let me know how to place a break-point in update rules. I used the hard code BREAK-POINT in the code, but it did not work out. After placing the BREAK-POINT in the update rules code, I executed the info package and the load was successful. In order to go into the debug screen can any one let me know the procedure.
Regards,Hi,
In the monitor screen goto "details" tab and under the "Processing" select the option "Data Package 1" and right click over that you can find an option simulate update.
In that select the option "Activate Debugging in Update rules" and select "Perform Simulation".
You can search for your code using the option ctrl+F and double click the code over there.
now the breakpoint is set.
Hopr this helps.
Regards,
K.Manikandan -
How to avoid line break ( br ) while exporting Interactive report in Excel
Hi,
I have a Interative report and I am using Apex download format as CSV.
I have defined some of the column heading in multiple line using break < br >
when I export this into the excel sheet..the column heading contains break also..
- Any idea how to avoid line break while exporting in excel.
- also how to put the columns heading in BOLD when exported in excel.
Thanks,
DeepakHi Jari,
I tried this but still getting the
<br>Interactive Report
Column Attributes Heading - Employee<br>Detail AddressWhen I download the Report in CSV Format
I am getting the heading with <br>.
I am looking for heading as - Employee Detail Address // with no <br> tagThanks,
Deepak -
How to set the out point beyond 9.95 seconds???
how to set the out point in Motion 5 beyond 9.95 seconds???
First you need to make sure your project is long enough then you can adjust the play range (in/out). To make sure the project is long enough:
1. From the project properties (command-J) go to the Duration field and enter a new duration.
2. Click on the down arrow icon to the right of the current time, there is an option to show the project duration. Once set to this you can double click the number and type in a new project duration. I'd recommend setting it back to show current time when done.
3. Of course you can also change the duration of a project when it is first created, in the project browser.
Once you're sure you have a long enough project you can adjust the in and out range. You then use the zoom controls in the bottom of the timeline to show more of the timeline and adjust the play range as needed. There's lots more about project and play range duration adjustments in the documentation: http://help.apple.com/motion/mac/5.1/ -
How to set line width using CoreGraphics ?
Hi guys.
I trying draw line with 2 pixels width.
How to set line width on CoreGraphics ?
AFAIK, OpenGLES.framework has method like this :
glLineWidth(2.0);
Is it possible for CoreGraphics ?
Thanks in advance.See CGContextSetLineWidth in the CGContextReference.
You might also want to look over Painting a Path in the +Quartz 2D Programming Guide+.
\- Ray -
How to set a change pointer for a perticular table?
Hi,
Please let me know how to set a change pointer for a perticular table.what do you mean by 'change pointer'? normally this idiom is used for sending ÍDOCs from one system/client/org-unit to another ...
do you generally want to record changes to a specific table? then set parameter rec/client using RZ10 for your instance profiles and restart the instances in order for the parameter to take effect.
set the table to 'record all changes' using SE11.
you might re-consider if the table has a lot of data and is accessed very often for performance-resons.
change protocols can be evaluated using tx, SCU3. -
How to set page break for Narrative view???
Hi All,
I have created a report in Narrative view using HTML code. I am stuck how to set page break based on a column in Narrative view. If anybody is aware of the issue pls let me know how to overcome this situation. Or if this can be done using HTML code itself pls let me know how to do it.
Thanks & Regards
ThenmozhiHi Honey,
I am not sure on ur requirement but you can achieve page break with a column using pivot view by dragging that column into section area and editing section properties to Insert Page break option. -
How to handle line break embeded inside CSV column
Hi there,
I am under the pressure to make it work. I already put this question on APEX forum, but on second thought, I think it relates more to PL/SQL rather than APEX since APEX 4.1 already have utility to handle CSV Upload.
If you read it already in APEX forum, please ignore.
I am sorry for that. Thanks for reading.
I need to develop an app that allows user to upload CSV file to a interface table.
The APEX version at my workplace is 4.0.2.
I used the code from
http://dbswh.webhop.net/htmldb/f?p=BLOG:READ:0::::ARTICLE:11000346061523
It all works well till recently I find out
If a column in a CSV file cotain a line break (or new line) e.g. (The tester copy and paste this text which has line break into a column in a spreadsheet)
This is the first sentence.
This is the second sentence.
It will break the “This is the second sentence”. To a new column.
The contents of the CSV viewed in Notepad look as below
Assessment Date,Scheduled Date,Assessment Provider,Assessor Name,Court,First Name,Middle Name,Last Name,PRN Person Record Number,NHI Number,Defendant Attended Y/N,Is Dependent Y/N,Notes,Primary Ethnicity,"Ethnicity Other, please specify",Gender,Currently in Treatment Y/N,Substance of Concern 5,Other Substance Specified
22/09/2012,,Provider Co Name,Warren Edgley,Wellington,,,Salty,2545554,dgsdf,ergerg,,"This is the first sentence.
This is the second sentence.",Japanese,,Female,b,,
Here is the code from the CSV UTIL, please help me to find out how can I replace the line break to a space so that the uploading process is correct.
CREATE OR REPLACE PACKAGE BODY "CSV_UTIL"
AS
--strip the beginning and the end quotes, then replace double quotation with single
FUNCTION de_quote (p_str IN VARCHAR2, p_enc_by IN VARCHAR2)
RETURN VARCHAR2
IS
v_str VARCHAR2(32767) := p_str;
BEGIN
IF (p_enc_by IS NULL)
THEN
RETURN p_str;
ELSE
IF SUBSTR(p_str,-1) = p_enc_by THEN
v_str := SUBSTR(p_str,1,LENGTH(p_str)-1);
END IF;
IF SUBSTR(p_str,1,1) = p_enc_by THEN
v_str := SUBSTR(v_str,2);
END IF;
RETURN REPLACE (v_str,
p_enc_by || p_enc_by,
p_enc_by
END IF;
END de_quote;
PROCEDURE parse (p_str IN VARCHAR2, p_enc_by IN VARCHAR2, p_sep IN VARCHAR2)
IS
l_n NUMBER DEFAULT 1;
l_in_quote BOOLEAN DEFAULT FALSE;
l_ch NCHAR (1);
l_len NUMBER DEFAULT NVL (LENGTH (p_str), 0);
BEGIN
IF (l_len = 0)
THEN
RETURN;
END IF;
g_words := g_empty;
g_words (1) := NULL;
FOR i IN 1 .. l_len
LOOP
l_ch := SUBSTR (p_str, i, 1);
IF (l_ch = p_enc_by)
THEN
l_in_quote := NOT l_in_quote;
END IF;
IF (l_ch = p_sep AND NOT l_in_quote)
THEN
l_n := l_n + 1;
g_words (l_n) := NULL;
ELSE
g_words (l_n) := g_words (l_n) || l_ch;
END IF;
END LOOP;
g_words (l_n) := de_quote (g_words (l_n), CHR(10));
g_words (l_n) := de_quote (g_words (l_n), CHR(13));
FOR i IN 1 .. l_n
LOOP
g_words (i) := de_quote (g_words (i), p_enc_by);
END LOOP;
END parse;
Author: Oleg Lihvoinen
Company: DbSWH
Changes:
10.02.2011, There was a miscalculation of the file line last position in case it is the end of file
PROCEDURE upload (p_file_name VARCHAR2, p_collection_name VARCHAR2, p_enc_by IN VARCHAR2, p_sep_by IN VARCHAR2, p_rows NUMBER)
IS
v_blob_data BLOB;
v_clob_data CLOB;
v_clob_len NUMBER;
v_position NUMBER;
v_char NCHAR (1);
c_chunk_len NUMBER := 1;
v_line VARCHAR2 (32767) := NULL;
v_data_array vcarray;
v_rows NUMBER := 0;
n_seq NUMBER := 1;
dest_offset NUMBER := 1;
src_offset NUMBER := 1;
amount INTEGER := DBMS_LOB.lobmaxsize;
blob_csid NUMBER := DBMS_LOB.default_csid;
lang_ctx INTEGER := DBMS_LOB.default_lang_ctx;
warning INTEGER;
l_sep VARCHAR2(100) := CASE WHEN p_sep_by = '\t' THEN chr(9) ELSE p_sep_by END;
BEGIN
htmldb_collection.create_or_truncate_collection
(p_collection_name => p_collection_name);
-- Read blob from wwv_flow_files
SELECT blob_content
INTO v_blob_data
FROM wwv_flow_files
WHERE NAME = p_file_name;
v_position := 1;
DBMS_LOB.createtemporary (lob_loc => v_clob_data,
CACHE => TRUE,
dur => DBMS_LOB.SESSION
DBMS_LOB.converttoclob (v_clob_data,
v_blob_data,
amount,
dest_offset,
src_offset,
blob_csid,
lang_ctx,
warning
v_clob_len := DBMS_LOB.getlength (v_clob_data);
IF v_clob_len = 0 THEN
RETURN;
END IF;
WHILE (v_position <= v_clob_len + 1)
LOOP
v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
parse (p_str => v_line, p_enc_by => p_enc_by, p_sep => l_sep);
v_data_array := g_words;
FOR i IN 1..g_words.count LOOP
IF i <= 50 THEN
v_data_array(i) := g_words(i);
ELSE
exit;
END IF;
END LOOP;
FOR i IN g_words.count + 1..50 LOOP
v_data_array(i) := null;
END LOOP;
v_rows := v_rows + 1;
-- exit if uploaded specified number of rows
IF p_rows IS NOT NULL AND v_rows > p_rows THEN
EXIT;
END IF;
-- Store data to collection
n_seq :=
htmldb_collection.add_member
(p_collection_name => p_collection_name,
p_c001 => v_data_array
(1),
p_c002 => v_data_array
(2),
p_c003 => v_data_array
(3),
p_c004 => v_data_array
(4),
p_c005 => v_data_array
(5),
p_c006 => v_data_array
(6),
p_c007 => v_data_array
(7),
p_c008 => v_data_array
(8),
p_c009 => v_data_array
(9),
p_c010 => v_data_array
(10),
p_c011 => v_data_array
(11),
p_c012 => v_data_array
(12),
p_c013 => v_data_array
(13),
p_c014 => v_data_array
(14),
p_c015 => v_data_array
(15),
p_c016 => v_data_array
(16),
p_c017 => v_data_array
(17),
p_c018 => v_data_array
(18),
p_c019 => v_data_array
(19),
p_c020 => v_data_array
(20),
p_c021 => v_data_array
(21),
p_c022 => v_data_array
(22),
p_c023 => v_data_array
(23),
p_c024 => v_data_array
(24),
p_c025 => v_data_array
(25),
p_c026 => v_data_array
(26),
p_c027 => v_data_array
(27),
p_c028 => v_data_array
(28),
p_c029 => v_data_array
(29),
p_c030 => v_data_array
(30),
p_c031 => v_data_array
(31),
p_c032 => v_data_array
(32),
p_c033 => v_data_array
(33),
p_c034 => v_data_array
(34),
p_c035 => v_data_array
(35),
p_c036 => v_data_array
(36),
p_c037 => v_data_array
(37),
p_c038 => v_data_array
(38),
p_c039 => v_data_array
(39),
p_c040 => v_data_array
(40),
p_c041 => v_data_array
(41),
p_c042 => v_data_array
(42),
p_c043 => v_data_array
(43),
p_c044 => v_data_array
(44),
p_c045 => v_data_array
(45),
p_c046 => v_data_array
(46),
p_c047 => v_data_array
(47),
p_c048 => v_data_array
(48),
p_c049 => v_data_array
(49),
p_c050 => v_data_array
(50)
-- Clear the line
v_line := NULL;
END IF;
END LOOP;
END;
END;In my apps, I save these straight into a table rather than an APEX collection because the number of columns can be longer than 50.
I want to find out how can replace these line break inside a column to a space.
If any one has any ideas, please let me know.
Thanks a lot in advance.
AnnAnn586341 wrote:
I think the code split the whole thing by this line
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
Yes, exactly. That piece of code believes all CHR(10) occurences are record delimiters.
It is not smart enough to recognize that a CHR(10) within quotation marks are part of the data.
Optimally a solution should keep the CHR(10) rather than replacing with spaces, but that will be a bigger rewrite of the UTL_CSV code ;-)
If you are happy with replacing with spaces, a "simple" solution could be something like:
Declare a boolean variable in upload procedure:
v_within_text_column boolean := false;And use it like this:
WHILE (v_position <= v_clob_len + 1)
LOOP
v_char := DBMS_LOB.SUBSTR (v_clob_data, c_chunk_len, v_position);
IF v_char = '"' THEN
v_within_text_column := NOT v_within_text_column;
ELSIF v_char = CHR(10) AND v_within_text_column THEN
v_char := ' ';
END IF;
v_line := v_line || v_char;
v_position := v_position + c_chunk_len;
-- When the whole line is retrieved and not end of file or end of file
IF v_char = CHR (10) AND v_position < v_clob_len OR v_position = v_clob_len + 1
THEN
v_within_text_column := false; -- To be safe always set this on "true" linebreaks
{code}
+(This is untested code just written here in the text editor.)+
It should work by toggling a flag whether you are "within" the quotes or not and then replacing CHR(10) with a space if you are within a text column.
This way we avoid having to go through the clob more than once (it is enough that this code walks the clob one character at a time...)
It will not handle if the clob contains situations like:
{code}
abc,123,"This is a text with a quote from a man who said \"To Be,
or Not To Be\" some hundred years ago",123,xyz
{code}
Escaped quotes would need separate attention ;-)
Maybe you are looking for
-
Right way to close a dialog?
I'm working on an Application in which users update data in non-modal dialogs. We have been coding these dialogs as subclasses of JFrame. I know this sounds like a very-basic question, but I've searched stacks of books and numerous messages in this f
-
Updated my ios to new version, and now my apps won't open
Anyone else have problems with opening apps after new software update is done. I updated my software to the 4.3.3 version and now can't open my apps. No problem with the original apps, but stuff like facebook, words with friends, hanging with frien
-
Need drivers for SB 4.1 Digital in linux platf
I have Recently got a SB PCI 4. Digital. I want to use in in Linux system. I have Fedora Core 2 in my system and it detected the sound card as Ensoniq 5882. It is producing a lot of Hiss noise which sounds like Gas comming out of a cylinder.Somebody
-
How do you do Switch statement in JSP
using the HTML tags!
-
Portege 7200 doesn't recognize external memory
I had downloaded Windows XP on my Portege 7200 (with 256 MB external memory) and it worked well. Suddenly, it started overheating and was extremely sluggish. I reformatted the disk, downloaded XP again and it appears to work well, even though slowly;