Created
December 5, 2012 13:33
-
-
Save r-martins/4215534 to your computer and use it in GitHub Desktop.
Encontrando erros de formatação em XML's
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in `find . -name "*.xml"`; do xmllint --noout $file; done | |
fará uma busca por todos os arquivos xml recursivamente e mostrará se houver algum com erro de sintaxe, tags nao fechadas, etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment