Errors generating schema documentation

Having trouble installing Oxygen? Got a bug to report? Post it all here.
RogerP
Posts: 17
Joined: Fri May 11, 2007 2:58 pm
Location: Brunel University, UK

Errors generating schema documentation

Post by RogerP »

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?
RogerP
Posts: 17
Joined: Fri May 11, 2007 2:58 pm
Location: Brunel University, UK

Re: Errors generating schema documentation

Post by RogerP »

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.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

Re: Errors generating schema documentation

Post by adrian »

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply