mParser.setFeature("http://xml.org/sax/features/validation",
true);
mParser.setFeature(
"http://apache.org/xml/features/validation/schema",
true);
mParser.setFeature(
"http://xml.org/sax/features/namespaces",
true);
mParser.setFeature(
"http://apache.org/xml/features/continue-after-fatal-error",
false ); mLogger.finest( "setting schemas to - " + mSchemaLocation ); mParser.setProperty(
"http://apache.org/xml/properties/schema/external-schemaLocation",
mSchemaLocation );
mParser.setErrorHandler( this );]翻译成C#验证XML,或者解释一下代码意思,谢谢!
true);
mParser.setFeature(
"http://apache.org/xml/features/validation/schema",
true);
mParser.setFeature(
"http://xml.org/sax/features/namespaces",
true);
mParser.setFeature(
"http://apache.org/xml/features/continue-after-fatal-error",
false ); mLogger.finest( "setting schemas to - " + mSchemaLocation ); mParser.setProperty(
"http://apache.org/xml/properties/schema/external-schemaLocation",
mSchemaLocation );
mParser.setErrorHandler( this );]翻译成C#验证XML,或者解释一下代码意思,谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货