PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

Expose the XHTML parsing in ServletUtil for the connectors #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Testing a connector reasonably includes testing the XHTML parsing of the form 
snippets. The W3C 
now rejects most requests for the DTD from Java with a 503 error, so using a 
local copy of the 
DTDs is required. The DTDs and LocalEntityResolver in ServletUtil is exactly 
what is needed. The 
LocalEntityResolver class has private access, however.

This access is only from the tests, so I'm ambivalent on whether it should be 
exposed in the SPI or 
not. I lean slightly toward the SPI, as it seems like a natural fit for the 
XmlUtils class.

Original issue reported on code.google.com by jl1615@gmail.com on 13 Jun 2009 at 8:14

GoogleCodeExporter commented 8 years ago
In the Livelink connector, I use the XHTML-1.0-Strict DTD, so it would be nice 
to make that available, too.

Original comment by jl1615@gmail.com on 13 Jun 2009 at 8:20

GoogleCodeExporter commented 8 years ago

Original comment by mar...@google.com on 4 Dec 2009 at 11:24

GoogleCodeExporter commented 8 years ago
XmlParseUtil is in the CM util package. We need to verify that the Livelink 
connector can use this utility.

Original comment by jla...@google.com on 24 Jun 2011 at 11:44

GoogleCodeExporter commented 8 years ago
This issue is filed as Google issue #6513594

Original comment by tdnguyen@google.com on 18 May 2012 at 9:26