Bug 126677 Improper handling with importing CSS file which contains underscore in selector
When trying to import a CSS file in BIRT report designer 2.0 which contains underscore in selector, e.g: table_Footer_Row { background-color: #000099; color: #FFFFFF; font-family: Arial, Helvetica, sans-serif; font-size: medium; font-weight: bold; } BIRT just ignores this style without poping up any message, thus my question is does BIRT supports the selector with underscore? Thanks!
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/css/CssParser.java
if ( !nodeStack.empty( ) )
			{
				( (StyleSheet) nodeStack.peek( ) ).add( sr );
			}
			
			StyleDeclaration decl = new StyleDeclaration( );
			sr.setStyle( decl );
			nodeStack.push( sr );
			nodeStack.push( decl );
		}
		public void endSelector( SelectorList selectors ) throws CSSException
		{
			
			nodeStack.pop( );
			root = nodeStack.pop( );
		}
		public void property( String name, LexicalUnit value, boolean important )
				throws CSSException
		{
			StyleDeclaration decl = (StyleDeclaration) nodeStack.peek( );
			decl.addProperty( new Property( name, new CSSValue( value ) ) );
		}
	}
	public static void setProperty( String key, String val )
	{
		Properties props = System.getProperties( );
		props.put( key, val );
		System.setProperties( props );
	}
}