XSD strange behavior

Stimulsoft Reports.PHP discussion
Post Reply
transistor
Posts: 4
Joined: Thu Sep 20, 2012 12:04 am

XSD strange behavior

Post by transistor »

Hi, I am making reports using XML and work fine, but today I have a strange behavior I can't understand.
I have hacked database_xml.php to get XSD and XML from my database and it has worked very well until now.

When I am creating a new report, I add a new Connection and put the URLs where to get the XSD and XML (I have already tested them on the browser and they work as expected).

Then I add a new Data Source and when I chose Name in source and open the Connection, I don't get the columns, but the XSD elements such as xs:element, xs:complexType, etc.
Wierd, right?

I attached the XSD file and the new Data Source window for better reference.

What's going on?
Thanks
Attachments
Screen Shot 2013-08-14 at 5.02.52 PM.PDF
Data Source - Name in Source window
(83.78 KiB) Downloaded 276 times
Screen Shot 2013-08-14 at 5.11.57 PM.PDF
PHP XSD file
(136.26 KiB) Downloaded 287 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: XSD strange behavior

Post by Vladimir »

Hello,

Please send us an example of the final XSD file, we will analyze the situation.

Thank you.
transistor
Posts: 4
Joined: Thu Sep 20, 2012 12:04 am

Re: XSD strange behavior

Post by transistor »

Hello Vladimir
Here is the final XSD file, as requested.
Thanks!
Attachments
empresa_xsd.xml.zip
Final XSD file
(1.03 KiB) Downloaded 238 times
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: XSD strange behavior

Post by Vladimir »

Hello,

We have tested the XSD file you sent me and have not found errors. See the attached picture. Please try the latest pre-release build.
xsd.png
xsd.png (50.93 KiB) Viewed 3065 times
Thank you.
Post Reply