Hello, Thank you for your answer but this way assumes you know the public Id of the xml file you will be reading, I was expecting some way to completely ignore the DTDs without knowing what what dtd referenced by the file I am reading.
SeB. -----Message d'origine----- De : Brian Agnew [mailto:[EMAIL PROTECTED] Envoyé : lundi 18 juin 2007 19:10 À : Gandon, Sébastien Cc : xmltask-users@lists.sourceforge.net Objet : Re: [Xmltask-users] Ignor DTDs The doc for <xmlcatalog> demonstrates how to ignore a DTD. e.g. <entity remote="-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" local=""/> inside an <xmlcatalog> will specify that the XML with the given public id will be ignored. Since you're working with XHTML (or HTML, perhaps?) then this should be sufficient (inserting the appropriate public id in the above). Brian On Mon, June 18, 2007 16:42, Gandon, Sébastien wrote: > Hello, > > > > I second Maarten Coene proposition of an attribute ignoreDTD in the > xmltask element. > > I need to look for the <title> tag of an html page and do not care at all > whether the DTD is resolved or not. > > > > Please add this new feature or could you tell me how to do this otherwise. > > > > SeB. > > > > PS : please Maarten could you post your change for others to enjoy it ;) > thank you. > > *********************************************************************************** > This e-mail is confidential, the property of NDS Ltd and intended for the > addressee only. Any dissemination, copying or distribution of this > message or any attachments by anyone other than the intended recipient is > strictly prohibited. If you have received this message in error, please > immediately notify the [EMAIL PROTECTED] and destroy the original > message. Messages sent to and from NDS may be monitored. NDS cannot > guarantee any message delivery method is secure or error-free. > Information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. We do not accept responsibility for > any errors or omissions in this message and/or attachment that arise as a > result of transmission. You should carry out your own virus checks before > opening any attachment. Any views or opinions presented are solely those > of the author and do not necessarily represent those of NDS. > > To protect the environment please do not print this e-mail unless > necessary. > *********************************************************************************** > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/_______________________________________________ > Xmltask-users mailing list > Xmltask-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xmltask-users > -- Brian Agnew http://www.oopsconsultancy.com OOPS Consultancy Ltd Tel: +44 (0)7720 397526 Fax: +44 (0)20 8682 0012 *********************************************************************************** This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS. To protect the environment please do not print this e-mail unless necessary. *********************************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Xmltask-users mailing list Xmltask-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xmltask-users