It looks like the schema never accepts sql-type with xs:string, contrary to what the doc is saying.

Right now I am not sure if it's just the schema that is incorrect, or if the code doesn't (or no longer) support that combination.

What data type are you trying to write to what SQL column type?

-Erik

Rahul Agarwal wrote:

Hi, I'm executing following SQL query (for SQL Server database) -

SELECT Id
FROM MyData
WHERE Id =
<sql:param type="xs:string" sql-type="varchar" select="/Instance/key/id"/>


"Id" column is of type "uniqueidentifier". As Orbeon 2.6 does not support conversion to this datatype, I used sql-type="varchar" but still get the error - "Error unexpected attribute "sql-type"(schema: http://orbeon.org/oxf/xml/sql)"

Could someone please tell me what's wrong I might be doing?

Thanks and Regards,
Rahul Agarwal


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
orbeon-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to