Content Completion Assistant for Schematron

Having trouble installing Oxygen? Got a bug to report? Post it all here.
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Content Completion Assistant for Schematron

Post 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.
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: Content Completion Assistant for Schematron

Post 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
Mihaela Calotescu
http://www.oxygenxml.com
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: Content Completion Assistant for Schematron

Post 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.
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: Content Completion Assistant for Schematron

Post 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.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Re: Content Completion Assistant for Schematron

Post 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
George Cristian Bina
Eddie
Posts: 106
Joined: Wed Dec 18, 2013 3:07 am

Re: Content Completion Assistant for Schematron

Post by Eddie »

Hello George,

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

Eddie.
Post Reply