Opened 10 years ago

Closed 10 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)

validate-simplify.patch (629 bytes) - added by l2g@… 10 years ago.
validate: change --valid to --postvalid and reduce 2 steps to 1

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by l2g@…

Attachment: validate-simplify.patch added

validate: change --valid to --postvalid and reduce 2 steps to 1

comment:1 Changed 10 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 10 years ago by l2g@…

Resolution: fixed
Status: newclosed

Committed now (r78105).

Note: See TracTickets for help on using tickets.