Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 235 posts 338 karma points MVP 2x c-trib
    Jan 28, 2013 @ 09:38
    Paul Marden
    0

    YSOD with <ibex:security>

     

    Darren,

    I'm getting a YSOD when I try to use the following:

        <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
          <ibex:security deny-print="false" deny-extract="true" deny-modify="true" user-password="" owner-password="DELETED"/>

    It might be relevent but the package didn't install properly - and I had to manually add in the httpModule settings.

    Cheers

    Paul 

    Server Error in '/' Application.

    'ibex' is an undeclared prefix. Line 6, position 8.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.Xml.XmlException: 'ibex' is an undeclared prefix. Line 6, position 8.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [XmlException: 'ibex' is an undeclared prefix. Line 6, position 8.]
       ibex4.xml.IntermediateFormatCreator.readXMLIntoIntermediateForm(RenderingContext rc) +574
       ibex4.logical.FODocument_Implementation.commonCreationAndClose(RenderingContext rc, IntermediateFormatCreator intermediate_format_creator, Boolean close_output_stream, Stream output_stream, String xsl_swap_file_name, Stream fo_stream) +66
       ibex4.logical.FODocument_Implementation.generateStreams(Stream xml_stream, Stream xsl_stream, Stream output_stream, Boolean closeOutputStream, Hashtable xsltParams) +1697
       ibex4.logical.FODocument_Implementation.generateStreams(Stream template, Stream output, Boolean closeOutputStream) +335
       FergusonMoriyama.Pdf.Application.Filter.FoFilter.Flush() +169
       FergusonMoriyama.Pdf.Application.Filter.FoFilter.Close() +28
       System.Web.HttpWriter.FilterIntegrated(Boolean finalFiltering, IIS7WorkerRequest wr) +754
       System.Web.HttpResponse.FilterOutput() +121
       System.Web.CallFilterExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +168
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +270
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Jan 28, 2013 @ 10:25
    Darren Ferguson
    1

    Hi Paul,

    The error is telling you that you need to declare the ibex namespace.

    You can do this by adding the following attribute to your fo:root tag:

    xmlns:ibex="http://www.xmlpdf.com/2003/ibex/Format"

Please Sign in or register to post replies

Write your reply to:

Draft