annotations in RNC not showing
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 13
- Joined: Mon May 24, 2010 7:20 pm
annotations in RNC not showing
In pervious versions an RNC file with comments (single hash) showed up as annotations when editing files with that schema assigned (tool tips and the annotations page of the model view.) This no longer seems to be the case in 12.1. I've also tried adding a second hash for true annotations but these do not show either. This is the case both with and without the Editor/Content Completion/Annotations/"Use all Relax NG annotations as documentation" option. Is there something else im missing here?
Annotations are still working for other file types ive tried like schematron.
Code: Select all
# comment
Code: Select all
## annotation
Annotations are still working for other file types ive tried like schematron.
-
- Posts: 13
- Joined: Mon May 24, 2010 7:20 pm
Re: annotations in RNC not showing
oh, ive also tried manually specifying to no avail, but this shouldn't be necessary anyway.
Code: Select all
namespace a = "http://relaxng.org/ns/compatibility/annotation/1.0"
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Re: annotations in RNC not showing
Please try opening the [oXygen]/samples/relaxng/personal.xml file. This refers to personal.rnc as schema and I just tested it and annotations appear when I try to edit the document, for example when adding a new person element.
Best Regards,
George
Best Regards,
George
George Cristian Bina
-
- Posts: 13
- Joined: Mon May 24, 2010 7:20 pm
Re: annotations in RNC not showing
After a bit more testing, it looks like annotations are not working beyond an external call im making to another .rnc file early in the schema. Annotations above this work (there is only one, thus why I didn't catch it til now), below this do not work. If I remove the annotation for the external reference they all seem to show again.
e.g.
breaks all annotations past it unless I remove the "Foo Annotation" line.
Is this a bug or can you not annotate an external pattern? I cant seem to find any documentation in the rnc spec stating this, but im not an expert.
e.g.
Code: Select all
## Foo Annotation
external "foo.rnc"
Is this a bug or can you not annotate an external pattern? I cant seem to find any documentation in the rnc spec stating this, but im not an expert.
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