Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


annotation issue with SQLXML

From: "Travis McGee" <travisGatesMcGee@-------.--->
To: NULL
Date: 8/18/2008 7:19:00 PM

I am getting "relationship expected on" errors on SQLXML Loading Code when I
am creating the tables and then perhaps adding.inserting the data.

Set oLoad = CreateObject("SQLXMLBulkLoad.SQLXMLBulkload.4.0")
oLoad.ConnectionString = gsConn
oLoad.ErrorLogFile = "c:\error.log"
oLoad.SchemaGen = True
oLoad.SGDropTables = False
oLoad.BulkLoad = False
oLoad.Execute "c:\schema1.xsd" , "c:\data1.xml"

These files came from outsitde- many of them; for the purpose of bulk 
inserting into the database.
What is the problem?  Missing Annotation?   Is SQLXML too picky?
Why do we have to touch all of the Schema files?  Are there two different 
standards?

These are small files
http://www.HumanGenome.org/data/schema1.xsd
http://www.HumanGenome.org/data/data1.xml
is giving me....relationship expected on 'ING'

and then
http://www.HumanGenome.org/data/schema2.xsd
http://www.HumanGenome.org/data/data2.xml
is giving me....relationship expected on 'COMBINATION_PACK_IND'

This has something to do with missing annotation, I think.

Can somebody help me

Lilya Lopekha 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent