Page 1 of 1

Content Completion Assistant for Schematron

Posted: Mon Aug 17, 2015 4:54 am
by Eddie
Hello,
I thought I'd try to create a schematron to check DITA documents before they are processed for output.
I created a new schematron document using the oXygen template, but I can't get Content Completion Assistant to work.
I assume I'm missing some step, but I can't find it in help or your online videos.
Do I have to specify a namespace first?
Do I have to create a project?

Cheers,

Eddie.

Re: Content Completion Assistant for Schematron

Posted: Mon Aug 17, 2015 11:48 am
by mihaela
Hi Eddie,

The content completion should work in the schematron documents.
We need some details in order to help you. What version of oXygen are you using? Do you work with oXygen standalone or oXygen Eclipse plugin?
Is there any entry in the content completion list or the content completion does not work at all?

Best Regards,
Mihaela

Re: Content Completion Assistant for Schematron

Posted: Tue Aug 18, 2015 2:31 am
by Eddie
Thanks for the reply.

Sorry, I forgot to say:
oXygen 17 standalone.
I created a new schematron document using the oXygen template. When I place the cursor after the initial schema tag (<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"
xmlns:sqf="http://www.schematron-quickfix.com/validator/process">)
and type "<", Content Completion Assistant offers me the schema closing tag ("/sch:schema>" - although there is already one below it), the comment closing tag ("!-- -->") and the CDATA closing tag ("![CDATA[]]>").

Eddie.

Re: Content Completion Assistant for Schematron

Posted: Tue Aug 18, 2015 4:22 am
by Eddie
Correction, the options in the Content Completion Assistant are:
The schema closing tag ("/sch:schema>" - although there is already one below it);
the comment tag ("!-- -->");
the CDATA tag ("![CDATA[]]>")

Apologies.

Re: Content Completion Assistant for Schematron

Posted: Tue Aug 18, 2015 5:35 am
by george
Hello,

The oXygen XML Author does not have development tools, that means there is no specific editor for Schematron, XML Schema, XSLT, etc. - these specialized editors are part of oXygen XML Editor and oXygen XML Developer. I suspect you are using oXygen XML Author and that is why you do not see any relevant proposals in the content completion popup.

Best Regards,
George

Re: Content Completion Assistant for Schematron

Posted: Tue Aug 18, 2015 8:40 am
by Eddie
Hello George,

Thanks for the reply.
You are right, I am using Author.
Shame. That would have been useful.

Eddie.