- practice project using Maven and hamcrest test software as future java TDD template
- JAVA8
- JUNIT4
- Other
- Logging
- XML DOM
- http://hamcrest.org/JavaHamcrest/index
- udemy course: https://www.udemy.com/course/learn-tdd-in-java/
- 黑馬xml: https://www.bilibili.com/video/BV1R54y1q79z/
- https://www.w3schools.com/xml/default.asp
- Syntax:
- 1st row must have version declaration
- must have only 1 root
- attribute must usd quotation mark
- matching closing
- tag is case-sensitive "" != ""
- Component
- declaration:
- version: mandatory attribute
- encoding
- standalone
- tag
- id property is unique
- 本文
- CDATA:
- declaration:
- 約束
Node vs Element vs Document
Java IO
- https://www.baeldung.com/java-write-xml-document-file
- File
- FileWriter