METHOD_0 ( ) { java . lang . String IDENT_0 = new java . lang . String ( org . apache . commons . codec . IDENT_1 . IDENT_2 . METHOD_1 ( com . IDENT_3 . IDENT_4 . util . IDENT_5 . METHOD_2 ( STRING_0 ) ) ) ; org . w3c . dom . Document IDENT_6 = com . IDENT_3 . IDENT_4 . util . IDENT_5 . METHOD_3 ( IDENT_0 ) ; boolean isValid = com . IDENT_3 . IDENT_4 . util . IDENT_5 . METHOD_4 ( IDENT_6 , IDENT_7 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . w3c . dom . Document , java . net . URL ) { try { if ( IDENT_9 == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } javax . xml . validation . Schema schema = com . IDENT_3 . IDENT_4 . util . IDENT_7 . METHOD_5 ( IDENT_10 ) ; javax . xml . validation . IDENT_11 validator = schema . METHOD_6 ( ) ; if ( com . IDENT_3 . IDENT_4 . util . IDENT_5 . IDENT_12 ) { validator . setProperty ( IDENT_13 . IDENT_14 , "" ) ; validator . setProperty ( IDENT_13 . IDENT_15 , "" ) ; } com . IDENT_3 . IDENT_4 . util . IDENT_16 IDENT_17 = new com . IDENT_3 . IDENT_4 . util . METHOD_7 ( ) ; validator . METHOD_8 ( IDENT_17 ) ; javax . xml . transform . IDENT_18 IDENT_19 = new javax . xml . transform . dom . METHOD_9 ( IDENT_9 ) ; validator . validate ( IDENT_19 ) ; final boolean isValid = ! ( IDENT_17 . METHOD_10 ( ) ) ; if ( ! isValid ) { com . IDENT_3 . IDENT_4 . util . IDENT_5 . LOGGER . warn ( ( STRING_2 + ( IDENT_17 . METHOD_11 ( ) ) ) ) ; } return isValid ; } catch ( java . lang . Exception e ) { com . IDENT_3 . IDENT_4 . util . IDENT_5 . LOGGER . warn ( ( STRING_3 + ( e . getMessage ( ) ) ) , e ) ; return false ; } }
org . junit . Assert . assertTrue ( isValid )