.osm XML Schema

dan

30-03-2006 18:30:07

I'm trying to write a parser for the .osm scene format. I could go over the code from oSceneLoader, but it would be nice if I had the XML Schema or the DTD for .osm. Does anyone know were I could find them?

Lioric

30-03-2006 23:25:09

Looking at the oSceneLoader code might be your best option

Bear in mind that for the next update, there are new additions to the osm format

dan

31-03-2006 16:00:44

Ok, thanks. I wanted the schema mainly for validation purposes. Another question thought: why do entities appear more than once in an osm exported file? In oSceneLoader this problem is hidden by the fact that mSceneMgr->createEntity(pszName, pszFileName); is in a try block.

Lioric

31-03-2006 17:12:57

There should not be any entity names duplicated unless you have object names duplicated in max