Women in Technology

Hear us Roar



Article:
  XML Document Validation with an XML Schema
Subject:   sample code quality - bad
Date:   2006-04-24 07:09:04
From:   dvohra09
Response to: sample code quality - bad

The SchemaValidator.java and JAXPValidator.java do not have any comments. The applications have some System.out statements to output the validaity of an XML document.


Which code samples are you referrring to?


thanks,
Deepak

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • sample code quality - bad
    2006-04-26 03:26:17  gninneh [View]

    I mean the comments in the text here _not_ the downloadable files. It would be better to print the whole class in one piece and add comments either in correct source code format in between, Ior before or after the classes' code. Then people could just copy and paste that code from the browser.

    As opposed to that, the downloadable code has no comments and is probably runnable, but it's absolutely unreadable because it has an indentation that seems to be made by some randomuzer function - even the eclipse source formatter isn't able anymore to make something nice out of it.
    Did you ever look at this downloadable code?
    How do you think does it look?