Questions tagged [entityresolver]

18 questions
0
votes
2 answers

getAssociatedStylesheet in TransformerFactoryImpl.java throwing exception if DOCTYPE and PI to include stylesheet both exist in XML

Please take a look at the code of getAssociatedStylesheet(Source source, String media, String title, String charset) throws TransformerConfigurationException in TransformerFactoryImpl class: The definition of above function is ignoring the…
HarshG
  • 267
  • 1
  • 3
  • 10
0
votes
1 answer

Java - xsl transformation -DTD as entity resolver Premature end of file

Java - spring - xsl transformation with dtd as entity resolver. I have a following method private Source resolveDTDEntity(Reader input, final String dtdName) throws ParserConfigurationException, SAXException, IOException { …
d-man
  • 57,473
  • 85
  • 212
  • 296
0
votes
1 answer

How to resolve the Entity declarations and get the file path in an XML?

]> .... With reference to the above sample code, i…
Napster
  • 157
  • 3
  • 17
1
2