Monday, April 04, 2005

citations

If pages AaAa and BbBb both have a reference to CcCc, then the citations of page CcCc are AaAa and BbBb. This is what we want to achieve.

However, it is a bit more complicated because
  • there may be more than one page named CcCc,
  • CcCc might not be referencable from every page and
  • a reference may use a qualified name, like MyDS/CcCc.

So, how do we determine if page AaAa is actually referencing the same CcCc page that is our current context? We just need to make sure that the current page is referencable from page AaAa.

Handling qualified names also isn't too hard, given a big enough hammer! We just calculate every possible qualified name the current page might be referenced by and check for them.

0 Comments:

Post a Comment

<< Home