[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|