Re: [ANNOUNCEMENT]: Xerces-C 2.5.0 is now available

2004-02-19 Thread Colin Paul Adams
The web site has not been updated - all information is about 2.4.0. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Implementing DOMParser

2003-07-11 Thread Colin Paul Adams
>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: Colin> I haven't looked into the entity resolver business yet, but Colin> I guess it will be something similar. Well, no. I don't think much of the Last Call working draft - it

Implementing DOMParser

2003-07-11 Thread Colin Paul Adams
tity resolver business yet, but I guess it will be something similar. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parsing from a string

2003-07-10 Thread Colin Paul Adams
>>>>> "Gareth" == Gareth Reakes <[EMAIL PROTECTED]> writes: Gareth> Hi, its quite unlikely that we will implement this in the Gareth> next 6 months. OK, then I shall go ahead and do it. --

Re: Parsing from a string

2003-07-10 Thread Colin Paul Adams
lp. I've been discussing this with my boss - he wants to know if you are likely to tackle this yourself within 6 months, if I were to not go ahead with it. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Parsing from a string

2003-07-08 Thread Colin Paul Adams
of the values have changed around. I propose fixing the values, and adding the fifth case, to come in line with the last-call draft. OK? -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Parsing from a string

2003-07-07 Thread Colin Paul Adams
new files with the new names, for starters. Then we have to decide exactly how a DOMInputStream and a DOMReader would be implemented (the more I think about it, the more I think DOMInputStream is what I want to be able to set - since I have am start

Re: Parsing from a string

2003-07-07 Thread Colin Paul Adams
s/DOMTest directory. I see no such directory. Did you mean MemParse? This is SAX parsing. I specifically want to be able to use DOMBuilder::parse (DOMInputSource). Can we discuss implementing this? I'm prepared to do it myself if

Parsing from a string

2003-07-04 Thread Colin Paul Adams
Is the DOMBuilder method parse (DOMInputSource) implemented in 2.3.0 or later? If so, is it yet possible to build a DOMInputSource and then set the stringData attribute on it, so as to be able to parse from a DOMString? -- Colin Paul Adams Preston Lancashire

Re: Validation without loading

2003-06-18 Thread Colin Paul Adams
>>>>> "Gareth" == Gareth Reakes <[EMAIL PROTECTED]> writes: Gareth> and Alby has made the Gareth> situation slightly better than this. What's Alby? -- Colin Paul Adams Preston Lancashire --

DOMBuilder::release()

2003-06-08 Thread Colin Paul Adams
create a mutual dpendency between the dombuilder and the domdocument, such that you cannot use the same dombuilder to create a large number of documents, without tying up a large amount of memory, as you cannot release the individual domdocuments as you finish with them. -- Colin Paul Adams Preston

Memory model in 2.3.0 (Was: DOM size limit?)

2003-06-04 Thread Colin Paul Adams
>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: Colin> Is there any sort of memory constraint on the size of a Colin> DOMDocument, and it's collective assoicated nodes? I'm Colin> getting mysterious segmentation violation

DOM size limit?

2003-06-03 Thread Colin Paul Adams
by xerces (2.2.0 - I can't try 2.3.0 as I also use pathan). I'm off to do some debugging inside xerces now, but it would help to know if there is a definite limit (O/S is Redhat linux 8.0, and ulimit is unlimited).. -- Colin Paul Adam

Ownership of const XMLCh *

2003-06-03 Thread Colin Paul Adams
When a method such as DOMNode::getLocalName() returns a const XMLCh *, is the user responsible for deallocating the memory pointed to by the pointer, or is it owned by the DOMImplementation? -- Colin Paul Adams Preston Lancashire

Re: [ANN]: Xerces-C 2.3.0 released!

2003-05-29 Thread Colin Paul Adams
you let me know if Neil> it worked? Yes. The online docs are now up-to-date. Thanks. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [ANN]: Xerces-C 2.3.0 released!

2003-05-28 Thread Colin Paul Adams
>>>>> "Gareth" == Gareth Reakes <[EMAIL PROTECTED]> writes: Gareth> Hi, what docs are these? The ones at xml.apache.org/xerces-c/etc. They arer still 2.2.0 I think. -- Colin Paul Adams Preston Lancashire --

Re: [ANN]: Xerces-C 2.3.0 released!

2003-05-27 Thread Colin Paul Adams
DOMDocument appears to have lost the methods canSet/set/getNormalizationFeature, but they are still in the documentation. Could someone please comment. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL

Re: DOMInputSource (was: EntityResolver doesn't receive the baseURI)

2003-04-03 Thread Colin Paul Adams
have written a complete (just about) interface for Eiffel to the DOM, implemented as bridging code to xerces-c 2.2. Because I have not done any SAX interface, it is currently impossible to write an entity resolver. I know that I will need it some time down the line (not exactly sure

Re: DOMInputSource (was: EntityResolver doesn't receive the baseURI)

2003-04-03 Thread Colin Paul Adams
? Yes. (new spec? That was the spec way back in april). I hadn't intended to raise this until I was ready to provide a patch, but as the matter was raised... -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail:

DOMInputSource (was: EntityResolver doesn't receive the baseURI)

2003-04-03 Thread Colin Paul Adams
official method of creating a DOMInputSource creates an empty one. So I hope this interface will be rounded off for 2.3. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Distinguishing between and empty element and a Null element

2003-03-28 Thread Colin Paul Adams
single text node, whose contents is two quotation marks. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: DTD Question

2003-03-27 Thread Colin Paul Adams
nthony> contained within the Parent element. Anthony> Is it possible to express this in a DTD? No, but you can with an XML Schema. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AW: External Entities

2003-03-11 Thread Colin Paul Adams
the external subset. And those users who need the company-specific extension include your file within the internal subset. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: External Entities

2003-03-11 Thread Colin Paul Adams
; extension of my DTD, which is not used by all users. A few Mirko> users use it, others do not. Consequently the Test.ent can Mirko> be present or not. Those users who want it can declare it in the internal subset, so leave

Transcoder block size

2003-02-01 Thread Colin Paul Adams
build) is that is not so - the blocksize is irrelevant (except for possible performance implications). Provided I code the right maximum size in the call to transcodeTo or TranscodeFrom, then even with a blockSize of 4 bytes specified in the constructor, all is OK. -- Colin Paul Adams Preston

Re: Bug 15928 not fixed in latest nightly builds

2003-01-27 Thread Colin Paul Adams
if Tinny> needed. Yes please. It's causing me problems at the moment, and I can envision other circumstances when it would be necessary. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

When to delete nodes. Was: Bug 15928 not fixed in latest nightly builds

2003-01-25 Thread Colin Paul Adams
>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: Tinny> In the meantime may be you can check why the "local_file" Tinny> is not destroyed in your Eiffel program. Colin> Oh, I know why that is. I've been putting off

Re: Bug 15928 not fixed in latest nightly builds

2003-01-24 Thread Colin Paul Adams
lysing how to deal with when to destroy objects (project is still beta). I guess now is the time. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug 15928 not fixed in latest nightly builds

2003-01-24 Thread Colin Paul Adams
ultiple possible implementations). But the above code works even if you comment these out. 2) Rather than calling XMLString::transcode, I create a UTF-8 transcoder, and use that (as pure ascii is a subset of UTF-8). BTW the same code, if writing to StdOutFormatTarget, or MemBufFormatTarget, works. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug 15928 not fixed in latest nightly builds

2003-01-23 Thread Colin Paul Adams
to write the equivalent pure C++ program? I can do it tomorrow, if so. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Bug 15928 not fixed in latest nightly builds

2003-01-23 Thread Colin Paul Adams
I just get an empty file (the file is created, but with zero size). Works properly with 2.1.0. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Bug 15928 not fixed in latest nightly builds

2003-01-23 Thread Colin Paul Adams
not to be fixed. I reverted to 2.1.0 and my code works again. If I can remember, I shall go to Bugzilla tonight, when I can get online again. But I'm posting this message just in case I forget. -- Colin Paul Adams Preston Lanca

BC++Builder 6.0 and DOMUserDataHandler

2003-01-23 Thread Colin Paul Adams
oid handle ( DOMOperationType operation, const XMLCh * key, void * data, const DOMNode * src, const DOMNode * dst) { std::cerr << "Value of operation is:###" << int(operation) << "###" << std::endl; } produces the output: Value of operation is:###1602

Re: DTD for my DOM program

2003-01-16 Thread Colin Paul Adams
>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: >>>>> "Sarah" == Leitner, Sarah M [Contractor] writes: Sarah> So are you saying I can't do this for DOM? If so, how do I Sarah> validate my code using a D

Re: DTD for my DOM program

2003-01-16 Thread Colin Paul Adams
to parse the document, first setting the "validation" feature on the DOMBuilder. If you are building a DOM programatically, then you could serialize it and re-parse it to validate (not very efficient, I know). -- Colin Paul Adams Preston Lancashire -

Deprecated DOM interfaces

2003-01-16 Thread Colin Paul Adams
find no trace of any way of converting from the deprecated interfaces to the current ones, or vice-versa. Can anyone please suggest a way out of my dilemma? -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail: [EMAIL

Re: still can't find DTD for my DOM program

2003-01-16 Thread Colin Paul Adams
t, but it has Erik> been a part of Xerces DOM for a long time. it is in the proposed 3.0 draft. But it depends upon DOMInputSource, which isn't fully implemented in Xerces yet (in fact, it's useless as far as I can see). -- Colin Paul Adams Preston Lancashire --

Namespace declarations missing?

2002-12-25 Thread Colin Paul Adams
my_target = new StdOutFormatTarget (); writer->writeNode (my_target, *document); } the DOMWriter does NOT write out any xmlns attributes, unless the commented-out section is un-commented. Is this a bug in createDocument/createElementNS, or am I missing something? Same problem in both

Re: DOMBuilder::parseURI et. al.

2002-12-06 Thread Colin Paul Adams
>>>>> "Colin" == Colin Paul Adams <[EMAIL PROTECTED]> writes: Colin> Firstly, DOMImplementationLS and DOMImplementation are not Colin> defined in the IDL as inheriting from each other. It seems Ah. I should have read the actual specification more c

DOMBuilder::parseURI et. al.

2002-12-06 Thread Colin Paul Adams
am well aware that these interfaces are liable to change (as indeed will the W3C IDL specifications), but it will help me to know what your thinking is on this. -- Colin Paul Adams Preston Lancashire - To unsubscribe, e-mail