I am working with the Xml Module and I have modified line 114 of XmlController.vb so that I may add an extension object to the XsltArgumentList
' *** Return New ParameterController(XslParameter).GetParameters(ModuleID).ToXsltArgumentList
Dim myArgumentList As XsltArgumentList = New ParameterController(XslParameter).GetParameters(ModuleID).ToXsltArgumentList
myArgumentList.AddExtensionObject("urn:WctHotelRssExtension", New myXsltExtension())
I have also modified the GetXslTransform method on line 96 and changed the XlsTransform load method:
' *** trans.Load(GetMappedPath(xslsrc))
trans.Load(GetMappedPath(xslsrc), New XsltSettings(False, True), Nothing)
I have observed the behavior I am about to describe with the original xml module as well, but I have changed somethings.
I am getting inconsistent behavior having the module inherit view permissions from the page. They always display logged on as administrator, but not always to unauthenticated users. When the module does not display the transformed xml, the module is loaded, but no break points are hitting, not even Page_Init.
When I explicitly set "All Users" to have view permission, the problem goes away. Has anyone observed this before?