Unknown Extnsion when validating entire directory.
Oxygen general issues.
-
- Posts: 21
- Joined: Fri Jul 18, 2008 9:48 pm
Unknown Extnsion when validating entire directory.
I have a number of Document Type Associations set, each with a rnc schema and XSLT transformation scenario set to key off of the root element name. Each of these file types have a custom file type extension, but still only contain standard XML with a proper version 1.0 prolog. I added the file type extensions in the options to use the XML editor as well.
When editing the files the real time validation works flawlessly. However, when I right click on a file or folder in the project view and select to validate selection I get a "Cannot check {file in question} Unknown extension." Error.
Validating the entire project is very important. How can I get this to work?
Thanks in advance for any assistance,
-V
When editing the files the real time validation works flawlessly. However, when I right click on a file or folder in the project view and select to validate selection I get a "Cannot check {file in question} Unknown extension." Error.
Validating the entire project is very important. How can I get this to work?
Thanks in advance for any assistance,
-V
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Unknown Extnsion when validating entire directory.
Post by sorin_ristache »
Hello,
Regards,
Sorin
If I add the extensions of the files in Preferences -> File Types and associate them with XML Editor the files are validated with the schema associated with the document type. I tried in Oxygen versions 10.1 and 9.3. What version do you use?velda wrote:I added the file type extensions in the options to use the XML editor as well.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Unknown Extnsion when validating entire directory.
Post by sorin_ristache »
Hello,
We need more detailed steps for reproducing the problem. We tested the Validate Selection action in the Project view on a folder that included a file with the .x1 extension associated with the XML editor and having a document type in Preferences and the validation used the schema set in the document type associated with the .x1 document.
Please specify the file extension and all the parameters that you set in the document type.
Regards,
Sorin
We need more detailed steps for reproducing the problem. We tested the Validate Selection action in the Project view on a folder that included a file with the .x1 extension associated with the XML editor and having a document type in Preferences and the validation used the schema set in the document type associated with the .x1 document.
Please specify the file extension and all the parameters that you set in the document type.
Regards,
Sorin
-
- Posts: 21
- Joined: Fri Jul 18, 2008 9:48 pm
Re: Unknown Extnsion when validating entire directory.
Extension is .VCtrl, Document Type Association is an enabled entry named "Profile Dev" with one rule of root local name "profile" and a RNC schema of "/!Schemas/profile%5B0.6%5D.rnc" and a translation scenario named RELAXatron. The File Types entry is "vctrl" with the "XML Editor" chosen.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Unknown Extnsion when validating entire directory.
Post by sorin_ristache »
The file extension allows only lowercase letters, that is it converts the extension that you type in Preferences -> File Types from "VCtrl" to "vctrl". That means only .vctrl files will be associated with XML editor, not .VCtrl files. We will fix the problem in the next version of Oxygen.
Regards,
Sorin
Regards,
Sorin
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