Re: More include Schema in a Schema problems

2004-11-06 Thread Gareth Reakes
Hi Eric, On 4 Nov 2004, at 17:05, Erik Rydgren wrote: Thanks for the reply, but unfortunately I have little saying about how the European central bank generates files ;-) I have total control over the schema declarations but none over the xml data.   Anyhow, shouldn’t the target namespace in ec

RE: More include Schema in a Schema problems

2004-11-05 Thread Erik Rydgren
declarations into the ecb namespace?   / Erik   -Original Message- From: Khaled Noaman [mailto:[EMAIL PROTECTED] Sent: den 4 november 2004 17:58 To: [EMAIL PROTECTED] Subject: Re: More include Schema in a Schema problems   Hi Eric, You have a problem in your xml file. The 'Cube

RE: More include Schema in a Schema problems

2004-11-05 Thread Erik Rydgren
This is what I get when running: domprint -e -v=always -n -s -f data.XML Error at file "C:\xerces-c_2_6_0-windows_nt-msvc_60\bin/data.XML", line 8, column 27 Message: Attribute 'time' is not declared for element 'Cube' Error at file "C:\xerces-c_2_6_0-windows_nt-msvc_60\bin/data.XML", line 9, c

Re: More include Schema in a Schema problems

2004-11-04 Thread Gareth Reakes
I am glad Khaled answered this before I had to delve into the schema specs!! Gareth Khaled Noaman wrote: Hi Eric, You have a problem in your xml file. The 'Cube' element which is a child of envelope is bound to the ecb namespace (http://www.ecb.int/vocabulary/2002-08-01/eurofxref). However its

Re: More include Schema in a Schema problems

2004-11-04 Thread Khaled Noaman
Hi Eric, You have a problem in your xml file. The 'Cube' element which is a child of envelope is bound to the ecb namespace (http://www.ecb.int/vocabulary/2002-08-01/eurofxref). However its children elements (which are also named Cube), are not bound to a namespace. In your xml, you have defined

Re: More include Schema in a Schema problems

2004-11-04 Thread Gareth Reakes
Hey, If you prefix cube with an appropriate binding, what happens? I am wondering about what the spec would say about 1 schema the has elementFormDefault="qualified" including 1 that does elementFormDefault="unqualified" Also, the first schema does state that elements should be qualified. T