No option to choose Schematron file for validation of document type
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 10
- Joined: Sat Mar 12, 2005 12:37 am
No option to choose Schematron file for validation of document type
Post by Martin Holmes »
Hi there,
I'm trying to create an association with a Schematron schema for a custom document type (actually XSLT files) in the Preferences, and I don't see Schematron as an option (screenshot attached).
I'm trying to create an association with a Schematron schema for a custom document type (actually XSLT files) in the Preferences, and I don't see Schematron as an option (screenshot attached).
noSchematronChoice.png
I'm sure this used to be an option. Is it a bug, or is there some reason you can't use a separate Schematron file for validation? (Oxygen 24.1).You do not have the required permissions to view the files attached to this post.
Martin Holmes
University of Victoria
University of Victoria
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: No option to choose Schematron file for validation of document type
Post by chrispitude »
Hi Martin,
If you are trying to associate a Schematron file for validation purposes, perhaps is the Validation tab what you're looking for?
If you are trying to associate a Schematron file for validation purposes, perhaps is the Validation tab what you're looking for?
-
- Posts: 10
- Joined: Sat Mar 12, 2005 12:37 am
Re: No option to choose Schematron file for validation of document type
Post by Martin Holmes »
Does a Schematron file not count as a schema for the purposes of document type association?
Martin Holmes
University of Victoria
University of Victoria
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: No option to choose Schematron file for validation of document type
Post by chrispitude »
Hi Martin,
I understood your message to mean that you wanted to validate XSLT files by associating a Schematron validation scenario with them. In our Oxygen environment, I use the Validation tab to add Schematron checks to a particular file type. Maybe you are doing something different and I misunderstood what you're trying to do?
I understood your message to mean that you wanted to validate XSLT files by associating a Schematron validation scenario with them. In our Oxygen environment, I use the Validation tab to add Schematron checks to a particular file type. Maybe you are doing something different and I misunderstood what you're trying to do?
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: No option to choose Schematron file for validation of document type
Hi,
As per your specific situation, for XSLT stylesheets since the actual schema is built into Oxygen, you would break the XSLT content completion, if you were to specify a schema in the Schema tab.
Regards,
Adrian
No, the Schema tab from the document type association is meant as the default schema, the one that provides the info that the content completion feature requires (all possible XML components and their values for a specific editing context). Schematron cannot provide that, it can only be used for validation. So, for validation with Schematron alone, the Validation tab is the way to go.Martin Holmes wrote: ↑Mon Apr 18, 2022 11:50 pm Does a Schematron file not count as a schema for the purposes of document type association?
As per your specific situation, for XSLT stylesheets since the actual schema is built into Oxygen, you would break the XSLT content completion, if you were to specify a schema in the Schema tab.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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