Hi,
I'm a Xerces user, not a developer, and I have a problem with the COM
bindings for Xerces-C.
I couldn't find a mailing list 'Xerces-C User' analogous to 'Xerces-J User',
so I'm posting my question here.
I'm using the archive
http://xml.apache.org/dist/xerces-c/experimental/com/xerces-com-1_2
[EMAIL PROTECTED] wrote:
>
> Christopher,
>
> Would you mind sending us your version of the files?
> thanks.
>
> /src/runConfigure
> /src/util/Platforms/IRIX/IRIXPlatformUtils.cpp
Here they are. Thanks for taking an interest in this.
-chris
--
Christopher [EMAIL PROTECTED]
Hey All,
I was using SAX2, and inside of my ContentHandler's startElement()
method I called attrList->getURI(0) and got the following:
Exception thrown in file: 'StringPool.cpp'
At line: '186'
Exception message is:
String pool id was not legal
Here is a gdb backtrace:
#0 0x6fd8bc50 in kill
In Xerces-C 1.4, when ReaderMgr creates a stream through the
makeStream() method call on an InputSource, the stream seems to be
leaked if it throws an exception during it's readBytes method call. I
couldn't find a bug filed against this and was wondering if it has
been fixed in 1.5.1?
Cheers,
Bri
D'OH I'm so sorry. I see the problem with my code!
I'm asking for the children of the wrong element! :*0
*** Nevermind! *** argh! :I :I :I
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 2:40 PM
To: [EMAIL PROTECTED]
Cc: '[EMAIL
Julia Larson would like to recall the message, "Stripping out whitespace".
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
Hi!
I'm using your source code xerces 1.5 and I'd like to point two things:
1- The file "src\util\NetAccessors\WinSock\BinHTTPURLInputStream.cpp"
does not compile using UNICODE
if (_UNICODE) is defined then the statements
gWS
Hi all,
I have problems using namespaces and schema together in an application.
To be honest I don't no much about namespaces and schemas yet but have
to learn it. Ok, so what I am looking for is a simple xml-file like
personal-schema.xml and a corresponding xsd-file like personal.xsd but
which b
Okay, here is the code
Thanks
-Julie
DOMParser parser;
parser.setValidationScheme( DOMParser::Val_Auto );
parser.setDoNamespaces( false );
parser.setDoSchema( false );
parser.setDoValidation( true );
parser.setValidationSchemaFullChecking( false );
DOMTreeErrorReporter errReporter;
parser.setEr
Before you parse the doc set:
TheParser.setIncludeIgnorableWhitespace
(false);
TheParser.setValidationScheme
(DOMParser::Val_Always);
You must have validation on for SetIgnorableWhitespace(false) to work!
-Origina
Well, I could certainly step through the input stream
and do a TrimLeft and TrimRight on every line, but
this seems expensive. Isn't there a way to tell the parser
to ignore extraneous whitespace?
Thanks
-Julie
-Original Message-
From: Scott A. Herod [mailto:[EMAIL PROTECTED]]
Sent: T
Here is an excerpt of the appropriate elements from from the DTD
NSAPI.dtd
These are the only two elements involved, but if you think you need to
see the whole DTD, I will send it.
Thanks!
-Julie
-Original Message-
From: Michael McIntosh [mailto:[EMAIL PROTECTED]]
Sent: Thursd
>The parser tells me it only has one child - the Domain "0" child.
>Why doesn't it recognize the second child?
It might help if you showed us how you were asking the parser for that
info. It sounds more likely to be a bug in your code than in the parser,
especially given the problem you reported
please send us the DTD.
-Original Message-
From: Julia Larson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 4:33 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Stripping out whitespace
An amendment to my last message:
Actually, in the latter case
The parser tells me it only h
Hi Julie,
I've got a generic whitespace stripper that I use a lot. It uses
STL strings but should be easy to adjust. Notice that it turns any
whitespace into single space character. It also trims WS off the
front and rear of the string.
Scott
An amendment to my last message:
Actually, in the latter case
The parser tells me it only has one child - the Domain "0" child.
Why doesn't it recognize the second child?
Please help
Thank you
-Julie
-Original Message-
From: Julia Larson
Sent: Thursday, August 30, 2001 1:10 PM
To
Hello all,
Sorry if this has been brought up before, but
is there a way to tell the parser to strip out or
ignore extraneous tabs and spaces.
The problem I'm having is parsing the following text:
When this is parsed by Xerces, it tells me that
there is one node NSAPI
> Not sure about the best way to bring this up, but isn't the
> buffer returned
> by transcode() allocated with new[]? If so, the proposal is
> flawed, since
> it is using free() and not delete[]... If this type of
> "solution" is chosen
> to be implemented, maybe it would be best to localize
I had the same problem.
I added a function to XMLString to deal with this.
XMLString.hpp
static void XMLString::deleteBuffer( char* ptr );
XMLString.cpp
// JL
void XMLString::deleteBuffer( char* ptr )
{
delete [] ptr;
}
hth,
-J
-Original Message-
From: Armistead, Pe
Not sure about the best way to bring this up, but isn't the buffer returned
by transcode() allocated with new[]? If so, the proposal is flawed, since
it is using free() and not delete[]... If this type of "solution" is chosen
to be implemented, maybe it would be best to localize the solution a b
Hi Scott,
looks like were in the same business, sort of. Yes, I have a classes for
managing all things DOM and the main application calls methods of those
classes, so we are in agreement there. I still would like to somehow create
my own collection of nodes though.
Thanks,
John
-Origin
Read "[EMAIL PROTECTED]"'s bug submission [1]. He is proposing
void XMLPlatformUtils::Free(void *p)
That can be called to free memory allocated by Xerces (perhaps from a
statically linked CRT). Methinks this would solve your problem. Add on
yourself or wait for that change in the code base.
"Patrick Lok" <[EMAIL PROTECTED]> writes:
> At 02:24 AM 8/30/01, you wrote:
>
>
> >Julia Larson wrote:
> >
> >>Please help a newbie who can't find it in the docs
> >>How do I specify a DTD to use with a DomParser instance?
> >
> >
> >Supply a DOCTYPE, e.g. :
> >
> >
> >
> >
> >...
> >
>
> If t
> What do you mean by "component"?
In this case, anything that has a statically linked CRT.
> Is Xerces a "component" ?
Yes.
> If so, how can I ensure that the strings are freed inside Xerces ?
You would have to create a release function inside Xerces to do this I
imagine.
> Is there anothe
Schema development is still on-going. We have just implemented the "all"
support. Please try the latest nightly build
(http://xml.apache.org/dist/xerces-c/nightly/2001-08-30/) and see if it
works for you.
Tinny
Wiessner Karsten wrote:
> Hi there,
>
> I'd like to use Xerces for C++ in an ongoi
"Armistead, Peter" wrote:
> If you build the app and the components with static CRT you will get
> different heaps for each component.
>
> If you work this way you need to make sure the strings are freed inside the
> same component that allocated them,
Thanks again for your reply.
What do you m
> Thanks for the reply. But I think you did not understand me.
> I don't want my application to depend on msvcrt.dll and msvcp60.dll.
> I want to use static libs. I understand that all "parts" of a
> process must use
> the same kind of libs. In order to make it work, I need to
> rebuild Xerces
>
Hello,I
am currently working on a multi-threaded application using Xerces C++ SAX parser
(v. 1.5.1) on Solaris 7.0. The application is working fine until an fatal
exception is raised (SAXParseException) due to an invalid XML. It crashes the
application consistently. After looking into the ap
"Armistead, Peter" wrote:
> Daniel,
>
> Have you checked that you are using the DLL version of CRT?
>
> If not, the freeing of memory will fail due to different heaps,
>
> Peter
Thanks for the reply. But I think you did not understand me.
I don't want my application to depend on msvcrt.dll and m
I am writting a IIS server extension. Is it ok if I just move over the
DOMCount sample within the extension code? Do I have to do anything special
not to get any memmory leaks or what not?
-
To unsubscribe, e-mail: [EMAIL PROTECT
Daniel,
Have you checked that you are using the DLL version of CRT?
If not, the freeing of memory will fail due to different heaps,
Peter
> -Original Message-
> From: Daniel Hägg [mailto:[EMAIL PROTECTED]]
> Sent: Donnerstag, 30. August 2001 14:38
> To: [EMAIL PROTECTED]
> Subject: St
Hi!
Is it possible to build Xerces with static libraries on WIN32 ?
I have tried but failed. My app asserts when it tries to free a string allocated
by transcode. This does not happen if I compile both Xerces and my app with
dynamic libraries. I know this problem is mentioned in the FAQ but the a
Hello,
We encounter *fatal problems* while trying to run Xerces on AIX43.
We are using pre-compiled tarballs from several sources : Xerces 1_5_0,
Xerces 1_5_1, and the last built xml4c from ibm (their alphaworks website).
With those librairies, the same problems occur when compiling samples whi
Patrick Lok wrote:
> At 02:24 AM 8/30/01, you wrote:
>
>
>> Julia Larson wrote:
>>
>>> Please help a newbie who can't find it in the docs
>>> How do I specify a DTD to use with a DomParser instance?
>>
>>
>>
>> Supply a DOCTYPE, e.g. :
>>
>>
>>
>>
>> ...
>>
>
>
> If the DOCTYPE is not i
Wang, Xinju wrote:
> 1. If I need to port my C++ application to other platforms, should I stick
> with XMLCh? If so, how can I convert a char to an XMLCh?
> 2. Any sample code on using XMLString? Any other string helper class around?
In case it's enough the local code page you can try:
/
At 02:24 AM 8/30/01, you wrote:
>Julia Larson wrote:
>
>>Please help a newbie who can't find it in the docs
>>How do I specify a DTD to use with a DomParser instance?
>
>
>Supply a DOCTYPE, e.g. :
>
>
>
>
>...
>
If the DOCTYPE is not in the document, is there a way to tell the DOMParser
to par
Julia Larson wrote:
> Please help a newbie who can't find it in the docs
>
> How do I specify a DTD to use with a DomParser instance?
Supply a DOCTYPE, e.g. :
...
> Where does it look for the dtd? local directory?
> Does it need a fully qualified path?
You can supply the fully qua
Hi all,
Has anyone build the Xerces library on a LINUX platform,
using the Portland PGI-compiler (see www.pgroup.com)?
We seem to be running into an error while precompiling/prelinking:
'pgCC: /mnt/usrx/usr1/people/madymo/pgi/linux86/bin/pgprelnk TERMINATED by
signal 11'
Does this sound famili
38 matches
Mail list logo