Validating Tree Structures Files

I am looking for a validator to validate configuration files based on a tree structure. e.g. a.student.name joe a.student.class arts

Can you suggest any ideas for checking this configuration? So far I have been searching, and I could find a validator only for xml files.

+3
source share
4 answers

Unfortunately, schema validation for configuration files is rarely found outside of XML. The only other option that I know of is Config4J (which I wrote).

-, -, ( PDF, HTML). , Config4J , .

2 3 " " API. , 3.10 .

9 " " .

3 " Java API" API .

: kiran.kumar M, Java Ruby YAML , Kwalify.

: JSON .

+8

, Java, . , "validate". , , , .

0

. -, , lex/yacc (read flex/bison).

. -.

0

All Articles