Can not enter RELAXNG annotation comments (##) as expected
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Tue Dec 09, 2003 8:08 pm
- Contact:
Can not enter RELAXNG annotation comments (##) as expected
Post by jsolderitsch »
I am translating an XSD spec to RELAXNG (compact syntax) and I want to include annotations like you can write in schema syntax (<xs:annotation> and then inside <xs:documentation>).
From reading the RELAXNG tutorial, I got the impression that comments that begin with a ## would be treated as annotations.
But when I type a ## inside the oXygen editor window, a third # character is added automatically, and any thing I type after the second # is replicated after the third character.
So if I want to write
inside oXygen I see:
BUT...
I left this seeming shadow comment alone and then used the trang plug-in to generate the equivalent .xsd file and I DO see the annotation generated inside. And if I save the RELAXNG spec to disk as a .rnc file, the extra comment syntax is NOT saved (inspecting the file using an ordinary text editor).
So perhaps this is a quirk of how oXygen handles annotation comments.
I am running on Mac OS X (10.3.1). By the way, the app is performing quite well for me under Max OS X otherwise.
Jim
From reading the RELAXNG tutorial, I got the impression that comments that begin with a ## would be treated as annotations.
But when I type a ## inside the oXygen editor window, a third # character is added automatically, and any thing I type after the second # is replicated after the third character.
So if I want to write
Code: Select all
## this is an annotation
Code: Select all
## this is an annotation# this is an annotation
I left this seeming shadow comment alone and then used the trang plug-in to generate the equivalent .xsd file and I DO see the annotation generated inside. And if I save the RELAXNG spec to disk as a .rnc file, the extra comment syntax is NOT saved (inspecting the file using an ordinary text editor).
So perhaps this is a quirk of how oXygen handles annotation comments.
I am running on Mac OS X (10.3.1). By the way, the app is performing quite well for me under Max OS X otherwise.
Jim
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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