[jira] Resolved: (XERCESC-1282) DOMPrint Crash during schema validation

2004-10-13 Thread xerces-c-dev
the issue: http://issues.apache.org/jira/browse/XERCESC-1282 Here is an overview of the issue: - Key: XERCESC-1282 Summary: DOMPrint Crash during schema validation Type: Bug Status: Resolved Priority

[jira] Commented: (XERCESC-1282) DOMPrint Crash during schema validation

2004-10-02 Thread xerces-c-dev
The following comment has been added to this issue: Author: George Aggrey Created: Sat, 2 Oct 2004 12:12 AM Body: Hello David, DOMPrint from xml-xerces_20041002043233.tar.gz correctly validates the xml file above. I probably mixed something up. I guess the remaining issue is

[jira] Commented: (XERCESC-1282) DOMPrint Crash during schema validation

2004-10-01 Thread xerces-c-dev
http://issues.apache.org/jira/browse/XERCESC-1282 Here is an overview of the issue: ----- Key: XERCESC-1282 Summary: DOMPrint Crash during schema validation Type: Bug Status: Unassigned Pr

[jira] Commented: (XERCESC-1282) DOMPrint Crash during schema validation

2004-09-30 Thread xerces-c-dev
The following comment has been added to this issue: Author: George Aggrey Created: Thu, 30 Sep 2004 11:42 PM Body: Authors is not in the schema so validation should fail but it doesn't. Here is my command line: domprint -v=always -n -f -s instanc

[jira] Commented: (XERCESC-1276) DOMPrint crashes when schema validating invalid xml document

2004-09-26 Thread xerces-c-dev
: - Key: XERCESC-1276 Summary: DOMPrint crashes when schema validating invalid xml document Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Components: Validating Parser (Schema) (Xerces 1.5 or up only) Versions: 2.5.0 Assignee

[jira] Commented: (XERCESC-1276) DOMPrint crashes when schema validating invalid xml document

2004-09-26 Thread xerces-c-dev
: - Key: XERCESC-1276 Summary: DOMPrint crashes when schema validating invalid xml document Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Components: Validating Parser (Schema

[jira] Commented: (XERCESC-1276) DOMPrint crashes when schema validating invalid xml document

2004-09-25 Thread xerces-c-dev
The following comment has been added to this issue: Author: cargilld Created: Sat, 25 Sep 2004 5:21 PM Body: I ran DOMPrint with -n -s -f -v=always using the latest source and got an error about cat: Error at file "d:\bugs\1276.xml", line 2, column 6 Message: Unkno

[jira] Created: (XERCESC-1276) DOMPrint crashes when schema validating invalid xml document

2004-09-25 Thread xerces-c-dev
: - Key: XERCESC-1276 Summary: DOMPrint crashes when schema validating invalid xml document Type: Bug Status: Unassigned Priority: Major Project: Xerces-C++ Components: Validating Parser (Schema) (Xerces 1.5 or up only) Versions: 2.5.0

Re: DOMPrint and schema validation

2004-09-08 Thread elsa lizette
Hi everybody !! Thank you very much for your answers. I was checking what Gareth recommend me. I downloaded the "xerces-c-current.zip" distribution and tried to compile by myself but I could not see the error messages. However, with this new pre-compiled version I can read them. Thank you both

Re: DOMPrint and schema validation

2004-09-07 Thread Vitaly Prapirny
This is what I see with xercesc 2.5.0 binaries from distribution file xerces-c_2_5_0-windows_nt-msvc_60.zip: = E:\DOMPrint\Debug>DOMPrint -v=always -n -s x1.xml Error at file "E:\DOMPrint\Debug/x1.xml", line 5, column 34 Mess

Re: DOMPrint and schema validation

2004-09-07 Thread Gareth Reakes
result, I would like to know, as it doe snot seem right to me. Gareth On 6 Sep 2004, at 17:34, elsa lizette wrote: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="E:\DOMPrint\Debug\myschema.xsd"> -- Gareth Reakes, Managing Director Parth

Re: DOMPrint and schema validation

2004-09-06 Thread elsa lizette
-- And my xml could be one of these two options: 1)-- http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocatio

Re: DOMPrint and schema validation

2004-09-06 Thread Gareth Reakes
Hi, thats certainly not expected behavior. Can you post a minimal xml document and schema that demonstrates this? Cheers, Gareth elsa lizette wrote: Hello everybody !! I am trying to validate an xml using a schema. I compiled DOMPrint example and run it: DOMPrint -v=always -n -s x1.xml However

DOMPrint and schema validation

2004-09-02 Thread elsa lizette
Hello everybody !! I am trying to validate an xml using a schema. I compiled DOMPrint example and run it: DOMPrint -v=always -n -s x1.xml However, the output reports some errors but they do not have a description: -- Error at file "E:\DOMPrint\Debug/x1.xml"

Re: DOMPrint

2004-04-13 Thread P M S Prakash
Hi Alberto, Some OS's return UTF-8, EUC-JP, but some return utf8, eucJP. If you have the xml encoding in either way, it seem to work. Regards Prakash --- Alberto Massari <[EMAIL PROTECTED]> wrote: > At 03.32 12/04/2004 -0700, P M S Prakash wrote: > >Hi Alberto, > > > >Yes, the original XML docume

Re: DOMPrint

2004-04-13 Thread Alberto Massari
At 03.32 12/04/2004 -0700, P M S Prakash wrote: Hi Alberto, Yes, the original XML document had UTF-16 encoding. After changing it to appropriate encoding, it worked. Also, in my application, I am setting the encoding using setEncoding, by determining the character set of the local system. The foll

Re: DOMPrint

2004-04-12 Thread P M S Prakash
Hi Alberto, Yes, the original XML document had UTF-16 encoding. After changing it to appropriate encoding, it worked. Also, in my application, I am setting the encoding using setEncoding, by determining the character set of the local system. The following is the sample code. Is it the right way t

Re: DOMPrint

2004-04-08 Thread Alberto Massari
ValSchemesgValScheme = XercesDOMParser::Val_Auto; // Prototypes for internally used functions void usage(); // --- // // Usage() // // --- void usage() { XERCES_STD_QUALI

RE: DTD validation in DOMPrint

2003-12-22 Thread Alberto Massari
the content of the DTD file. Alberto Ed -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 10:53 AM To: [EMAIL PROTECTED] Subject: RE: DTD validation in DOMPrint Hi, not validating is different from not reading the dtd. You still h

RE: DTD validation in DOMPrint

2003-12-22 Thread Gareth Reakes
Hi, On Mon, 22 Dec 2003, Purdy, Edgar M wrote: > Gareth, > > My goal is to bypass the DTD validation. I am going to assume that the > XML string is valid. Then the flag you set is fine. This does not mean it will nto parse the DTD though. It has to do that anyway. Gareth -- Gareth Reakes,

RE: DTD validation in DOMPrint

2003-12-22 Thread Purdy, Edgar M
Gareth, My goal is to bypass the DTD validation. I am going to assume that the XML string is valid. Ed -Original Message- From: Gareth Reakes [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 10:53 AM To: [EMAIL PROTECTED] Subject: RE: DTD validation in DOMPrint Hi

RE: DTD validation in DOMPrint

2003-12-22 Thread Gareth Reakes
t; the DOMPrint sample runs completely through to normal completion. > If I remove the .dtd file from the directory DomPrint gives a run time error. > I wonder if the -v=never is being processed correctly? > > Ed > > -Original Message- > From: Denny Vrandecic [mail

RE: DTD validation in DOMPrint

2003-12-22 Thread Purdy, Edgar M
If I leave the .dtd file in the debug directory, and change the switch to -v=never, the DOMPrint sample runs completely through to normal completion. If I remove the .dtd file from the directory DomPrint gives a run time error. I wonder if the -v=never is being processed correctly? Ed

Re: DTD validation in DOMPrint

2003-12-22 Thread Denny Vrandecic
You don't need to change the code. Try using the option -v=never instead. Does this help? > I am experimenting with the DOMPrint sample code. > > I am making the assumption that the XML string is valid. > What changes do I make in the DOMPrint code to bypass the DTD va

DTD validation in DOMPrint

2003-12-22 Thread Purdy, Edgar M
I am experimenting with the DOMPrint sample code. I am making the assumption that the XML string is valid. What changes do I make in the DOMPrint code to bypass the DTD validation sequence Thanks Ed Purdy - To

DO NOT REPLY [Bug 16295] - DOMPrint Entity References

2003-01-23 Thread bugzilla
gzilla/show_bug.cgi?id=16295 DOMPrint Entity References [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 16295] New: - DOMPrint Entity References

2003-01-21 Thread bugzilla
gzilla/show_bug.cgi?id=16295 DOMPrint Entity References Summary: DOMPrint Entity References Product: Xerces-C++ Version: 1.4 Platform: Sun OS/Version: Other Status: NEW Severity: Normal Priority: Other Componen

DO NOT REPLY [Bug 14389] - DOMPrint - gDoCreate - wrong default value

2002-11-14 Thread bugzilla
gzilla/show_bug.cgi?id=14389 DOMPrint - gDoCreate - wrong default value [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Reso

DO NOT REPLY [Bug 14389] New: - DOMPrint - gDoCreate - wrong default value

2002-11-08 Thread bugzilla
gzilla/show_bug.cgi?id=14389 DOMPrint - gDoCreate - wrong default value Summary: DOMPrint - gDoCreate - wrong default value Product: Xerces-C++ Version: 2.1.0 Platform: Other OS/Version: Other Status: NEW Severity:

DO NOT REPLY [Bug 2264] - DOMPrint does not correctly print the ENTITY_NODE

2002-06-09 Thread bugzilla
gzilla/show_bug.cgi?id=2264 DOMPrint does not correctly print the ENTITY_NODE [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RE

RE: -u switch for DOMPrint

2002-05-16 Thread In, Jae Woo
Thank you. Jae. -Original Message- From: Dean Roddey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 15, 2002 6:46 PM To: [EMAIL PROTECTED] Subject: Re: -u switch for DOMPrint For instance, create an ISO-8859-1 document, and somewhere in there use a numerical character reference

Re: -u switch for DOMPrint

2002-05-15 Thread Dean Roddey
t, don't buy it!" - Original Message - From: "In, Jae Woo" <[EMAIL PROTECTED]> To: "Apache XML Developer List" <[EMAIL PROTECTED]> Sent: Wednesday, May 15, 2002 5:10 PM Subject: -u switch for DOMPrint Could anyone suggest a method for testing the -u

-u switch for DOMPrint

2002-05-15 Thread In, Jae Woo
Could anyone suggest a method for testing the -u switch for DOMPrint. Specifically, what is considered an unrepresentable character? Thanks in advance. Jae. <> - To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Getting char* by DOMPrint with strstream and using str()

2002-03-23 Thread Anton Spektorov
I need to convert a DOM_Document to a CString for a Web request. Instead of hardcoding the string, I am trying to create it with Xerces.   Somebody over here mentioned that he was able to obtain a char* with overloading method from DOMPrint while using strstream instead of ostream, and

Urgent: -- Memory fault(core dump) with DOMPrint sample on HPUX 10.20

2002-02-20 Thread YTian
Hi, folks, I built libxerces-c1_6_0.sl on HPUX 10.20 with g++ 2.95.2. (runConfigure -php-10 -cgcc -g++ -nsocket -tnative--- I didn't specify the message load option) When I run the code sample -- DOMPrint, the error message is like: $ IDOMPrint /home/local/test.xml Memory

Re: Odd results with whitespace and DOMPRINT

2001-12-21 Thread Tinny Ng
tripped! > > On 21 December 2001 10:02, Neil Sherman [SMTP:[EMAIL PROTECTED]] wrote: > > Hi all! > > > > I am trying to validate an XML document that contains attributes who have > whitespace at the beginning. It is important to retain the whitespace, for > various che

RE: Odd results with whitespace and DOMPRINT

2001-12-21 Thread Neil Sherman
2001 10:02, Neil Sherman [SMTP:[EMAIL PROTECTED]] wrote: > Hi all! > > I am trying to validate an XML document that contains attributes who have whitespace at the beginning. It is important to retain the whitespace, for various checks later. > > I am basing my code on the DOMPRI

Odd results with whitespace and DOMPRINT

2001-12-21 Thread Neil Sherman
Hi all! I am trying to validate an XML document that contains attributes who have whitespace at the beginning. It is important to retain the whitespace, for various checks later. I am basing my code on the DOMPRINT and DOMCOUNT examples. When I run the DOMPRINT example on my XML document

Re: DOMPrint

2001-10-16 Thread Susanna
Dear Frank! I sent You mail. I have found this error, now work all well. Thank You , Susanna Harutyunyan  - Original Message - From: Frank Balluffi To: '[EMAIL PROTECTED]' Sent: Monday, October 15, 2001 5:53 PM Subject: RE: DOMPrint Susanna

Re: DOMPrint

2001-10-16 Thread Susanna
::TextDecl(unsigned short const * const,unsigned short const * const)" (?TextDecl@DOMParser@@UAEXQBG0@Z)" . .  - list of   other function from DOMParser. How  can I correct this error (in DOMPrint it is line 460 - in my program I am use same line)  ? Thanks , Susanna Harutyunyan --

RE: DOMPrint

2001-10-15 Thread Frank Balluffi
2001 8:26 AMTo: [EMAIL PROTECTED]Subject: DOMPrint Dear Andreas!Thank You for e-mail (and program). You help me. From my project I am use (like in  DOMPrint-  in line 464) command:  parser->setValidationSchemaFullChecking(gSchemaFullChecking); and when execute my program ,

DOMPrint

2001-10-15 Thread Susanna
Dear Andreas!Thank You for e-mail (and program). You help me. From my project I am use (like in  DOMPrint-  in line 464) command:  parser->setValidationSchemaFullChecking(gSchemaFullChecking); and when execute my program , I am receive message"The procedure e

Exception problem with DomPrint example

2001-09-28 Thread Bob Nemeth
Xerces Version: 1.5.1 Visual C++ Pro w/SP5 I just started working with the Xerces-C, and I wanted to start by tearing apart some of the examples. After playing for a while, I copied the 3 source files for DOMPrint (DOMPrint.cpp, DOMTreeErrorReporter.cpp/hpp) and created a new project using these

RE: DOMPrint: Declaration and Document Type

2001-07-25 Thread Jesse Pelton
list of children. Hence the output you received. -Original Message- From: Chaim Koshizky [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 25, 2001 10:14 AM To: '[EMAIL PROTECTED]' Subject: RE: DOMPrint: Declaration and Document Type Here is the code i use m_Doc = m_Impl.createDo

RE: DOMPrint: Declaration and Document Type

2001-07-25 Thread Chaim Koshizky
Wednesday, July 25, 2001 3:32 PM > To: '[EMAIL PROTECTED]' > Subject: RE: DOMPrint: Declaration and Document Type > > You need to use DOM_Document::createXMLDecl() to create a non-null > XMLDecl: > > DOM_XMLDecl domDecl = m_Doc.createXMLDecl ("1.0&

RE: DOMPrint: Declaration and Document Type

2001-07-25 Thread Jesse Pelton
, July 25, 2001 5:35 AM To: '[EMAIL PROTECTED]' Subject: RE: DOMPrint: Declaration and Document Type I tried creating DOM_XMLDecl and insert before. It does not work the way you describe. here is the code : DOM_XMLDecl domDecl;//

RE: DOMPrint: Declaration and Document Type

2001-07-25 Thread Chaim Koshizky
hild); I can not find any documentation on DOM_XMLDecl, but the hpp file. Any help will be grateful > -- > From: Jesse Pelton > Reply To: [EMAIL PROTECTED] > Sent: Friday, July 13, 2001 6:01 PM > To: '[EMAIL PROTECTED]' > Subject:

Re: DOMPrint: Declaration and Document Type

2001-07-16 Thread Murray Cumming
"Jason E. Stewart" wrote: > > "Murray Cumming" <[EMAIL PROTECTED]> writes: > > > I'm trying to use the DOMPrint code to ouput the text of a DOM_Document > > that was constructed entirely in memory by adding nodes. Unlike the > > DOMPrint

Re: DOMPrint: Declaration and Document Type

2001-07-13 Thread Jason E. Stewart
"Murray Cumming" <[EMAIL PROTECTED]> writes: > I'm trying to use the DOMPrint code to ouput the text of a DOM_Document > that was constructed entirely in memory by adding nodes. Unlike the > DOMPrint example, this DOM_Document was never parsed from XML text. > &

RE: DOMPrint: Declaration and Document Type

2001-07-13 Thread Jesse Pelton
ething may have changed. My serializer is also descended a few generations from DOMPrint, so it may be that I did something to it as well. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

DOMPrint: Declaration and Document Type

2001-07-13 Thread Murray Cumming
I'm trying to use the DOMPrint code to ouput the text of a DOM_Document that was constructed entirely in memory by adding nodes. Unlike the DOMPrint example, this DOM_Document was never parsed from XML text. I find that the declaration text at the start is never written. I mean this ty

DOMSave = DOMPrint

2001-07-11 Thread kiuma
Ok I see too many messages reguarding it hey my mbox!! ;-P // DOMSave.h // // #ifndef DOMSAVE_H #define DOMSAVE_H // Includes #include #include #include #include #include #include #include #include #include #incl

RE: problem regarding DOMPrint

2001-07-11 Thread Chaim Koshizky
Would be nice to bulish your file serialization code throgh this forum . > -- > From: Anthony Zawacki > Reply To: [EMAIL PROTECTED] > Sent: Thursday, July 12, 2001 12:13 AM > To: [EMAIL PROTECTED] > Subject: Re: problem regarding D

RE: problem regarding DOMPrint

2001-07-11 Thread Nick Denning
I have seen the others responses, and as I am fiddling around with DOMPrint at the moment, let me show you what I have done and see if that does the trick for you. // --- // Local classes

Changing the DOMPrint example to include full escaping of text nodes.

2001-07-11 Thread Nick Denning
Just an observation, but it has taken me some time to resolve this. I think this is also a fairly common problem with many other people failing to handle the escape characters (and not even knowing about them). Is there any reason why the DOMPrint example does not convert all the standard

Re: problem regarding DOMPrint

2001-07-11 Thread Anthony Zawacki
Hello, Your not doing anything wrong, and there is not any problem (depending on your perspective.) If youlook at the DOMPrint example, you will see that it ignores the ostream it recieves, and uses a formatter in it's place that always output to std::out. You will need to change and fix

RE: problem regarding DOMPrint

2001-07-11 Thread Murphy, James
...snip... > ofstream outputfile; > outputfile.open("/tilde/lpcoop/temp.txt",ios::out); what do you expect this line to do? > outputfile << doc << endl; > outputfile.close(); > > Please tell me what the problem is ?? If i try to write a > normal string to > the outputfile like outputfile <<

problem regarding DOMPrint

2001-07-11 Thread Co-op DI
Hi , I am trying to work with the example DOMPrint given in the samples directory. The problem that I am haiving is that ... I am trying to print out the output in a FILE insted of printing it out on the CONSOLE. I am opening and closing the file properly but the output prints out on the CONSOLE

Re: DOMPrint with chCR/chLF

2001-06-29 Thread Joseph_Kesselman
The XML standard says is that various common combinations of CR and LF are converted to newline as the document is parsed. What they're converted back to on output is not specified, but any of those combinations is acceptable; generally, you'd pick whichever line break sequence is recommended by

Re: DOMPrint with chCR/chLF

2001-06-29 Thread Hal DeVore
> On Thu, 28 Jun 2001, "Kent" == Kent Dahl wrote: Kent> I don't remember the reference, anyone care to confirm or Kent> unconfirm? The following is from: http://www.w3.org/TR/REC-xml 2.11 End-of-Line Handling XML parsed entities are often stored in computer files which, f

Re: DOMPrint with chCR/chLF

2001-06-29 Thread Kent Dahl
Stefan Berglund wrote: > static const XMLCh gXMLDecl4[] = > { > chDoubleQuote, chQuestion, chCloseAngle > , chCR, chLF, chNull > }; > > Couldn't this be a problem in Unix ? CR/LF can cause a ^M character in some > cases? Is the XML standard saying that there should be a new line > after

DOMPrint with chCR/chLF

2001-06-26 Thread Stefan Berglund
Hello, I'm having problems with my app, I've borrowed the functionality of the DOMPrint example to get my parsed XML to a string, and when it "writes out" the XML_DECL_NODE, it uses the constant: static const XMLCh gXMLDecl4[] = { chDoubleQuote, chQuestion, chCloseAngl

XML Generation using DOMPrint !!

2001-06-25 Thread Awasthi, Anand
Hi, I am trying to geenrate an XMLfile or an XML string from DOM_Node using exmaple given in DOMPrint.cpp.I get XMLs but i also get junk at the end of xml. what may be the resaon. pls enlighten me. i am using following statements for xml generation: 1. for file : xmlfile << domnode << en

[Bug 2264] New: - DOMPrint does not correctly print the ENTITY_NODE

2001-06-21 Thread bugzilla
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2264 *** shadow/2264 Thu Jun 21 03:17:11 2001 --- shadow/2264.tmp.9067Thu Jun 21 03:17:11 2001 *** *** 0 --- 1,22 + ++ + | DOMPrint does not

RE: DOMPrint produces invalid xml.

2001-04-11 Thread Dean Roddey
Its probably just a simple bug in DOMPrint most likely. -- Dean Roddey Software Geek Extraordinaire Portal, Inc [EMAIL PROTECTED] -Original Message- From: Jiwoon Jeon [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 11, 2001 8:38 AM To: [EMAIL PROTECTED] Subject: DOMPrint

Re: DOMPrint produces invalid xml.

2001-04-11 Thread Tinny Ng
Jiwoon Jeon wrote: > The following XML shows the problem. > [snip] > > I found that the default #FIXED value at line 4 was missing. > What's wrong with me or DOMPrint? > I think you found a bug. I have checked in the fix which should be available in tomorrow nightly bui

DOMPrint produces invalid xml.

2001-04-10 Thread Jiwoon Jeon
The following XML shows the problem. - http://www.w3.org/TR/REC-html40"> ]> http://www.w3.org/TR/REC-html40"> DomPrint produces: ]> http://www.w3.org/TR/REC-html40"> I found that the default #FIX

RE: DOMPrint parser exception question

2001-04-10 Thread Dean Roddey
:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: DOMPrint parser exception question Team Xerces, The ErrorHandler documentation states "The parser shall use this interface instead of throwing an exception" and DOMTreeErrorReporter doesn't thro

DOMPrint parser exception question

2001-04-10 Thread Houle, Dennis W
Team Xerces, The ErrorHandler documentation states "The parser shall use this interface instead of throwing an exception" and DOMTreeErrorReporter doesn't throw any exception either. So how does control ever get passed to the parser's catch block in DOMPrint? Thanks for

Re: Domprint and overwriting files

2001-03-28 Thread Belezebubba
ssage - From: Emma Towey To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 1:34 PM Subject: Re: Domprint and overwriting files Hi,   Thanks a million for your help I have taken your suggestions. At the moment I am opening a file inserting new data and s

Re: Domprint and overwriting files

2001-03-28 Thread Emma Towey
ply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]> >Subject: Re: Domprint and overwriting files >Date: Mon, 26 Mar 2001 15:34:09 -0600 > >Emma > >I might be able to get you in the right direction. I needed to write out to >a file instead of to stdout. Here is what I c

Re: Domprint and overwriting files

2001-03-26 Thread Todd Firsich
ave to comment out the command line parameter counter logic in DOMPrint since my version allowed more inputs (I needed to also allow the user the capability to modify the values of a user specified node ... blah, blah, blah). Anyway, I added the follo

Re: Domprint and overwriting files

2001-03-24 Thread Gareth Reakes
I havent looked at the DOMPrint code myself for a while but I am fairly sure it does not provide the functionality you require. You will need to modify it with an extra command line parameter and insert some io code into the DOMPrint itself. If you do not know how to do this then have a look in

Re: Domprint and overwriting files

2001-03-24 Thread Emma Towey
I need to be able to call DOMPrint with a filepath/filename as the parameter, manipulate data ie append new data within DOMPrint and have the new file saved and returned back to me. I don’t want to have to set the filepath inside the settings of the project or on the command line.   Any

Re: Domprint and overwriting files

2001-03-24 Thread Gareth Reakes
What do you mean by it will not save? Have you changed the code so it outputs to a file? If so then it could be a problem with permissions. If not, well its doing what its supposed to do. If you just want to save to a file on the command line then you could redirect the output ./DOMPrint param

RE: Domprint and overwriting files

2001-03-23 Thread Jesse Pelton
How are you saving the file?   -Original Message-From: Emma Towey [mailto:[EMAIL PROTECTED]]Sent: Friday, March 23, 2001 2:39 PMTo: [EMAIL PROTECTED]Subject: Domprint and overwriting files I'm taking a file into DOMPrint manipulating it and printing it out onto the screen. Th

Re: overwriting in DOMPrint

2001-03-23 Thread Joseph_Kesselman
I'm not sure what you mean by "the updates aren't saving". When you modify the DOM, you are _only_ altering the copy that was loaded into the DOM. If you want to write that back to the file you must do so explicitly -- by running the equivalent of DOMPrint, with output dire

Domprint and overwriting files

2001-03-23 Thread Emma Towey
  Hi all, I’m having a bit of a problem that hopefully someone will be able to help me with.   I’m taking a file into DOMPrint manipulating it and printing it out onto the screen. This is working fine except that my new file will not save, that is my updates aren’t saving. When I open the file it

overwriting in DOMPrint

2001-03-23 Thread Emma Towey
  Hi all, I’m having a bit of a problem that hopefully someone will be able to help me with.   I’m taking a file into DOMPrint manipulating it and printing it out onto the screen. This is working fine except that my new file will not save, that is my updates aren’t saving. When I open the file it

Re: DOMPrint and manipulating data

2001-03-22 Thread peiyongz
within in the output. Regards, Peiyong Zhang XML Parsers Development IBM Toronto Laboratory email: [EMAIL PROTECTED] Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088 "Emma Towey" <[EMAIL PROTECTED]> on 03/22/2001 02:50:11 PM Please respond to [EMAIL PROTECTED]

Re: DOMPrint and manipulating data

2001-03-22 Thread Joseph_Kesselman
I haven't worked with the C++ version much, but in general the concept ought to be much the same from one version of the DOM to another. In Java, it would be roughly as follows. For more detail, see the DOM specification and/or the XML-DEV mailing list. parse your document into the DOM, ob

DOMPrint and manipulating data

2001-03-22 Thread Emma Towey
but still inside the Event Node, and then Print out the file to the screen but also save it so that it overwrites the original file. I have been using the DOMPrint Class to do this and I am able to read in and print out the file but I still can’t figure out how to manipulate the data before printing