My question is regarding the XML Parser of google: com.google.gwt.xml.client.XMLParser. Can it be configured to disallow external doctype or doctype at all?
As i understand SAXParser has that option with setFeature("http://apache.org/xml/features/disallow-doctype-decl", true)
Is there such a thing in gwt parser? where can i find the API? Any help would be appreciated?
thanks, Tal
Answer:
GWT is translating java code to javscript, so code finally executes on client side. GWT relies on the browser to parse the XML.
Seeking in web, javadocs doesn't seem to have this functionality and this parser is a very simple DOM tool, with no SAX , no external DTD and no XPath ,and so will not have external entities issues.