source:
VTDGen gen = new VTDGen();
gen.parseFile("euckr encoded xmlfile", true);
error print :
ParserException: com.ximplewate.ParseException: XML decl Error: invalid encoding
Line Number: 1 Offset: 30
and does not Throw Exception in parseFile()
only appear error log in system.out
throw exception unsupported encoding
plz support ecu-kr encoding. VTDGen does not have EUCKRReader
in general xml document with xpath use NamespaceContext object
and UniversalNamespaceContext parse namespace and regist it as namespace uri in target xml
but vtd-xml xpath not ease of use with xpath namespace.
autoPilot.declareXPathNameSpace("xxx", "uri:xxx");
...
...
and many xpath namespace list.
programer alway know namespace in xml
but program logic process many difference xml and many namespace uri and prefix
how to automatic regist all namespace and uri in xml?
Last edit: numi 2014-02-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
source:
VTDGen gen = new VTDGen();
gen.parseFile("euckr encoded xmlfile", true);
error print :
ParserException: com.ximplewate.ParseException: XML decl Error: invalid encoding
Line Number: 1 Offset: 30
and does not Throw Exception in parseFile()
only appear error log in system.out
in general xml document with xpath use NamespaceContext object
and UniversalNamespaceContext parse namespace and regist it as namespace uri in target xml
but vtd-xml xpath not ease of use with xpath namespace.
autoPilot.declareXPathNameSpace("xxx", "uri:xxx");
...
...
and many xpath namespace list.
programer alway know namespace in xml
but program logic process many difference xml and many namespace uri and prefix
how to automatic regist all namespace and uri in xml?
Last edit: numi 2014-02-24
Do you have a URL link to EUCKRReader spec?
Http://encoding.spec.whatwg.org/#euc-kr
I'm not sure that comport link