|
|
|
@ -15,16 +15,14 @@
|
|
|
|
|
|
|
|
|
|
package com.fr.third.steadystate.css.parser; |
|
|
|
|
|
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.io.InputStreamReader; |
|
|
|
|
import java.net.URL; |
|
|
|
|
import java.nio.charset.Charset; |
|
|
|
|
import java.text.MessageFormat; |
|
|
|
|
import java.util.Locale; |
|
|
|
|
import java.util.MissingResourceException; |
|
|
|
|
import java.util.ResourceBundle; |
|
|
|
|
|
|
|
|
|
import com.fr.third.steadystate.css.parser.selectors.ConditionFactoryImpl; |
|
|
|
|
import com.fr.third.steadystate.css.parser.selectors.SelectorFactoryImpl; |
|
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryAdapter; |
|
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryExt; |
|
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerAdapter; |
|
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerExt; |
|
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryAdapter; |
|
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryExt; |
|
|
|
|
import org.w3c.css.sac.CSSParseException; |
|
|
|
|
import org.w3c.css.sac.ConditionFactory; |
|
|
|
|
import org.w3c.css.sac.DocumentHandler; |
|
|
|
@ -39,13 +37,14 @@ import org.w3c.css.sac.SelectorFactory;
|
|
|
|
|
import org.w3c.css.sac.SelectorList; |
|
|
|
|
import org.w3c.dom.DOMException; |
|
|
|
|
|
|
|
|
|
import com.fr.third.steadystate.css.parser.selectors.ConditionFactoryImpl; |
|
|
|
|
import com.fr.third.steadystate.css.parser.selectors.SelectorFactoryImpl; |
|
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryAdapter; |
|
|
|
|
import com.fr.third.steadystate.css.sac.ConditionFactoryExt; |
|
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerAdapter; |
|
|
|
|
import com.fr.third.steadystate.css.sac.DocumentHandlerExt; |
|
|
|
|
import com.fr.third.steadystate.css.sac.SelectorFactoryExt; |
|
|
|
|
import java.io.IOException; |
|
|
|
|
import java.io.InputStreamReader; |
|
|
|
|
import java.net.URL; |
|
|
|
|
import java.nio.charset.Charset; |
|
|
|
|
import java.text.MessageFormat; |
|
|
|
|
import java.util.Locale; |
|
|
|
|
import java.util.MissingResourceException; |
|
|
|
|
import java.util.ResourceBundle; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Base implementation of {@link Parser}. |
|
|
|
@ -155,7 +154,7 @@ abstract class AbstractSACParser implements SACParser {
|
|
|
|
|
if (sacParserMessages_ == null) { |
|
|
|
|
try { |
|
|
|
|
sacParserMessages_ = ResourceBundle.getBundle( |
|
|
|
|
"com.steadystate.css.parser.SACParserMessages", |
|
|
|
|
"com.fr.third.steadystate.css.parser.SACParserMessages", |
|
|
|
|
getLocale()); |
|
|
|
|
} |
|
|
|
|
catch (final MissingResourceException e) { |
|
|
|
|