2009-07-07, 21:27
ScraperXML shouldn't have any problems with nested RegExp
its really hard for me to find what's causing a problem when i don't have a copy of the object that the problem is with. Which is why i suggest using scraperXMLEditor, as its based on the same code, it will aid you in making a scraper fully compatible with both XBMC AND scraperXML.
however without knowing what your scraper looks like what it does or what it is about it that ScraperXML doesn't like, there's not a thing i can do to help... you're just not supplying enough info
one thing i can see though is that the problem is happening when trying to retrieve settings from the scraper... There is no exception handling in the ScraperParser when getting settings. It expects the Scraper to conform. Only thing that has been changed in settings is the option="hidden" added. Other than that the code in cSharp is a direct reflection of the old VB code.
At least let me see your "GetSettings" function so i can see what the prob is.
also have you loaded this in XBMC does it show your settings ok?
its really hard for me to find what's causing a problem when i don't have a copy of the object that the problem is with. Which is why i suggest using scraperXMLEditor, as its based on the same code, it will aid you in making a scraper fully compatible with both XBMC AND scraperXML.
however without knowing what your scraper looks like what it does or what it is about it that ScraperXML doesn't like, there's not a thing i can do to help... you're just not supplying enough info
one thing i can see though is that the problem is happening when trying to retrieve settings from the scraper... There is no exception handling in the ScraperParser when getting settings. It expects the Scraper to conform. Only thing that has been changed in settings is the option="hidden" added. Other than that the code in cSharp is a direct reflection of the old VB code.
At least let me see your "GetSettings" function so i can see what the prob is.
also have you loaded this in XBMC does it show your settings ok?