> Xalan does have Xerces embedded in it. [Karuna] Does this mean that xerces embedded xalan can be used for xsd validation? I have built both Xerces and Xalan on Linux. Xerces library was around 2 MB and Xalan library was around 5 MB. I may not be able to put both these libraries on my target due to size constraint. As you said, since xerces is embedded in xalan, can i just use libxalan.so alone to perform my xsd validation and Xslt transformation? For Xsd validation, i will use xerces sax apis and i hope i will not get "undefined reference error" as libxalan.so must be having the xerces reference.
Regards, Karuna ________________________________ From: Mukul Gandhi [mailto:[EMAIL PROTECTED] Sent: Wed 12/19/2007 7:00 PM To: Karuna Kosaraju (WT01 - TES-Transport Infrastructure) Cc: xalan-dev@xml.apache.org Subject: Re: FW: Schema Validation With XSD On Dec 19, 2007 6:44 PM, <[EMAIL PROTECTED]> wrote: > So, we wanted to know whether any class or API provided by Xalan supports > xsd validation. Xalan doesn't have any facility at XSLT level to do XSD validation (since it is a XSLT 1.0 processor). If you want to do XSLT transformations with Xalan, and prior or post transformation you want to do XSD validation on the XML stream, you can use Xerces for that (which has APIs to support this). Xalan does have Xerces embedded in it. > Since Xalan internally uses Xerces, shouldn't xsd validation also be > supported from Xalan? Correct me if i am wrong. As written above by me, Xalan doesn't have XSD validation facility at XSLT level. It uses a XML parser (Xerces), with which you can do XML validation. -- Regards, Mukul Gandhi The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com