docbook-apps

  • 1.  Entity resolving problem in Docbook

    Posted 06-16-2008 05:48
    Dear All

    I am working on docbook integration into my application. In that I have
    a file that include a entity file in a xsl file which is included in
    another xsl file as follows


    %common.entities;
    ]>

    Using a URIResolver the path of xsl files are getting resolved but I
    can't resolve the entity file path .
    It throws an error like IO Exception file-name.xsl(the entity file
    included file)

    Is there anybody who have faced this problem?

    I tried to resolve this by using catalog
    for the I have added following line to catalog
    <system systemId="common/entities.ent"
    uri="file:///src/realms/docbook/data-repo/data/docbook-xsl-1.73.2/common/entities.ent" />
    but it still throws the IO Exception

    Thanks in advance


    Regards
    Navas




  • 2.  Re: [docbook-apps] Entity resolving problem in Docbook

    Posted 06-16-2008 06:13
    Mohammed Navas ck wrote:
    > Dear All
    >
    > I am working on docbook integration into my application. In that I
    > have a file that include a entity file in a xsl file which is included
    > in another xsl file as follows
    >
    > >
    > %common.entities;
    > ]>
    when I tried with absolute path instead of the relative path it works fine
    but I want to use the relative path itself

    I have replaced the code bellow


    %common.entities;

    with the content of entities.ent file it also worked

    So I think it has some problem with the entity resolver

    >
    > Using a URIResolver the path of xsl files are getting resolved but I
    > can't resolve the entity file path .
    > It throws an error like IO Exception file-name.xsl(the entity file
    > included file)
    >
    > Is there anybody who have faced this problem?
    >
    > I tried to resolve this by using catalog
    > for the I have added following line to catalog
    > <system systemId="common/entities.ent"
    > uri="file:///src/realms/docbook/data-repo/data/docbook-xsl-1.73.2/common/entities.ent"
    > />
    > but it still throws the IO Exception
    >
    > Thanks in advance
    >
    >
    > Regards
    > Navas
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >




  • 3.  Re: [docbook-apps] Entity resolving problem in Docbook

    Posted 06-16-2008 11:13
    Mohammed Navas ck wrote:
    > Mohammed Navas ck wrote:
    >> Dear All
    >>
    >> I am working on docbook integration into my application. In that I
    >> have a file that include a entity file in a xsl file which is
    >> included in another xsl file as follows
    >>
    >> >>
    >> %common.entities;
    >> ]>
    > when I tried with absolute path instead of the relative path it works
    > fine
    > but I want to use the relative path itself
    >
    > I have replaced the code bellow
    >
    >
    > %common.entities;
    >
    > with the content of entities.ent file it also worked
    >
    > So I think it has some problem with the entity resolver
    >
    >>
    >> Using a URIResolver the path of xsl files are getting resolved but I
    >> can't resolve the entity file path .
    >> It throws an error like IO Exception file-name.xsl(the entity file
    >> included file)
    My resolver() written is working but entityResolver() is not getting called
    Any body have why it is so

    >>
    >> Is there anybody who have faced this problem?
    >>
    >> I tried to resolve this by using catalog
    >> for the I have added following line to catalog
    >> <system systemId="common/entities.ent"
    >> uri="file:///src/realms/docbook/data-repo/data/docbook-xsl-1.73.2/common/entities.ent"
    >> />
    >> but it still throws the IO Exception
    >>
    >> Thanks in advance
    >>
    >>
    >> Regards
    >> Navas
    >>
    >>
    >> ---------------------------------------------------------------------
    >> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    >> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >>
    >>
    >>
    >
    >
    > ---------------------------------------------------------------------
    > To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    > For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
    >
    >
    >