Hi,
I'm trying (still) to dynamically build a graph of XSD type declarations
and their dependencies in arbitrary XSD schemas. So far everything but
this works: if a named model group is defined in its own declaration
and later referenced from inside a complex content type, I don't see how
to get
> Well,
>
> I've been digging around a lot to understand what Xerces does and does
> not allow and there seems to be some problem with Xerces here. If I
> follow your tip and use the ContentSpecNode I end up in a dead end. I
> can get the ContentSpec, but it doesn't do me much good, all that it
>
ot; Type: " << pVector->getLeafTypeAt(i) << endl;
}
}
}
So you have apparently two designs here: one internal to the library and
one for clients of the library, or so it seems.
Anyways, I'm back at my original question: what's the way to get the
list of paren
Hey,
There is a general mapping between schema types and application classes.
Think of it as a way to save an application as a graph provided you know
what the node definitions are ahead of time.
Good, that will help a lot.
Well I see this in the PSVI classes and I have started development on
it,
Thanks for the reply,
Comments below...
> -Original Message-
> From: Gareth Reakes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 17, 2005 12:58 AM
> To: xerces-c-dev@xml.apache.org
> Subject: Re: Advanced novice question about PSVI
>
> Hi,
>
> >
>
Hi,
I have a question whether I can use PSVI for an algorithm I have in
mind...
My goal is to take the content model from XSD schema documents and
transform it into an ordered graph/tree that can be used to serialize
application data in the order corresponding to the content model. If
the
To All,
I have a question whether I can use PSVI for an algorithm I have in
mind...
My goal is to take the content model from XSD schema documents and
transform it into an ordered graph/tree that can be used to serialize
application data in the order corresponding to the content model. If
the
erces-c-dev@xml.apache.org
02/28/2005 10:49 cc
AM
Subject
Featu
Hello,
I am using xerces in one of my projects for the first time and have a
question.
There is a feature on the list called "annotation error-reporting
capabilities". In my mind this means that xerces generates
error-messages from the annotation element where the error occured
Hi Alberto,
It is only for MacOS X; MacOS <=9 does not have sockets.
-Chris
On Dec 28, 2004, at 12:22 PM, Alberto Massari wrote:
Hi Chris,
I am not an expert on MacOS, but I was wondering if this change is
only compatible with MacOS X; does MacOS 9 (and earlier) have support
for BSD sockets?
Alb
Works great for me. Thanks very much!
-Chris
On Dec 28, 2004, at 1:09 PM, James Berry wrote:
Patch committed. Thanks! Please verify.
-jdb
On Dec 28, 2004, at 10:05 AM, Chris Cates wrote:
Since I haven't heard anything from anyone on the email below, I was
wondering if anyone would have an issue
Hey Chris,
I guess I missed your first posting on this issue. No, there's no
reason this should not be a part of the Mac OS port, and I'll try to
get it in shortly. I've been meaning to get around to this myself.
Thanks for the patch.
-jdb
On Dec 28, 2004, at 10:05 AM, Chris Cates wrote:
Sin
Hi Chris,
I am not an expert on MacOS, but I was wondering if this change is only
compatible with MacOS X; does MacOS 9 (and earlier) have support for BSD
sockets?
Alberto
At 12.05 28/12/2004 -0600, Chris Cates wrote:
Since I haven't heard anything from anyone on the email below, I was
wondering
Patch committed. Thanks! Please verify.
-jdb
On Dec 28, 2004, at 10:05 AM, Chris Cates wrote:
Since I haven't heard anything from anyone on the email below, I was
wondering if anyone would have an issue with me submitting the
following change:
//xerces-c-src_2_6_0/src/xercesc/util/Platf
Excellent! Thanks very much, James.
-Chris
[EMAIL PROTECTED]
On Dec 28, 2004, at 12:21 PM, James Berry wrote:
Hey Chris,
I guess I missed your first posting on this issue. No, there's no
reason this should not be a part of the Mac OS port, and I'll try to
get it in shortly. I've been meaning t
> Since I haven't heard anything from anyone on the email below, I was
> wondering if anyone would have an issue with me submitting the
> following change:
+1 from me, I lost a day to this missing code when I couldn't figure out
what the heck was happening.
-- Scott
Since I haven't heard anything from anyone on the email below, I was
wondering if anyone would have an issue with me submitting the
following change:
//xerces-c-src_2_6_0/src/xercesc/util/Platforms/MacOS/
MacOSPlatformUtils.cpp
78a79,80
> #elif defined(XML_USE_NETACCESSOR_SOCKET)
ember 16, 2004 3:19 PM
> To: [EMAIL PROTECTED]
> Subject: Windows XP Question
>
> Hello,
>
> I am working on a project that is considering the use of the
> Xerces XML
> parser for C++. My project supports Windows NT, 2000 and XP.
> I notice that
> there are sourc
Hello,
I am working on a project that is considering the use of the Xerces XML
parser for C++. My project supports Windows NT, 2000 and XP. I notice that
there are source and binary files for NT and 2000 but not XP. I also
stumbled across some win64 files that I could not re-find. My question
Greetings,
I'm currently using xerces-c 2.6 built on MacOS X 10.3 with sockets as
net access. (Which works very nicely, btw.)
I was wondering why MacOSPlatformUtils' implementation of
makeNetAccessor() does not create and return a SocketNetAccessor by
default if it sees that the XML_USE_NETACC
"Furcea Radu" <[EMAIL PROTECTED]>
wrote on 11/04/2004 12:10:23 PM:
> Hello,
> I'm quite new at using xerces-c and I have a problem.
> I want to be able to save an xml which contain numeric character references,
> so for example I want to be able to get for an element the value:
>
>
> The probl
Hello,
I'm quite new at using xerces-c and I have a problem.
I want to be able to save an xml which contain numeric character references,
so for example I want to be able to get for an element the value:
The problem with this kind of output is that the numeric character reference
is replaced by
Diego Susa wrote:
Tha fact is that Line & Col Numbers always print OK.
But the "Msg: " part only prints Ok when compiled with Borland Tools.
When compiled with MinGW, the getMessage() functions always returns ""
... (empty string) ???
What version of xerces are you using ? How are you compile bina
Hi:
I have a strange behavior with this function.
The simple, small, Error Handler I use is this:
// ...
bool Xml_ErrorHandler::handleError( const DOMError & domError )
{
_logger << "XercesError: ";
char* msgPtr = xercesc::XM
Bryan,
See http://www.apache.org/foundation/preFAQ.html#licence.
If that doesn't answer your question, send mail to [EMAIL PROTECTED]
-jdb
On Sep 23, 2004, at 2:10 PM, Bryan Wilcox wrote:
Hello,
Our group is using the Xerces C 2.5 parser to read/write XML in
several commercial sof
Hello,
Our group is using the Xerces C 2.5 parser to read/write XML in several commercial software products under development. I know that under the license agreement, a developer is required to provide acknowledgement to Apache for the use of this product in the end user documentation. Howeve
> If yes: what may happen if I do not call this method?
You will have memory leaks. If you do not restart your app for a long
time it will use all RAM you have.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
Hi everybody,
simple question: do I have to call the "XMLString::release()" method when an
XMLCh* pointer is not used anymore?
If yes: what may happen if I do not call this method?
Example code:
XMLCh* xchImpl = NULL;
xchImpl = XMLString::transc
Hi,
A newbie question: what does "LS" stand for?
Load Save
Another newbie question: what is the functional difference between
DOMBuilder and XercesDOMParser?
The interfaces and some of the default behaviors are different.
XercesDOMParser existed before DOM defined a parser.
Gareth
a document
pointer; you have to call XercesDOMParser::getDocument() after parsing to obtain the
document.
> -Original Message-
> From: Heeg, Michael [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 11:25 AM
> To: '[EMAIL PROTECTED]'
> Subjec
ECTED]
> Cc: Heeg, Michael
> Betreff: Re: AW: Question concerning DOMBuilder and encoding
>
>
> Hi Michael,
> if createDOMInputSource doesn't work, try with
>
> LocalFileInputSource file(XMLString::transcode(m_xmlPath.data()));
> file.setEncoding(XMLString::transcod
keep me
from trying.
> -Original Message-
> From: Gareth Reakes [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 11:25 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Question concerning DOMBuilder and encoding
>
> Hi Jesse,
>
> Jesse Pelton wrote:
Hi Jesse,
Jesse Pelton wrote:
Last I heard, Gareth suggested that work might start on DOM 3 Core, at least, following the release of 2.6, but I don't recall any further discussion.
I was looking for some volenteers :) No one has replied as yet. As I
said in my previous mail its quite a lot of work
mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 1. September 2004 15:20
> An: [EMAIL PROTECTED]
> Betreff: RE: Question concerning DOMBuilder and encoding
>
>
> Looking at the documentation, it appears that
> DOMBuilder::parse(const DOMInputSource &source) should allow
> y
)
> implementation. Maybe it'll get better when the final
> specification is implemented. The spec is considerably
> different from the draft the experimental implementation is
> based on. For instance, DOMBuilder and DOMInputSource were
> changed to LSParser and LSInput res
Wednesday, September 01, 2004 10:12 AM
> To: '[EMAIL PROTECTED]'
> Cc: Heeg, Michael
> Subject: AW: Question concerning DOMBuilder and encoding
>
> Hi Jesse,
>
> thanks for your advice. I tried, but I failed. Please see
> below the code
> fragment.
> The part wh
esse Pelton [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 1. September 2004 15:20
> An: [EMAIL PROTECTED]
> Betreff: RE: Question concerning DOMBuilder and encoding
>
>
> Looking at the documentation, it appears that
> DOMBuilder::parse(const DOMInputSource &source) sho
inal Message-
> From: Heeg, Michael [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 01, 2004 9:08 AM
> To: [EMAIL PROTECTED]
> Cc: Heeg, Michael
> Subject: Question concerning DOMBuilder and encoding
>
> Hi everybody,
>
> I have a problem with parsing a local f
e in the
local files.
My question: is it possible to set the encoding the DOMBuilder should use
outside of the local file?
Thanks for your help!
Best regards,
Michael Heeg
Here are some fragments of my sources:
//member variables
DOMDocument* m_domDoc;
DOMBuilder* m_domBuilder;
//set extern
"Chris Surridge"
cc:
Sent by: newsSubject: Question about external
entity references
I'm using the SAXParser to parse a dtd that has entity definitions which
contain references to external text files -- for example:
>From this, I expect a "data_element" element to have a "data_attribute"
attribute with a fixed value loaded from the "data.txt" file. Instead, the
"data_attribute
Hi,
this gets discussed between the committers at the planning for every
release :) It is a surprising amount of work. And by that, I don't even
mean implementing the features - just changing to the interfaces and
throwing not implemented exceptions for the appropriate methods. My
time over th
Hello All,
I noticed that the Level 3 support for the DOM LS module in Xerces was based on the working draft dated 26 February 2003. I was curious if someone knew if a future version of the Xerces parser that supported the final W3C DOM LS recommendation was in the works. I noticed that there
Jain [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 5:02 AMTo:
[EMAIL PROTECTED]Subject: Question
Post
Hi
I wish to read binary data from an
XML file. Can I parse/read it using Xerces. If yes which version and
how?
Hope to hear
soon.
Thanks.
Regards,
Ashish
Jain
Hi
I wish to read binary data from an XML file. Can I parse/read
it using Xerces. If yes which version and how?
Hope to hear soon.
Thanks.
Regards,
Ashish Jain
Hello,
I am trying to use the DomBuilder function loadGrammar that takes a DomInputSource to cause my parser to validate using an "in-memory" schema that we have loaded from a VC++ 2003 MFC resource. We have the grammar in a character buffer and pass it into a MemBuffInputSource which is then W
Hi;
I have the following snippet:
void myClass::foo1(DOMElement* elt)
{
DOMNode* importedNode = domEl->getOwnerDocument()->importNode(..);
// my importedNode is OK (when look to childs node)
(DOMNode*)elt = importedNode;
// my elt is OK ((when look to childs node, I get them correctly)
DOMNode
Hi Baccar,
you need to declare your function as
void myClass::foo1(DOMElement*& elt)
(note the &), or the changes done to the elt local variable will not be
propagated to the calling code.
Alberto
At 20.08 20/07/2004 +0200, Baccar MEDDEB wrote:
Hi;
I have the following snippet:
void myClass::foo1
Hi;
I have the following snippet:
void myClass::foo1(DOMElement* elt)
{
DOMNode* importedNode = domEl->getOwnerDocument()->importNode(..);
// my importedNode is OK (when look to childs node)
(DOMNode*)elt = importedNode;
// my elt is OK ((when look to childs node, I get them correctly)
DOMNode
At 10.04 20/07/2004 -0700, Bryan Wilcox wrote:
That is exactly what I mean. I have created a text node named error. It
has the content I have an in my document. The file is created by
serializing data out using a DOMWriter. It is read in using a validating
DOMBuilder which validates against
That is exactly what I mean. I have created a text node named error. It has the content I have an in my document. The file is created by serializing data out using a DOMWriter. It is read in using a validating DOMBuilder which validates against our schema. We just weren't sure that it did the
Hi Bryan,
At 09.47 20/07/2004 -0700, Bryan Wilcox wrote:
I have observed this behavior, but haven't been able to find anything in
the documentation to support what I believe to be true. Could somebody
clarify this for me. If I have a text node and inside the text node is
embedded "non-safe" ch
I have observed this behavior, but haven't been able to find anything in the documentation to support what I believe to be true. Could somebody clarify this for me. If I have a text node and inside the text node is embedded "non-safe" characters such as <, >, etc. the parser will correctly read/v
: jh_Zzz
To: [EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 11:55 AM
Subject: A question about DOM
Hi There,
I am using xerces to parse a XML document and return a DomDocument
object, my question is:
When the xml document is about only several nodes, there is no
problem, but after I add some
Hi,
how many is a few nodes? When you say the XML document is 2M, do you
mean the xml file itself? If so then 15M in memory is not unexpected.
Gareth
On 13 Jul 2004, at 4:55, jh_Zzz wrote:
Hi There,
I am using xerces to parse a XML document and return a DomDocument
object, my question is
If use SAX, how could I modify and save the
document?
- Original Message -
From:
jh_Zzz
To: [EMAIL PROTECTED]
Sent: Tuesday, July 13, 2004 11:55 AM
Subject: A question about DOM
Hi There,
I am using xerces to parse a XML document and return
a
Hi There,
I am using xerces to parse a XML document and return a
DomDocument object, my question is:
When the xml document is about only several nodes,
there is no problem, but after I add some data, the application will use
about 15M memory. (xml document is about 2M at this moment
Hello,
I am new to this list and using the Xerces Parser.
We are using version 2.5 of the parser in our C++
application as a static parsing library for importing
and exporting XML documents into a set of C++ classes
we use for manipulating the data in our code.
I was wondering if someone cou
Hi All!
I'm trying to parse not existing file, but 'parse' method
does not emit any exception... Simplified code is:
XercesDOMParser_var parser = new XercesDOMParser;
try {
parser->parse ("");
} catch (...) {
printf ("error"); // never reached!
}
Debugger said that:
Hi All!
I'm trying to parse not existing file, but 'parse' method
does not emit any exception... Simplified code is:
XercesDOMParser_var parser = new XercesDOMParser;
try {
parser->parse ("");
} catch (...) {
printf ("error"); // never reached!
}
Debugger said that:
Hi,
I have a xml file, one of elements called "include" contains the path to another xml
file. I need to validate the merged xml file. What's the best way to handle this? (
I can't use xinclude mechanism. )
Any suggestions and code snippets?
Thanks,
Lihong
--
> -Original Message-
> From: Song Li [mailto:[EMAIL PROTECTED]
> Sent: den 3 juni 2004 17:03
> To: [EMAIL PROTECTED]
> Subject: Newbie's question -- extracting information from XML file
>
> Hi,
>
> I have an XML
On Jun 3, 2004, at 11:02 AM, Song Li wrote:
Hi,
I have an XML file with the format looks like:
===
===
I want to extract the "value" under the node "subtype" by using DOM,
I've tried two methods but neither return a c
Hi,
I have an XML file with the format looks like:
===
===
I want to extract the "value" under the node "subtype" by using DOM,
I've tried two methods but neither return a correct result:
method 1: get a DOMnode(let
Thanks. I read the section and then a bit more. I understand the
definition of an identity constraint and such, but unclear as where it
explicitly recommends "...,within the specified scope"(2.2.4).
James
Gareth Reakes wrote:
Hi,
XML Spy is incorrect in this case. The visibility of the
Hi,
XML Spy is incorrect in this case. The visibility of the key does
go "upwards", so if you put a keyref at the top level then it could see
it. It is not however available inside other element declarations as you
have used it.
Hope this helps,
Gareth
For a more in depth explanation (i
Dear Gareth,
Thanks, I will have a look.
Best regards,
Markus
-Message d'origine-
De : Gareth Reakes [mailto:[EMAIL PROTECTED]
Envoyé : lundi 3 mai 2004 17:43
À : [EMAIL PROTECTED]
Objet : Re: question
Hi,
>
> more efficient than atof, for example ?
No, and moreover,
Hi,
>
> more efficient than atof, for example ?
No, and moreover, XML Schema types do not generally map to in built C++
types. Take a look a Pathan 2, an XPath2 implementation build on top of
Xerces. The full range of XML Schema types (including user defined) are
available. You should check out C
Dear Ladies and Gentlemen,
I’m trying to write a C++ implementation of
Xerces, which parses XML files,
where the type of data (e.g. boolean, integer,
double, float, etc. ) is specified
in a schema. However, the parser delivers these data
as XMLCh, and not as
boolean, integer, doub
I am trying to validate the following XML:
http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="list.xsd">
1234
2345
First
Second
Second
Against the following Schema:
http://www.w3.org/2001/XMLSchema";
el
Hi,
My extended question is what is the parser limit. I have 3 MB worth of
data followed by an entity & and again some data. I did get 3 MB of data
in one call to characters(so I assume it should be atleast > 3 MB). What is
the standard buffer size used within xerces. Can this fi
"Kiran BV"
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
otmail.com> cc:
Subject: Question on SAX output
Does the SAX parser always return all data for an element when the
characters() call is made. It seems that it returns all data until the end
of its tag or the start of another element or at some entity.
What is the general behaviour here. If I have a 10MB of data for an element,
does xerces al
Hi,
> 1. I have a set of in-memory schema grammars for one or more namespaces. I
> always want to use this instead of the one specified in the xml instance
> doc.
> I can cache the in-memory grammars but would the SAX Parser automatically
> resolve the schema in the instance doc to the in-memory o
1. I have a set of in-memory schema grammars for one or more namespaces. I
always want to use this instead of the one specified in the xml instance
doc.
I can cache the in-memory grammars but would the SAX Parser automatically
resolve the schema in the instance doc to the in-memory one.
Since I
Hi all
I am trying to parse a xml file with validation. I have schema namespaces specified
in the xml file. Do i have to get the xsd files for all of these schema namespaces
for validation to succeed ?? How do i handle these situation ??
Rajesh
-
Hi,
> When I do a DOMNode* pnodetoRelease = pNode->removeChild(*it);
>
> Is the pnodetoRelease still released when I call the DOMDocument release
> method or it is really orphaned?
It is still released.
Gareth
--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184
Thanks, so you mean Xerces internally reallocate new buffers...
Other question about removeChild ... just to be sure ...
When I do a DOMNode* pnodetoRelease = pNode->removeChild(*it);
Is the pnodetoRelease still released when I call the DOMDocument release
method or it is really orphaned?
yep
you need to release it
decho
- Original Message -
From: "Sylvain Duval" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 13, 2004 4:14 PM
Subject: Memory question
> Hi all,
>
> Small question about memory management :
>
> Wh
Hi,
you have to delete it.
Gareth
On Tue, 13 Apr 2004, Sylvain Duval wrote:
> Hi all,
>
> Small question about memory management :
>
> When I do a setAttribute like this on a DOMElement :
>
> XMLCh* Name;
> chName = XMLString::transcode("synchro&quo
Hi all,
Small question about memory management :
When I do a setAttribute like this on a DOMElement :
XMLCh* Name;
chName = XMLString::transcode("synchro");
XMLCh* chValue;
chValue = XMLString::transcode("attValue");
((DOMElement*)pNode)->setAttribute(chName, ch
Posting the question again. Can anyone help on this matter.
Thanks
Kiran
I had a question on id handling in xerces.
For eg. if I have schema A.xsd
schema B.xsd
//HERE ABC value is repeated as a id
If we look A.xsd as standalone XML having a id attribute it is unique.
However if I
I had a question on id handling in xerces.
For eg. if I have schema A.xsd
schema B.xsd
//HERE ABC value is repeated as a id
If we look A.xsd as standalone XML having a id attribute it is unique.
However if I parse A.xsd, I get an error in B.xsd saying the id attribute is
I am new to all this, and in the same learning boat as you are,
Glad to be of help ..
-Original Message-
From: Rajesh Chilambi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 1:09 PM
To: [EMAIL PROTECTED]
Subject: RE: Question
Thanx very much, that worked...
-Original
Thanx very much, that worked...
-Original Message-
From: Bovy, Stephen J [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 4:05 PM
To: [EMAIL PROTECTED]
Subject: RE: Question
You need to do it on the parser before you do the parse:
parser->setFeature ( XMLUni::fgDOMNamespa
rom: Gareth Reakes [mailto:[EMAIL PROTECTED] On
> > Behalf Of Gareth Reakes
> > Sent: Thursday, March 25, 2004 12:58 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Question
> >
> > Hi,
> > you need to tell the parser that you want to use namespaces.
> &
You need to do it on the parser before you do the parse:
parser->setFeature ( XMLUni::fgDOMNamespaces, true );
-Original Message-
From: Rajesh Chilambi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 1:02 PM
To: [EMAIL PROTECTED]
Subject: RE: Question
Hi,
Thanx for
sage-
> From: Gareth Reakes [mailto:[EMAIL PROTECTED] On
> Behalf Of Gareth Reakes
> Sent: Thursday, March 25, 2004 12:58 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Question
>
> Hi,
> you need to tell the parser that you want to use namespaces.
> Take a look in t
He did that with this:
domParser->setDoNamespaces(true);
Or is there more to it than that
-Original Message-
From: Gareth Reakes [mailto:[EMAIL PROTECTED] On
Behalf Of Gareth Reakes
Sent: Thursday, March 25, 2004 12:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Question
rsday, March 25, 2004 3:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Question
Hi,
you need to tell the parser that you want to use namespaces. Take
a look in the docs or samples.
Gareth
On Thu, 25 Mar 2004, Rajesh Chilambi wrote:
> Hi,
> I have the following code
>
&
_t* p1 = (wchar_t*)ele->getPrefix();
> wchar_t* p2 = (wchar_t*)ele->getNodeName();
> wchar_t* p3 = (wchar_t*)ele->getNamespaceURI();
>
> The DOMNode in question is like this ...
> getLocalName, getprefix and getnamespaceuri all return empty strings. Only
>
wchar_t* p = (wchar_t*)ele->getLocalName();
wchar_t* p1 = (wchar_t*)ele->getPrefix();
wchar_t* p2 = (wchar_t*)ele->getNodeName();
wchar_t* p3 = (wchar_t*)ele->getNamespaceURI();
The DOMNode in question is like this ...
getLocalName, getprefix and getnamespaceuri
le's that "show" but do not explain !!! Please forgive my
prejudice
Keep Up the Good Work , and thanks again for the help
-Original Message-
From: Gareth Reakes [mailto:[EMAIL PROTECTED] On
Behalf Of Gareth Reakes
Sent: Wednesday, March 24, 2004 2:12 AM
To: [EMAIL PRO
Hi,
> How do you delete/release and or free the dom
> object tree when you are done with it..
Are you talking about the parser or the doucument? You can delete the
parser, but you should only release the document as it does some
additional cleanup. Additionally, if you got the document from the p
How do you delete/release and or free the dom
object tree when you are done with it..
I tried dom->release() but I got a nasty 0C4 abend
with the following trace:
The system detected a protection exception (System Completion Code=0C4).
>From entry point xercesc_2_2::AbstractDOMParser::~Abstrac
Hi,
On Thu, 18 Mar 2004 [EMAIL PROTECTED] wrote:
> Hi all,
>
> I have a couple of question on RemoveChild() method in DOMNode class.
> We are using Xerces 2.2.0. Any help would be appreciated.
>
>
> 1. After I call RemoveChild(), do I still have to call release() on the
Title: RemoveChild() Question...
Hi all,
I have a couple of question on RemoveChild() method in DOMNode class. We are using Xerces 2.2.0. Any help would be appreciated.
1. After I call RemoveChild(), do I still have to call release() on the returned object to free up the memory?
2
Hi,
from a quick look at the docs this could happen when the index of
the attribute you are looking for is greater than the list length.
> ElementCount++;
> AttrCount += attr.getLength();
Why do you += here? Do you not want the count to be the count of the
attributes for each el
Hi again,
I'm building a wrapper around xerces and have started
already to implement a domparser. The idea behind is
that through a factory object the user instantiates
automatically a dom or sax parser.
Since Dom parser is working properly now(Well have to
check now how it works with walkers...).
Alberto Massari wrote:
> Hi Peter,
>
> At 14.24 08/03/2004 +0100, Peter Billen wrote:
> >Hi all,
> >
> >I have a question about the getElementsByTagName()-function.
> >
> >Imagine following simple xml structure:
> >
> >
> > woez
1 - 100 of 365 matches
Mail list logo