Menu

#150 resolveTopicElementRef() fails on failure to resolve containing document

Current_release
closed
dita utils (1)
1
2014-07-02
2014-04-29
No

This code can fail:

<xsl:variable name="containingDoc"
  as="document-node()"
  select="if ($resourcePart = '') 
  then root($context) 
  else document($resourcePart, $context)
  "
/>

If the URL can't be resolved.

Needs to trap that error and report it.

Discussion

  • W. Eliot Kimber

    W. Eliot Kimber - 2014-07-02

    Released in 0.9.19RC12

     
  • W. Eliot Kimber

    W. Eliot Kimber - 2014-07-02
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel