XML parser google.gwt.xml.client.XMLParser - can it be configured not to accept DTD?

69 views
Skip to first unread message

chico4

unread,
May 17, 2012, 5:13:10 AM5/17/12
to google-we...@googlegroups.com

Hi,

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?

Looking at the javadocs i couldnt see such an option.

Also is there an option only not to allow external DTDs?

Thanks,

Tal

chico4

unread,
May 20, 2012, 3:44:28 AM5/20/12
to google-we...@googlegroups.com
Anyone ...?

Thad

unread,
May 21, 2012, 11:41:22 AM5/21/12
to google-we...@googlegroups.com
GWT's com.google.gwt.xml.client is a very simple DOM tool. There's no SAX, no DTD, and (most painfully) no XPath.
Reply all
Reply to author
Forward
0 new messages