XQuery Documentation Generation Fails
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
XQuery Documentation Generation Fails
Recently tried to take advantage of the Generate Documentation feature in the Tools menu for XQuery. Ran into two problems, one major, one minor.
Minor: The eXist database defines several built-in namespaces for extension functions, one of which is text:http://exist-db.org/xquery/text. Apparently, the parser sees the 'text' as a reserved word and assumes it is a text node constructor. By changing the prefix to 'txt' I was able to get past this problem.
Major: In attempting to generate documentation for a library module I kept getting the following error message.
Normally, I would accept that this is a limitation of the feature, and move on, except that the News section of the xqDoc site says that the new schema now supports overloaded functions. So I thought I'd bring this to your attention...
Thanks for a great product,
Anthony
Minor: The eXist database defines several built-in namespaces for extension functions, one of which is text:http://exist-db.org/xquery/text. Apparently, the parser sees the 'text' as a reserved word and assumes it is a text node constructor. By changing the prefix to 'txt' I was able to get past this problem.
Major: In attempting to generate documentation for a library module I kept getting the following error message.
I finally tracked it down to the fact that I overload functions. For example I have:A sequence of more than one item is not allowed as the value in 'cast as' expression
Code: Select all
declare function rng:xrng(param1) as item() {
stuff...
};
declare function rng:xrng(param1, param2) as item() {
stuff...
};
Thanks for a great product,
Anthony
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: XQuery Documentation Generation Fails
Hello,
Could you please send us an email(support@oxygenxml.com) with a sample XQuery file that reproduces the minor problem(namespace)?
I've reproduced and logged to our issue tracking tool the other problem(overloaded function). We will update xqDoc in a future version of Oxygen and hopefully that will resolve the issue.
Regards,
Adrian
Could you please send us an email(support@oxygenxml.com) with a sample XQuery file that reproduces the minor problem(namespace)?
I've reproduced and logged to our issue tracking tool the other problem(overloaded function). We will update xqDoc in a future version of Oxygen and hopefully that will resolve the issue.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 6
- Joined: Wed Jun 29, 2011 10:05 pm
Re: XQuery Documentation Generation Fails
Hi,
Noticed that 13.1 is out, didn't see anything about xqDoc being updated. Can I assume that this didn't make the cut for this release, or is it that it is such a small change that it is not worth advertising?
Just curious,
Anthony
Noticed that 13.1 is out, didn't see anything about xqDoc being updated. Can I assume that this didn't make the cut for this release, or is it that it is such a small change that it is not worth advertising?
Just curious,
Anthony
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XQuery Documentation Generation Fails
Post by sorin_ristache »
Hello,
xqDoc was not updated yet in Oxygen. We will probably update it in a future version and allow overloaded functions when generating the documentation. We will update this forum when we will have it ready.
Regards,
Sorin
xqDoc was not updated yet in Oxygen. We will probably update it in a future version and allow overloaded functions when generating the documentation. We will update this forum when we will have it ready.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service