Opened 14 years ago
Closed 14 years ago
#28393 closed enhancement (fixed)
Improvement to 'make validate'
Reported by: | l2g@… | Owned by: | markd@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | guide | Version: | |
Keywords: | haspatch | Cc: | raimue (Rainer Müller) |
Port: |
Description
I discovered that by using --postvalid
instead of --valid
when calling xmllint
, the guide can be validated in one step instead of two, and as an added benefit, validation errors will refer directly to the offending sources instead of "guide.tmp.xml".
Attachments (1)
Change History (3)
Changed 14 years ago by l2g@…
Attachment: | validate-simplify.patch added |
---|
comment:1 Changed 14 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|
I tested the patch, works fine for me. The only difference seems to be that no XML context is being printed anymore. But having the actual filename and line numbers is even better.
Please go ahead and commit this.
comment:2 Changed 14 years ago by l2g@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Committed now (r78105).
Note: See
TracTickets for help on using
tickets.
validate: change --valid to --postvalid and reduce 2 steps to 1