[oXygen-user] Tag Sense for Foreign Markup Within an RNG Schema

George Cristian Bina george at oxygenxml.com
Sun Sep 22 04:26:02 CDT 2013


Hi Eliot,

This support is not available. We have this for XML Schema that is 
implemented as an option allowing to specify a schema for annotations, 
see Options->Preferences -- Editor / Content Completion / XSD. Probably 
we should consider a similar approach also for RNG.

However, it may be possible to overwrite the schema oXygen uses for 
Relax NG with a schema that contains also your annotations. We load this 
schema looking into the Java resources and if you place a library inside 
oXygen/lib/endorsed containing the same resource then that will be 
loaded instead of the default one we have in oXygen. Let me test this 
and I will come back to you with the exact steps to make this work.

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 9/21/13 4:47 PM, Eliot Kimber wrote:
> For DITA 1.3's new RNG vocabulary support, I've defined an RNG schema for
> header markup that will be required in all DITA RNG modules and shells.
>
> If I set up a validation scenario using this schema then I can validate RNG
> schemas that use this markup. That is, a scenario that specifies the schema
> document explicitly.
>
> If I put a PI like this:
>
> <?xml-model href="urn:oasis:names:tc:dita:rng:vocabularyModuleDesc.rng"
> schematypens="http://relaxng.org/ns/structure/1.0"?>
>
> in one of these documents, then I can set up a validation scenario that uses
> the "detect schema" option and it also validates.
>
> However, what I don't seem to be able to do is get tag sense within the
> scope of the foreign markup--I only get options for the base RNG vocabulary.
>
> Is there a way to get tag sense for the foreign markup?
>
> Cheers,
>
> E.
>


More information about the oXygen-user mailing list