Skip to content

Commit cfc2f8b

Browse files
author
Kilic, Deniz (CT RDA DS EU TR PLT MSS MSS2)
committed
commit message
0 parents  commit cfc2f8b

File tree

99 files changed

+3653
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+3653
-0
lines changed

.idea/compiler.xml

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

+266
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# XML Handler
2+
3+
To verify if the Schema compiles:
4+
5+
$ java -jar .\xmlhandler-1.1-SNAPSHOT-jar-with-dependencies.jar -s .\books.xsd
6+
7+
To validate an XML against a XSD schema:
8+
9+
$ java -jar .\xmlhandler-1.1-SNAPSHOT-jar-with-dependencies.jar -s .\books.xsd .\books.xml
10+
11+
After successful validation, enter the certain name of element on XML file.
12+
Then, program returns the number of element which is given.
13+
14+
![](src/main/resources/result1.PNG)
15+
16+
To validate an XML against a DTD schema:
17+
18+
$ java -jar .\xmlhandler-1.1-SNAPSHOT-jar-with-dependencies.jar -d .\howto.dtd .\howto.xml
19+
20+
After successful validation, enter the certain name of element on XML file.
21+
Then, program returns the number of element which is given.
22+
23+
![](src/main/resources/result2.PNG)

0 commit comments

Comments
 (0)