Reference Citations - HerongYang.com - v2.95, by Herong Yang
com.liferay.portal.service.impl.PortletServiceImpl
'XSD (XML Schema Definition) - XML Validation' tutorial was cited in the source code of the PortletServiceImpl Java class in 2005.
The XSD (XML Schema Definition) - XML Validation tutorial was cited in the source code of the PortletServiceImpl Java class in 2005. Note that my Geocities site has been moved to herongyang.com now.
Subject: com.liferay.portal.service.impl.PortletServiceImpl
Date: 2005
Author: Brian Wing Shun Chan
Source: http://docs.liferay.com/portal/3.5/javadocs/portal-ejb/com
/liferay/portal/service/impl/PortletServiceImpl.java.html
...
77 * @author Brian Wing Shun Chan
78 * @version $Revision: 1.8 $
79 *
80 */
81 public class PortletServiceImpl
...
415 private Set _readPortletXML(
416 String servletContextName, String xml, Map portletsPool)
417 throws DocumentException, IOException {
418
419 Set portletIds = new HashSet();
420
421 if (xml == null) {
422 return portletIds;
423 }
424
425 // Crimson cannot do XSD validation. See the following links:
426 //
427 // http://www.geocities.com/herong_yang/jdk/xsd_validation.html
428 // http://www.burnthacker.com/archives/000086.html
429 // http://www.theserverside.com/news/thread.tss?thread_id=22525
430
431 SAXReader reader = null;
432 try {
433 reader = new SAXReader(_SAX_PARSER_IMPL);
434
435 reader.setEntityResolver(new EntityResolver());
436
437 reader.setFeature(_FEATURES_VALIDATION, true);
438 reader.setFeature(_FEATURES_VALIDATION_SCHEMA, true);
439 reader.setFeature(_FEATURES_VALIDATION_SCHEMA_FULL_CHECKING,
true);
440 reader.setFeature(_FEATURES_DYNAMIC, true);
441 }
442 catch (Exception e) {
443 _log.warn("XSD validation is diasabled");
444
445 reader = new SAXReader();
446 }
Table of Contents
Kalkati.net, XML database dump
►com.liferay.portal.service.impl.PortletServiceImpl
Japanese Chinese Tea Web Sites
Softwaretechnik-Praktikum SS 2005
How to develop a scanner/disinfector
Encoding a C String/Buffer with ASCII Char
mysql 5alpha stored procedures vs mssql