Hi Mandeep, You may also wish to take a look at DOMBuilder's setProperty method; using XMLUni::fgXercesSchemaExternalNoNamespaceSchemaLocation as the first parameter should provide a similar effect to setExternalNoNamespaceSchemaLocation.
Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED] |---------+----------------------------> | | Gareth Reakes | | | <[EMAIL PROTECTED]| | | oft.com> | | | | | | 07/17/2003 01:14 | | | PM | | | Please respond to| | | xerces-c-dev | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------------------------------------| | | | To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> | | cc: | | Subject: Re: Can't seem to validate against an external grammar | | | | | >---------------------------------------------------------------------------------------------------------------------------------------------| Hi, take a look at EntityResolver. This does what you want. Gareth On Thu, 17 Jul 2003, Mandeep Singh Bhatia wrote: > Hi, > I have a similar question. > I'm trying to validate an XML document which may or may not contain a link > to the schema. > There is a local file containing the schema and I will validate every XML > file against that even if the XML file contains the link to the schema. > May be the function setExternalNoNamespaceSchemaLocation would be doing the > job but the parser I am using is DOMBuilder and I want to know how thru > DOMBuilder I can achieve this. > regards, > Mandeep. > -- Gareth Reakes, Head of Product Development +44-1865-203192 DecisionSoft Limited http://www.decisionsoft.com XML Development and Services --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]