You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Gareth Reakes <ga...@decisionsoft.com> on 2002/08/01 09:40:55 UTC
Re: ArrayJanitor
Hi,
take a look in util/Janitor.hpp off the xerces source. It appears
to be an auto pointer of sorts.
Gareth
On Wed, 31 Jul 2002, nirmalts wrote:
> Hi
>
> Can anyone tell me what is ArrayJanitor in Xerces? And
> what is it used for?
>
> Regards,
> Nirmal
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd. http://www.decisionsoft.com
Office: +44 (0) 1865 203192
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
DOCTYPE catalog entity
Posted by nirmalts <ni...@yahoo.com>.
Hi
I'm making an SGML catalog parser. It will be called
from resolveEntity() method of Xerces.
I'm confused with DOCTYPE entity.
When should a lookup of catalog be done for DOCTYPE
entities.
1. Is it when a doctype with no external or internal
subset is encountered?
ie., <!DOCTYPE xxxxx> ie., without a sysid or publid?
2. If doctype has publicid or sysid should the catalog
be looked up?
3. Should a lookup of catalog be done if there is no
doctype declaration in
the document i.e.,
<xxxx>
......
</xxxx>
Regards,
Nirmal
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: ArrayJanitor
Posted by Gareth Reakes <ga...@decisionsoft.com>.
Hi,
yes.
Gareth
On Thu, 1 Aug 2002, nirmalts wrote:
> Hi Reakes
>
> I did have a look earlier.
>
> What I understand is, all objects created within
> Xerces are put in janitors. So that the memory gets
> cleaned up when the janitor goes out of scope. Is my
> understanding correct?
>
> Regards
> Nirmal
>
> --- Gareth Reakes <ga...@decisionsoft.com> wrote:
> > Hi,
> > take a look in util/Janitor.hpp off the xerces
> > source. It appears
> > to be an auto pointer of sorts.
> >
> > Gareth
> >
> >
> > On Wed, 31 Jul 2002, nirmalts wrote:
> >
> > > Hi
> > >
> > > Can anyone tell me what is ArrayJanitor in Xerces?
> > And
> > > what is it used for?
> > >
> > > Regards,
> > > Nirmal
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Health - Feel better, live better
> > > http://health.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > xerces-c-dev-unsubscribe@xml.apache.org
> > > For additional commands, e-mail:
> > xerces-c-dev-help@xml.apache.org
> > >
> > >
> >
> > --
> > Gareth Reakes, Head of Product Development
> > DecisionSoft Ltd.
> > http://www.decisionsoft.com
> > Office: +44 (0) 1865 203192
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> > xerces-c-dev-help@xml.apache.org
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
--
Gareth Reakes, Head of Product Development
DecisionSoft Ltd. http://www.decisionsoft.com
Office: +44 (0) 1865 203192
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
Re: ArrayJanitor
Posted by nirmalts <ni...@yahoo.com>.
Hi Reakes
I did have a look earlier.
What I understand is, all objects created within
Xerces are put in janitors. So that the memory gets
cleaned up when the janitor goes out of scope. Is my
understanding correct?
Regards
Nirmal
--- Gareth Reakes <ga...@decisionsoft.com> wrote:
> Hi,
> take a look in util/Janitor.hpp off the xerces
> source. It appears
> to be an auto pointer of sorts.
>
> Gareth
>
>
> On Wed, 31 Jul 2002, nirmalts wrote:
>
> > Hi
> >
> > Can anyone tell me what is ArrayJanitor in Xerces?
> And
> > what is it used for?
> >
> > Regards,
> > Nirmal
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> xerces-c-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail:
> xerces-c-dev-help@xml.apache.org
> >
> >
>
> --
> Gareth Reakes, Head of Product Development
> DecisionSoft Ltd.
> http://www.decisionsoft.com
> Office: +44 (0) 1865 203192
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> xerces-c-dev-help@xml.apache.org
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org