em in my log file i keep getting this exception
pls anyone knows how to resovle this ?
thanks
07/08/2006 18:30:08 (Error) Exception: DefaultResourceProvider::load - Imageset.xsd does not exist
07/08/2006 18:30:08 (Error) Exception: DefaultResourceProvider::load - Font.xsd does not exist
Exception: DefaultResourceProvider
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
when cegui loads an xml file, it looks for the corresponding xsd file to validate that xml file. Try to copy the xsd files from "datafiles/<resource>/resource.xsd" into your applications' startup folder. To avoid more errors, please copy these as well:
-Falagard.xsd
-Falagard.xsd
-GUILayout.xsd
-GUIScheme.xsd
Good luck!
when cegui loads an xml file, it looks for the corresponding xsd file to validate that xml file. Try to copy the xsd files from "datafiles/<resource>/resource.xsd" into your applications' startup folder. To avoid more errors, please copy these as well:
-Falagard.xsd
-Falagard.xsd
-GUILayout.xsd
-GUIScheme.xsd
Good luck!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Assuming version 0.4.1.
It *should* function with the .xsd files in either the startup directory or the same directory as the XML file being loaded. However, in the latter case you will still get an error logged (once it fails the first time, it will look in the alternate location). Fatality only occurrs when you get the two errors.
For info, in 0.5.0 code DefaultResourceProvider has been improved, and it's possible to have the Xerces XML parser look in an arbitary location for the .xsd files. Having said this, of course you probably want to wait for 0.5.0 stable release before evaluating and deciding whether to upgrade - especially since there are quite some breaking changes in there for existing projects.
If you are already using the 0.5.0 Release Candidates, then please look at the following: http://www.cegui.org.uk/wiki/index.php/Overview_of_resource_system_enhancements_in_0.5.0
CE.
It *should* function with the .xsd files in either the startup directory or the same directory as the XML file being loaded. However, in the latter case you will still get an error logged (once it fails the first time, it will look in the alternate location). Fatality only occurrs when you get the two errors.
For info, in 0.5.0 code DefaultResourceProvider has been improved, and it's possible to have the Xerces XML parser look in an arbitary location for the .xsd files. Having said this, of course you probably want to wait for 0.5.0 stable release before evaluating and deciding whether to upgrade - especially since there are quite some breaking changes in there for existing projects.
If you are already using the 0.5.0 Release Candidates, then please look at the following: http://www.cegui.org.uk/wiki/index.php/Overview_of_resource_system_enhancements_in_0.5.0
CE.
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: Google [Bot] and 11 guests