Stanimir Stamenkov <[EMAIL PROTECTED]> wrote on 01/06/2007 09:30:58 AM:
> /Kevin Ott/: > > > <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> > > <xs:complexType name="type"> > > <xs:sequence> > > <xs:element name="string" type="xs:string"/> > > <xs:element ref="xs:schema"/> > > </xs:sequence> > > </xs:complexType> > > </xs:schema> > > You must have: > > <xs:import namespace="http://www.w3.org/2001/XMLSchema" /> > > the least. Then I don't know if Xerces will automatically resolve a > location for the XML Schema namespace It does not. You need to specify a schemaLocation or make the schema available in some other way by returning it from an entity resolver or including it in a grammar pool. > you might need to supply > 'location' attribute in addition. > > -- > Stanimir > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: [EMAIL PROTECTED] E-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]