Skip to content
Permalink
Browse files

Mer robust resolving av filer i validate.sh

  • Loading branch information...
runeflobakk committed May 13, 2014
1 parent bfa4386 commit c8b4e1bc4a298f91f021a65e3e8d6b14d2154999
Showing with 5 additions and 2 deletions.
  1. +5 −2 eksempler/validate.sh
@@ -1,5 +1,8 @@
#!/bin/bash

xmllint --noout --schema ../xsd/sdp.xsd sdp*.xml
xmllint --noout --schema ../xsd/SBDH20040506-02/StandardBusinessDocumentHeader.xsd sbdh.xml
eksempler=$(dirname "$0")
xsds="${eksempler}/../xsd"

xmllint --noout --schema ${xsds}/sdp.xsd ${eksempler}/sdp*.xml
xmllint --noout --schema ${xsds}/SBDH20040506-02/StandardBusinessDocumentHeader.xsd ${eksempler}/sbdh.xml

0 comments on commit c8b4e1b

Please sign in to comment.
You can’t perform that action at this time.