[DDI-SRG] schema for DDI 3.1

A. Gregory arofan.gregory at earthlink.net
Wed Jul 8 09:33:56 EDT 2009


Sanda:

All you have to do is remove the xmlns:xml="..." attribute from the schema
tag - the import element should stay in place. I've tested this and it seems
to work on all of the XML editors and parsers I have on my machine.

See if this works in XMetal, and I think we won't have an issue.

Cheers,

Arofan

-----Original Message-----
From: ddi-srg-bounces at icpsr.umich.edu
[mailto:ddi-srg-bounces at icpsr.umich.edu] On Behalf Of Sanda Ionescu
Sent: Wednesday, July 08, 2009 5:23 AM
To: A. Gregory; Joachim Wackerow
Cc: TIC list; Mary Vardigan; Wendy Thomas
Subject: Re: [DDI-SRG] schema for DDI 3.1

Arofan, and all.
Yes I have used XMetaL (same version, 4.6) with all of the previous DDI3
schemas - the published 3.0 as well as the various drafts that preceded
3.0.
I have never encountered this problem up until now.
I just tried to load the StudyUnit schema (3.1, review) and it worked
fine.
So that's all I can say so far.
Sanda.

Sanda Ionescu
ICPSR
University of Michigan
P.O. Box 1248
Ann Arbor, MI 48106

Phone, Fax: 734-615-7890 
-----Original Message-----
From: A. Gregory [mailto:arofan.gregory at earthlink.net] 
Sent: Wednesday, July 08, 2009 5:07 AM
To: 'Joachim Wackerow'
Cc: 'Pascal Heus'; 'Wendy Thomas'; 'TIC list'; Sanda Ionescu; Mary
Vardigan
Subject: RE: [DDI-SRG] schema for DDI 3.1

Folks:

Here's what I don't understand. Presumably, XMetal didn't choke on the
existing, published 3.0 schemas which bind the xml namespace (see, for
example, the reusable schema module.) Why, then, now, does it suddenly
choke?

Sanda: did you use XMetal for the 3.0 version of DDI?

Cheers,

Arofan

-----Original Message-----
From: Joachim Wackerow [mailto:joachim.wackerow at gesis.org] 
Sent: Wednesday, July 08, 2009 12:59 AM
To: A. Gregory
Cc: 'Pascal Heus'; 'Wendy Thomas'; 'TIC list'; 'Sanda Ionescu'; 'Mary
Vardigan'
Subject: Re: [DDI-SRG] schema for DDI 3.1

One the one hand hand DDI should follow the spec. On the other hand DDI 
should validate in major editors and parsers like XMetal (Sanda 
mentioned it).

We should verify that DDI can be validated in major editors and parsers.

When an issue raises just with one of them, we can take following
action:
- document the issue on the DDI web site
- email the vendor about the issue (like I did with a previous version 
of XMLSpy).

Achim

A. Gregory wrote:
> Pascal:
> 
>  
> 
> It has always been there, in at least one of the schemas.
> 
>  
> 
> I know this is a weird interpretation of the spec, but when I tested 
> this most parsers choked if it wasn't declared. Some tools like it,
some 
> don't, but the majority do, from my tests.
> 
>  
> 
> It is **not** illegal to explicitly declare the xml namespace binding,

> so long as it is bound to the namespace stated.
> 
>  
> 
> Cheers,
> 
>  
> 
> Arofan
> 
>  
> 
>
------------------------------------------------------------------------
> 
> *From:* Pascal Heus [mailto:pascal.heus at gmail.com]
> *Sent:* Tuesday, July 07, 2009 8:55 AM
> *To:* Wendy Thomas
> *Cc:* A. Gregory; 'TIC list'; 'Sanda Ionescu'; 'Mary Vardigan'
> *Subject:* Re: [DDI-SRG] schema for DDI 3.1
> 
>  
> 
> more...
> 
> Namespace Constraint: Prefix Declared
> The namespace prefix, unless it is xml or xmlns, must have been
declared 
> in a namespace declaration attribute in either the start-tag of the 
> element where the prefix is used or in an an ancestor element (i.e. an

> element in whose content the prefixed markup occurs). The prefix xml
is 
> by definition bound to the namespace name 
> http://www.w3.org/XML/1998/namespace. The prefix xmlns is used only
for 
> namespace bindings and is not itself bound to any namespace name.
> 
> *P
> 
> Wendy Thomas wrote:
> 
> Arofan,
> 
>  
> 
> I was just checking to see why this came up now but not earlier. It
seems 
> 
> that
> 
> xmlns:xml="http://www.w3.org/XML/1998/namespace"
> 
>  
> 
> was not in the first line (<xs:schema  etc) in 3.0. It was simply the 
> 
> first import line. Is there a reason for this? Just curious :)
> 
>  
> 
> Wendy
> 
>  
> 
>  
> 
> On Tue, 7 Jul 2009, A. Gregory wrote:
> 
>  
> 
>   
> 
>> Sanda:
>>  
>>  
>>  
>> Usually this error is caused by tools which don't like the xml.xsd
schema.
>>  
>>  
>>  
>> Try removing any mention of this from the namespace declarations and
>> imports, and see if that works.
>>  
>>  
>>  
>> Cheers,
>>  
>>  
>>  
>> Arofan
>>  
>>  
>>  
>>  _____
>>  
>> From: ddi-srg-bounces at icpsr.umich.edu
<mailto:ddi-srg-bounces at icpsr.umich.edu>
>> [mailto:ddi-srg-bounces at icpsr.umich.edu] On Behalf Of Sanda Ionescu
>> Sent: Tuesday, July 07, 2009 4:45 AM
>> To: TIC list
>> Cc: Mary Vardigan
>> Subject: [DDI-SRG] schema for DDI 3.1
>>  
>>  
>>  
>> Hi, all.
>>  
>>  
>>  
>> I tried to create markup using the draft (?) for 3.1 and my editor
would
not
>> load the (Instance) schema.
>>  
>> Error:"Namespace prefix is not allowed to start with the reserved
string
>> xml" - line 22, column 639.
>>  
>>  
>>  
>> Also, could you please let us know when you think 3.1 might actually
be
>> published?
>>  
>> Sanda.
>>  
>>  
>>  
>> Sanda Ionescu
>> ICPSR
>> University of Michigan
>> P.O. Box 1248
>> Ann Arbor, MI 48106
>>  
>> Phone, Fax: 734-615-7890
>>  
>>  
>>     
>  
> 
> Wendy L. Thomas                          Phone: +1 612.624.4389
> 
> Data Access Core Director              Fax:   +1 612.626.8375
> 
> Minnesota Population Center              Email: wlt at pop.umn.edu
<mailto:wlt at pop.umn.edu>
> 
> University of Minnesota
> 
> 50 Willey Hall
> 
> 225 19th Avenue South
> 
> Minneapolis, MN 55455
> 
> _______________________________________________
> 
> DDI-SRG mailing list
> 
> DDI-SRG at icpsr.umich.edu <mailto:DDI-SRG at icpsr.umich.edu>
> 
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
> 
>  
> 
>   
> 
>  
> 
> 
>
------------------------------------------------------------------------
> 
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg


-- 
GESIS - Leibniz Institute for the Social Sciences
Postal address: P.O. Box 122155, 68072 Mannheim, Germany
Visiting address: B2 1, 68159 Mannheim, Germany
Phone: +49 (0)621 1246 262
Fax: +49 (0)621 1246 100
E-mail: joachim.wackerow at gesis.org
www.gesis.org/en/institute/


_______________________________________________
DDI-SRG mailing list
DDI-SRG at icpsr.umich.edu
http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg



More information about the DDI-SRG mailing list