[DDI-SRG] schema for DDI 3.1

Pascal Heus pascal.heus at gmail.com
Tue Jul 7 12:54:41 EDT 2009


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] 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
> University of Minnesota
> 50 Willey Hall
> 225 19th Avenue South
> Minneapolis, MN 55455
> _______________________________________________
> DDI-SRG mailing list
> DDI-SRG at icpsr.umich.edu
> http://www.icpsr.umich.edu/mailman/listinfo/ddi-srg
>
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.icpsr.umich.edu/pipermail/ddi-srg/attachments/20090707/5be97d0b/attachment.html 


More information about the DDI-SRG mailing list