[xmlsec] Read FAQ 3.4 (XPointer) but still cannot seem to get things to work......

Scullum scullum at nildram.co.uk
Mon May 16 10:25:15 PDT 2005


No luck..but thanks !!

Looks like i will have to create schema.

I found an old topic in the posts under the heading "Question regarding
xmlAddId" where someone used the DTD

<!DOCTYPE soap:Envelope [
<!ATTLIST soap:Body Id ID #IMPLIED>
]>

- using this DTD cut/pasted into a file called mydtd.dtd and using xmlsec

xmlsec.exe --verify --dtd-file mydtd.dtd  nocert.xml

The following errors occurred.  Am i least on the right lines or have i gone
off on some kind of bizzare tangent.

Once again Aleksey - thanks for all your help and your amazingly prompt
replys.  I do value all the help you are giving me and appreciate you must
be busy with more interesting/important problems.


Steve

------------------



nocert.xml:2: element Envelope: validity error : No declaration for element
Envelope nocert.xml:2: element Envelope: validity error : No declaration for
attribute xmlns:soapenv of element Envelope
nocert.xml:2: element Envelope: validity error : No declaration for
attribute xmlns:xsd of element Envelopenocert.xml:2: element Envelope:
validity error : No declaration for attribute xm
lns:xsi of element Envelope
nocert.xml:3: element Header: validity error : No declaration for element
Header
nocert.xml:3: element Security: validity error : No declaration for element
Security
nocert.xml:3: element Security: validity error : No declaration for
attribute xmlns:wsse of element Security
nocert.xml:3: element Signature: validity error : No declaration for element
Signature
nocert.xml:3: element Signature: validity error : No declaration for
attribute xmlns:ds of element Signature
nocert.xml:3: element SignedInfo: validity error : No declaration for
element SignedInfo
nocert.xml:3: element CanonicalizationMethod: validity error : No
declaration for element CanonicalizationMethod
nocert.xml:3: element CanonicalizationMethod: validity error : No
declaration for attribute Algorithm of element CanonicalizationMethod
nocert.xml:3: element SignatureMethod: validity error : No declaration for
element SignatureMethod
nocert.xml:3: element SignatureMethod: validity error : No declaration for
attribute Algorithm of element SignatureMethod
nocert.xml:3: element Reference: validity error : No declaration for element
Reference
nocert.xml:3: element Reference: validity error : No declaration for
attribute URI of element Reference
nocert.xml:3: element Transforms: validity error : No declaration for
element Transforms
nocert.xml:3: element Transform: validity error : No declaration for element
Transform
nocert.xml:3: element Transform: validity error : No declaration for
attribute Algorithm of element Transform
nocert.xml:3: element DigestMethod: validity error : No declaration for
elementDigestMethod
nocert.xml:3: element DigestMethod: validity error : No declaration for
attribute Algorithm of element DigestMethod
nocert.xml:3: element DigestValue: validity error : No declaration for
element DigestValue
nocert.xml:3: element Reference: validity error : No declaration for element
Reference
nocert.xml:3: element Reference: validity error : No declaration for
attribute URI of element Reference
nocert.xml:3: element Transforms: validity error : No declaration for
element Transforms
nocert.xml:3: element Transform: validity error : No declaration for element
Transform
nocert.xml:3: element Transform: validity error : No declaration for
attribute Algorithm of element Transform
nocert.xml:3: element DigestMethod: validity error : No declaration for
elementDigestMethod
nocert.xml:3: element DigestMethod: validity error : No declaration for
attribute Algorithm of element DigestMethod
nocert.xml:3: element DigestValue: validity error : No declaration for
element DigestValue
nocert.xml:3: element SignatureValue: validity error : No declaration for
element SignatureValue
nocert.xml:3: element Timestamp: validity error : No declaration for element
Timestamp
nocert.xml:3: element Timestamp: validity error : No declaration for
attribute xmlns:wsu of element Timestamp
nocert.xml:3: element Created: validity error : No declaration for element
Created
nocert.xml:3: element Created: validity error : No declaration for attribute
Id of element Created
nocert.xml:3: element Body: validity error : No declaration for element Body
nocert.xml:3: element Body: validity error : No declaration for attribute Id
of element Body
nocert.xml:3: element Body: validity error : No declaration for attribute
xmlns:wsu of element Body
nocert.xml:4: element secountResponse: validity error : No declaration for
element secountResponse
nocert.xml:4: element secountResponse: validity error : No declaration for
attribute encodingStyle of element secountResponse
nocert.xml:4: element secountResponse: validity error : No declaration for
attribute xmlns:ns1 of element secountResponse
nocert.xml:5: element secountReturn: validity error : No declaration for
element secountReturn
nocert.xml:5: element secountReturn: validity error : No declaration for
attribute type of element secountReturn
nocert.xml:5: element secount_results: validity error : No declaration for
element secount_results
nocert.xml:6: element disclaimer: validity error : No declaration for
element disclaimer
nocert.xml:7: element header: validity error : No declaration for element
header
nocert.xml:8: element SEARCH_PARAMETERS: validity error : No declaration for
element SEARCH_PARAMETERS
nocert.xml:9: element ISCO: validity error : No declaration for element ISCO
nocert.xml:10: element COUNTRY: validity error : No declaration for element
COUNTRY
nocert.xml:11: element REGION: validity error : No declaration for element
REGION
nocert.xml:12: element DATE: validity error : No declaration for element
DATE
nocert.xml:13: element TITLE: validity error : No declaration for element
TITLE
nocert.xml:14: element CONTRACTDURATION: validity error : No declaration for
element CONTRACTDURATION
nocert.xml:15: element EXPERIENCE: validity error : No declaration for
element EXPERIENCE
nocert.xml:16: element QUALIFICATION: validity error : No declaration for
element QUALIFICATION
nocert.xml:17: element INCLUDEPES: validity error : No declaration for
element INCLUDEPES
nocert.xml:20: element results: validity error : No declaration for element
results
nocert.xml:21: element ROWS: validity error : No declaration for element
ROWS
nocert.xml:22: element ROW: validity error : No declaration for element ROW
nocert.xml:22: element ROW: validity error : No declaration for attribute id
of element ROW
nocert.xml:23: element COUNTRY: validity error : No declaration for element
COUNTRY
nocert.xml:24: element COUNT: validity error : No declaration for element
COUNT
nocert.xml:26: element ROW: validity error : No declaration for element ROW
nocert.xml:26: element ROW: validity error : No declaration for attribute id
ofelement ROW
nocert.xml:27: element COUNTRY: validity error : No declaration for element
COUNTRY
nocert.xml:28: element COUNT: validity error : No declaration for element
COUNT
func=xmlSecXPathDataExecute:file=..srcxpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2
library function failed:expr=xpointer(id('wsse-c26651c0-c2
09-11d9-9834-e9a275261f99'));last error=0 (0x00000000);last error msg=The
operation completed successfully.
func=xmlSecXPathDataListExecute:file=..srcxpath.c:line=356:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec
library function failed: ;last error=0 (0x00
000000);last error msg=The operation completed successfully.
Error: failed to verify file "nocert.xml"

________________________________________________
Message sent using UebiMiau 2.7.2



More information about the xmlsec mailing list