Regarding the default StAX property settings, implementations are suggested to do following:
IS_COALESCING (text coalescing) IS_REPLACING_ENTITY_REFERENCES P_REPORT_PROLOG_WHITESPACE (StAX2); so that the application need not skip possible SPACE (and COMMENT, PROCESSING_INSTRUCTION) events. P_REPORT_ALL_TEXT_AS_CHARACTERS (StAX2) P_PRESERVE_LOCATION (StAX2) In addition, implementations should set implementation-dependant settings appropriately as well.
| |