OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] how to use xml:base and relative URLs with SAX/Java?

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: RE: [xml-dev] how to use xml:base and relative URLs with SAX/Java?
  • From: Anil Philip <goodnewsforyou@yahoo.com>
  • Date: Sat, 10 Dec 2005 09:13:59 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fwliGC+WYEZu09HKEWg4hB0AcNubMDypGBcvZCg+9s7tnHQWDuJYulSnO9UI3IoOEdmVzW7wb42tBYqwY7pMKikKWPI+ylFYny9G4v5Y2DNjw1FU0O3eB1LJeyJAInhXPZFj4eF8ngwtii7iCdvWwypMdRVn0m0HEZiV/AdUl2Y= ;

Thanks for replying (I appreciate your willingness to
help out newbies).
Would I  have to convert every 
	<xs:element name="audioClip" type="xs:anyURI"/>
to a complex type?
I just want a solution where the xml file is portable.
thanks,
Anil


> > 1. However, I get validation error: "Element
> audioClip
> > is based on a simple type. Attribute 'xml:base' is
> not
> > defined in the schema instance namespace (xsi)."
> 
> Correct: if the schema doesn't allow xml:base, then
> you can't use it. The
> only privileged attributes that you can use without
> declaring them are the
> xsi: attributes defined in the XML schema spec
> itself, such as xsi:type.
> > 



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




 

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

Copyright 2001 XML.org. This site is hosted by OASIS