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

From
Anil Philip <>
To
Date
2005-12-10T17:13:59Z
ID
<>
Thread
RE: [xml-dev] how to use xml:base and relative URLs with SAX/Java?
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