Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #40047 Back to Issue ]
Summary 0040047: Fix database export to avoid manually copying wstx-asl-3.0.2.jar inside Ant folder
Revision 2019-01-29 09:00 by caristu
Description Currently if the wstx-asl-3.0.2.jar library is not present inside the lib folder of the base Ant folder, then after exporting the database the xml headers of the database model files are exported with double quotes.

This is because the com.sun.xml.internal.stream.XMLOutputFactoryImpl[1] class is used instead of the com.ctc.wstx.stax.WstxOutputFactory[2].

Besides, note that apart of exporting the xml header with single quotes, it is faster to use the class provided by the wstx-asl-3.0.2.jar library

[1] https://github.com/keerath/openjdk-8-source/blob/master/jaxp/src/com/sun/xml/internal/stream/writers/XMLStreamWriterImpl.java#L1199 [^]
[2] https://github.com/FasterXML/woodstox/blob/master/src/main/java/com/ctc/wstx/stax/WstxOutputFactory.java [^]
Revision 2019-01-29 08:49 by caristu
Description Currently if the wstx-asl-3.0.2.jar library is not present inside the lib folder of the base Ant folder, then after exporting the database the xml headers of the database model files are exported with double quotes.

This is because the com.sun.xml.internal.stream.XMLOutputFactoryImpl[1] class is used instead of the com.ctc.wstx.stax.WstxOutputFactory.

Besides, note that apart of exporting the xml header with single quotes, it is faster to use the class provided by the wstx-asl-3.0.2.jar library

[1] https://github.com/keerath/openjdk-8-source/blob/master/jaxp/src/com/sun/xml/internal/stream/writers/XMLStreamWriterImpl.java#L1199 [^]
Revision 2019-01-28 19:12 by caristu
Steps To Reproduce 1) Ensure that the wstx-asl-3.0.2.jar is not present inside the lib folder of the base Ant folder.
2) Run ant export.database
3) Note that XML headers have been exported with double quotes
Revision 2019-01-28 19:12 by caristu
Description Currently if the wstx-asl-3.0.2.jar library is not present inside the lib folder of the base Ant folder, then after exporting the database the xml headers of the database model files are exported with double quotes.

This is because the com.sun.xml.internal.stream.XMLOutputFactoryImpl class is used instead of the com.ctc.wstx.stax.WstxOutputFactory.

Besides, note that apart of exporting the xml header with single quotes, it is faster to use the class provided by the wstx-asl-3.0.2.jar library
Revision 2019-01-28 17:02 by caristu
Steps To Reproduce 1) Ensure that the wstx-asl-3.0.2.jar is not present inside the lib folder of the base Ant folder.
2) Run ant export.database
3) Note that XML headers have been exported with single quotes
Revision 2019-01-28 17:02 by caristu
Description Currently if the wstx-asl-3.0.2.jar library is not present inside the lib folder of the base Ant folder, then after exporting the database the xml headers of the database model files are exported with single quotes.

This is because the com.sun.xml.internal.stream.XMLOutputFactoryImpl class is used instead of the com.ctc.wstx.stax.WstxOutputFactory.

Besides, note that apart of exporting the xml header with double quotes, it is faster to use the class provided by the wstx-asl-3.0.2.jar library


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker