Re: DIH: entities in xml problem

2015-02-04 Thread Raul
Thanks for the reply. I'm going tol try with a custom transform to see if process the file before the xml parser. And I will see the regex for determine if it is appropriate for this. Regards El 04/02/15 a las 13:37, Michael Sokolov escribió: Yes, you could do some kind of regex preprocess;

Re: DIH: entities in xml problem

2015-02-04 Thread Michael Sokolov
Yes, you could do some kind of regex preprocess; you can't feed named entities to an XML parser without providing a DTD, sadly. But that probably isn't any easier than adding the DTD -- both require updating every file. Another possibility is writing some custom code that does the modificatio

Re: DIH: entities in xml problem

2015-02-03 Thread Raul
How would you do the transform of the content to convert the entities? With a pre-proccess? We have lot of xml with the content insert (and the content has the entities) and will be dificult add the DTD to the content... Thanks - Raul El 03/02/15 a las 17:15, Michael Sokolov escribió: If the e

Re: DIH: entities in xml problem

2015-02-03 Thread Michael Sokolov
If the entities are in the content, you would need to add the DTD to the content, not to the stylesheet. Or you could transform the content converting the entities. -Mike On 02/03/2015 10:41 AM, Raul wrote: Hi all! I'm trying to use Solr with the DIH and xslt processing. All is fine till i

DIH: entities in xml problem

2015-02-03 Thread Raul
Hi all! I'm trying to use Solr with the DIH and xslt processing. All is fine till i put xml with html entity in the content (like $euro;) where i get a Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException i put in the xsl the dt

DIH: entities in xml problem

2015-02-03 Thread Raul
Hi all! I'm trying to use Solr with the DIH and xslt processing. All is fine till i put xml with html entity in the content (like $euro;) where i get a Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException i put in the xsl the dt