Errors generating schema documentation
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 17
- Joined: Fri May 11, 2007 2:58 pm
- Location: Brunel University, UK
Errors generating schema documentation
When generating documentation from XSD (Ctrl-Alt-S), no matter which output style I select, I get the following error:
"-E The XML parser reported two validation errors"
This is for a valid schema, even the most trivial of schema gives me this error (the exact same eror). Please don't write and say "is your schema valid?" It is. Even with a schema containing just one untyped element I get the "two errors" message.
Is there any way of getting more information about these errors? There are no log files (can only find installation.log and files.log).
Under "XML Parser" I have "Saxon EE Validation" selected and have tired different options. I have tried the 1.0 and 1.1 versions of the above. (I always thought Saxon was a processor, I don't know which parser it uses -- Xerces or MK's own?) Anyway the schemas I'm talking about are valid (little box is green) schemas.
As far as XSL-FO goes, Apache-FOP is all there is (I know of no other freeware XSL-FO processor) and, clutching at straws, I have tried changing the XSLT processors.
Probably crucially I'm running (a fully paid for) 12.1 on Ubuntu 10.04. I didn't have this problem with v 11 and all earlier versions on Ubuntu and I don't have this issue on my Windows PC.
So what have I missed?
"-E The XML parser reported two validation errors"
This is for a valid schema, even the most trivial of schema gives me this error (the exact same eror). Please don't write and say "is your schema valid?" It is. Even with a schema containing just one untyped element I get the "two errors" message.
Is there any way of getting more information about these errors? There are no log files (can only find installation.log and files.log).
Under "XML Parser" I have "Saxon EE Validation" selected and have tired different options. I have tried the 1.0 and 1.1 versions of the above. (I always thought Saxon was a processor, I don't know which parser it uses -- Xerces or MK's own?) Anyway the schemas I'm talking about are valid (little box is green) schemas.
As far as XSL-FO goes, Apache-FOP is all there is (I know of no other freeware XSL-FO processor) and, clutching at straws, I have tried changing the XSLT processors.
Probably crucially I'm running (a fully paid for) 12.1 on Ubuntu 10.04. I didn't have this problem with v 11 and all earlier versions on Ubuntu and I don't have this issue on my Windows PC.
So what have I missed?
-
- Posts: 17
- Joined: Fri May 11, 2007 2:58 pm
- Location: Brunel University, UK
Re: Errors generating schema documentation
OK, sort of solved it but I don't know why it worked.
Did: Reset Global Options..
But nevertheless I would have liked something more meaningful than the "two errors" message.
I would also like to know what option I had set tha inadvertently caused the problem. I ended up going through each submenu in Preferences and resetting the defaults. The Saxon one made no difference BTW. Having exhausted that (but apparently not) I tried the above.
Did: Reset Global Options..
But nevertheless I would have liked something more meaningful than the "two errors" message.
I would also like to know what option I had set tha inadvertently caused the problem. I ended up going through each submenu in Preferences and resetting the defaults. The Saxon one made no difference BTW. Having exhausted that (but apparently not) I tried the above.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Errors generating schema documentation
Hello,
This problem could appear if you have changed the option DTD validation of the source to On(default is Off) in: Options -> Preferences -> XML -> XSLT-FO-XQuery -> XSLT -> Saxon -> Saxon-HE/PE/EE
Try to set this option and check if the problem reproduces.
Regards,
Adrian
This problem could appear if you have changed the option DTD validation of the source to On(default is Off) in: Options -> Preferences -> XML -> XSLT-FO-XQuery -> XSLT -> Saxon -> Saxon-HE/PE/EE
Try to set this option and check if the problem reproduces.
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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