Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

annotation issue with SQLXML

 
   Database Help (Home) -> XML RSS
Next:  xenical suisse sur internet xenical canada sans o..  
Author Message
Travis McGee

External


Since: Jun 28, 2008
Posts: 15



(Msg. 1) Posted: Mon Aug 18, 2008 7:13 pm
Post subject: annotation issue with SQLXML
Archived from groups: microsoft>public>sqlserver>xml (more info?)

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

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

 >> Stay informed about: annotation issue with SQLXML 
Back to top
Login to vote
Jacob Sebastian

External


Since: Aug 18, 2008
Posts: 21



(Msg. 2) Posted: Tue Aug 19, 2008 8:06 am
Post subject: Re: annotation issue with SQLXML [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It looks to be a duplicate post and I have replied to the previous thread.
If you are loading data using XML Bulk Load, your schema should have some
additional information that explains the tables, columns, relationships etc.
Please have a look at the example here:
http://www.sqlserverandxml.com/2008/08/sqlxml-lab-2-basic-xml-bulk-load.html

regards
--
Jacob Sebastian
SQL Server MVP
http://www.sqlserverandxml.com

"Travis McGee" <travisGatesMcGee DeleteThis @hotmail.com> wrote in message
news:eC8bxgYAJHA.1184@TK2MSFTNGP04.phx.gbl...
> I am getting "relationship expected on" errors on SQLXML Loading Code when
> I am creating the tables and then perhaps adding.inserting the data.
>
> 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
>
>
>
>
>
>
>
>

 >> Stay informed about: annotation issue with SQLXML 
Back to top
Login to vote
Display posts from previous:   
   Database Help (Home) -> XML All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]