XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] parser error : Premature end of data

On 08/11/2010 00:25, Thufir wrote:
> <library xmlns="urn:loc.gov:books">
>    <book xmlns:isbn="urn:ISBN:0-395-36341-6">

perhaps. but if you just want to declare two namespaces (which was the 
original stated requirement) you don't need to use two elements at all, 
simply declare them both on book


<book xmlns="urn:loc.gov:books"
       xmlns:isbn="urn:ISBN:0-395-36341-6">

David


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS