Error in PageContext.getPublisherVariablesConfig() ?

View: New views
2 Messages — Rating Filter:   Alert me  

Error in PageContext.getPublisherVariablesConfig() ?

by Hofmann. David :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

When using the navaggregator extension, variables of the displayed document are not resolved. I understand I have to include a p:variablesConfig in the publisher request, so I tried to get it via PageContext.getPublisherVariablesConfig(). The resulting XML contains an error, namely the attribute xmlns occurs twice:

 

<pub:variableSources xmlns:pub="http://outerx.org/daisy/1.0#publisher" xmlns:pub="http://outerx.org/daisy/1.0#publisher">

 

The daisy version is 2.1. Is there a workaround for this error?

Thanks is advance for any hints,

David


     


SEEBURGER AG   Vorstand/Seeburger Executive Board:
Sitz der Gesellschaft/Registered Office:   Bernd Seeburger, Axel Haas, Michael Kleeberg
Edisonstr. 1  
D-75015 Bretten Vorsitzender des Aufsichtsrats/Chairperson of the Seeburger Supervisory Board:
Tel.: 07252 / 96 - 0 Dr. Franz Scherer
Fax: 07252 / 96 - 2222
Internet: http://www.seeburger.de Registergericht/Commercial Register:
e-mail: info@... HRB 240708 Mannheim


Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail irrtümlich erhalten und jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens untersagt. Weder die SEEBURGER AG noch der Absender (David Hofman) übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhänge (0) auf Viren zu prüfen.

The present email addresses only the addressee which it targets and may contain confidential material that may be protected by the professional secret. The opinions reflected herein are not necessarily the one of the SEEBURGER AG. If you are not the addressee, you have accidentally got this email and are not enabled to use, publish, forward, copy or print it in any way. Neither the SEEBURGER AG, nor the sender (David Hofman) are liable for viruses, being your own responsibility to check this email and its attachments (0) for this purpose.



_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy


Re: Error in PageContext.getPublisherVariablesConfig() ?

by Karel Vervaeke :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Since you're already in an extension, you might have some control over
the pipelines and find a way to clean the xml.

Other than that, I strongly suggest upgrading to the latest version,
although I can't tell whether this will help for your particular
problem.

Regards,
Karel

On Tue, Sep 8, 2009 at 10:54 AM, Hofmann. David<d.hofmann@...> wrote:

>
> When using the navaggregator extension, variables of the displayed document
> are not resolved. I understand I have to include a p:variablesConfig in the
> publisher request, so I tried to get it via
> PageContext.getPublisherVariablesConfig(). The resulting XML contains an
> error, namely the attribute xmlns occurs twice:
>
>
>
> <pub:variableSources xmlns:pub="http://outerx.org/daisy/1.0#publisher"
> xmlns:pub="http://outerx.org/daisy/1.0#publisher">
>
>
>
> The daisy version is 2.1. Is there a workaround for this error?
>
> Thanks is advance for any hints,
>
> David
>
>
>
> SEEBURGER AG   Vorstand/Seeburger Executive Board:
> Sitz der Gesellschaft/Registered Office:   Bernd Seeburger, Axel Haas,
> Michael Kleeberg
> Edisonstr. 1
> D-75015 Bretten Vorsitzender des Aufsichtsrats/Chairperson of the Seeburger
> Supervisory Board:
> Tel.: 07252 / 96 - 0 Dr. Franz Scherer
> Fax: 07252 / 96 - 2222
> Internet: http://www.seeburger.de Registergericht/Commercial Register:
> e-mail: info@... HRB 240708 Mannheim
>
> Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist
> und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material
> enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die
> des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung der
> SEEBURGER AG dar. Sind Sie nicht der Empfänger, so haben Sie diese E-Mail
> irrtümlich erhalten und jegliche Verwendung, Veröffentlichung,
> Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail ist strengstens
> untersagt. Weder die SEEBURGER AG noch der Absender (David Hofman)
> übernehmen die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail
> und deren Anhänge (0) auf Viren zu prüfen.
>
> The present email addresses only the addressee which it targets and may
> contain confidential material that may be protected by the professional
> secret. The opinions reflected herein are not necessarily the one of the
> SEEBURGER AG. If you are not the addressee, you have accidentally got this
> email and are not enabled to use, publish, forward, copy or print it in any
> way. Neither the SEEBURGER AG, nor the sender (David Hofman) are liable for
> viruses, being your own responsibility to check this email and its
> attachments (0) for this purpose.
>
>
>
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/en/services/daisy/support.html
> mail to: daisy@...
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy
>
>
_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy