trace
Attempts the resolution of a resource within the context of a module and captures the resolution process for purposes of debugging.
Release Notes
attachGoldenThread
cast
copy
cutGoldenThread
cwu
delete
dpml
dump
entrypoint
exists
expire
fls
guid
hotRestart
HTTPCookie
HTTPRedirect
isUnix
locationToXPath
lock/unlock
log
loglevel
luceneIndex
luceneSearch
mapper
mapper-export
md5
mls
netkernel:*
new
Orchextra
org.ten60.util.aspell
org.ten60.util.image.SVG2PNG
org.ten60.util.image.Text2PNG
org.ten60.util.image.xchart
plainTextToXHTML
regex
relativizeURI
requestWithArgs
resolveURI
serialize
sleep
sqlBatch
sqlBooleanQuery
SQLEncodeElement
SQLEscapeXML
sqlQuery
sqlUpdate
stm
stopWatch
StringToCanonicalString
throw
toRelaxNG
trace
validateDTD
validateRNG
validateSchematron
validateXSD
xacml
xform
XHREFlinker
XHTMLredirect
XHTMLTidy
xinclude
xmltidy
xpatheval
xpur
xquery
xrl
xsign
xslfo-fop
xslfo-fop
xslt
xverify
License
Change History
NetKernel History
Acknowledgements

Trace Accessor

Track down problems with resource resolution

Module

urn:org:ten60:netkernel:ext:kernel

Definition

Format

<instr>
  <type>trace</type>
  <operand>index.html</operand>
  <operator>
    <trace>
      <module>urn:mymodule</module>
      <inheritSuper />
    </trace>
  </operator>
  <target>var:result</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory trace
operandMandatory the URI of a resource to trace resolution of.
operatorOptional override default behaviour
targetMandatory the result document

Description

Used to perform a resource resolution and report the resolution process. It is useful to find out what is happening when a resource isn't being resolved as expected or when it is not being resolved at all. The result is a line by line listing of the steps taken in resolving the resource until eventual success of failure.

Operator

The operator can optionally contain two elements:

  • module specify a module to start resolution at. If not specified the module that called the trace instruction is used.
  • inheritSuper if specified then the super stack of the request to the instruction is used allowing searching of any parent modules in context. The request is considered an internal request to the module and is not rewritten. If inheritSuper is not specified the starting location is treated as a fulcrum and the operator URI is rewritten as it enters the module.


(C) 2003, 1060 Research Limited
© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited