Re: Quick TMQL question re namespaces
"Andrew S. Townley" <[email protected]>
| Newsgroups | gmane.text.xml.xtm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Lars, On 6 Mar 2011, at 5:50 PM, Lars Heuer wrote: > > BTW, probably the proposal at [1] wouldn't suffer that much from > (default) namespace/path/axis issues since it uses another syntax for > axes than for topic identifiers. If I understood it correctly, all > axes use the following notation: > > axis ::= <axis-name> '::' <topic-identifier> | '*' > > so there is a clear distinction between axes and topic identifiers. > The current draft seems to make no distinction. Having a distinction > would make extensions to TMQL easily possible and may solve your TMRM > vs. TMDM problem, since > > proxy/mytmrm:instance-of::* > > can never be interpreted as a topic identifier. It would always be > interpreted as axis name (and probably rejected by a default TMQL > engine since it does not know the axis name "mytmrm:instance-of"). > > So, the "::" notation from the older draft seems to have it's value > even if it means that the author to be type a bit more. [snip] > > [1] <http://www.itscj.ipsj.or.jp/sc34/open/1536.pdf> > Thanks for the reply and all the background info. I wasn't aware of [1], so will need to have a pass through it so I'm sure I fully understand what you're saying above. Trying to finish some other things off today, but will try to digest all of the above later this evening or early in the week, and get back with a proper response. Cheers, ast -- Andrew S. Townley <[email protected]> http://atownley.org