<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=055335113-25032010><FONT size=2
face=Arial>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial>I've be reading all
of the archival messages about FAQ section 3.2 and creating a DTD to support an
XML document with an "Id" attribute. I've tried adding the ATTLIST to an
external DTD file using the --dtd-file option from the command line and also
tried embedding the DTD into the XML document. In both cases I've tried
using both the </FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial><!DOCTYPE>
declarion as well as just the <!ATTLIST but have not had any luck.
</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial>Attached is a sample
of my XML template and the DTD file I'm using and below is the error message
that I'm receiving.</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial>Any
information you can provide would be greatly
appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial>Thanks for your
help!<BR>Brian</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2 face=Arial>xmlsec1 sign
--dtd-file test.dtd --output output.xml --hmackey key.php
XMLSEC_TEST.xml</FONT></SPAN></DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial><BR>XMLSEC_TEST.xml:2: element Envelope: validity error : No
declaration for element Envelope<BR>XMLSEC_TEST.xml:2: element Envelope:
validity error : No declaration for attribute xmlns:soap of element
Envelope<BR>XMLSEC_TEST.xml:2: element Envelope: validity error : No declaration
for attribute xmlns:wsa of element Envelope<BR>XMLSEC_TEST.xml:2: element
Envelope: validity error : No declaration for attribute xmlns:wsse of element
Envelope<BR>XMLSEC_TEST.xml:2: element Envelope: validity error : No declaration
for attribute xmlns:wsu of element Envelope<BR>XMLSEC_TEST.xml:3: element
Header: validity error : No declaration for element Header<BR>XMLSEC_TEST.xml:4:
element Action: validity error : No declaration for element
Action<BR>XMLSEC_TEST.xml:4: element Action: validity error : No declaration for
attribute Id of element Action<BR>XMLSEC_TEST.xml:5: element MessageID: validity
error : No declaration for element MessageID<BR>XMLSEC_TEST.xml:5: element
MessageID: validity error : No declaration for attribute Id of element
MessageID<BR>XMLSEC_TEST.xml:6: element ReplyTo: validity error : No declaration
for element ReplyTo<BR>XMLSEC_TEST.xml:6: element ReplyTo: validity error : No
declaration for attribute Id of element ReplyTo<BR>XMLSEC_TEST.xml:7: element
Address: validity error : No declaration for element
Address<BR>XMLSEC_TEST.xml:9: element To: validity error : No declaration for
element To<BR>XMLSEC_TEST.xml:9: element To: validity error : No declaration for
attribute Id of element To<BR>XMLSEC_TEST.xml:10: element Security: validity
error : No declaration for element Security<BR>XMLSEC_TEST.xml:10: element
Security: validity error : No declaration for attribute mustUnderstand of
element Security<BR>XMLSEC_TEST.xml:11: element Timestamp: validity error : No
declaration for element Timestamp<BR>XMLSEC_TEST.xml:11: element Timestamp:
validity error : No declaration for attribute Id of element
Timestamp<BR>XMLSEC_TEST.xml:12: element Created: validity error : No
declaration for element Created<BR>XMLSEC_TEST.xml:13: element Expires: validity
error : No declaration for element Expires<BR>XMLSEC_TEST.xml:15: element
UsernameToken: validity error : No declaration for element
UsernameToken<BR>XMLSEC_TEST.xml:15: element UsernameToken: validity error : No
declaration for attribute Id of element UsernameToken<BR>XMLSEC_TEST.xml:15:
element UsernameToken: validity error : No declaration for attribute xmlns:wsse
of element UsernameToken<BR>XMLSEC_TEST.xml:15: element UsernameToken: validity
error : No declaration for attribute xmlns:wsu of element
UsernameToken<BR>XMLSEC_TEST.xml:16: element Username: validity error : No
declaration for element Username<BR>XMLSEC_TEST.xml:17: element Password:
validity error : No declaration for element Password<BR>XMLSEC_TEST.xml:17:
element Password: validity error : No declaration for attribute Type of element
Password<BR>XMLSEC_TEST.xml:18: element Nonce: validity error : No declaration
for element Nonce<BR>XMLSEC_TEST.xml:19: element Created: validity error : No
declaration for element Created<BR>XMLSEC_TEST.xml:20: element ApplicationName:
validity error : No declaration for element
ApplicationName<BR>XMLSEC_TEST.xml:22: element Signature: validity error : No
declaration for element Signature<BR>XMLSEC_TEST.xml:22: element Signature:
validity error : No declaration for attribute xmlns of element
Signature<BR>XMLSEC_TEST.xml:23: element SignedInfo: validity error : No
declaration for element SignedInfo<BR>XMLSEC_TEST.xml:24: element
CanonicalizationMethod: validity error : No declaration for element
CanonicalizationMethod<BR>XMLSEC_TEST.xml:24: element CanonicalizationMethod:
validity error : No declaration for attribute Algorithm of element
CanonicalizationMethod<BR>XMLSEC_TEST.xml:25: element SignatureMethod: validity
error : No declaration for element SignatureMethod<BR>XMLSEC_TEST.xml:25:
element SignatureMethod: validity error : No declaration for attribute Algorithm
of element SignatureMethod<BR>XMLSEC_TEST.xml:26: element Reference: validity
error : No declaration for element Reference<BR>XMLSEC_TEST.xml:26: element
Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:27: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:28: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:28:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:30: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:30: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:31: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:33: element Reference:
validity error : No declaration for element Reference<BR>XMLSEC_TEST.xml:33:
element Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:34: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:35: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:35:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:37: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:37: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:38: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:40: element Reference:
validity error : No declaration for element Reference<BR>XMLSEC_TEST.xml:40:
element Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:41: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:42: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:42:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:44: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:44: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:45: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:47: element Reference:
validity error : No declaration for element Reference<BR>XMLSEC_TEST.xml:47:
element Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:48: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:49: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:49:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:51: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:51: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:52: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:54: element Reference:
validity error : No declaration for element Reference<BR>XMLSEC_TEST.xml:54:
element Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:55: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:56: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:56:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:58: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:58: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:59: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:61: element Reference:
validity error : No declaration for element Reference<BR>XMLSEC_TEST.xml:61:
element Reference: validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:62: element Transforms: validity error : No
declaration for element Transforms<BR>XMLSEC_TEST.xml:63: element Transform:
validity error : No declaration for element Transform<BR>XMLSEC_TEST.xml:63:
element Transform: validity error : No declaration for attribute Algorithm of
element Transform<BR>XMLSEC_TEST.xml:65: element DigestMethod: validity error :
No declaration for element DigestMethod<BR>XMLSEC_TEST.xml:65: element
DigestMethod: validity error : No declaration for attribute Algorithm of element
DigestMethod<BR>XMLSEC_TEST.xml:66: element DigestValue: validity error : No
declaration for element DigestValue<BR>XMLSEC_TEST.xml:69: element
SignatureValue: validity error : No declaration for element
SignatureValue<BR>XMLSEC_TEST.xml:70: element KeyInfo: validity error : No
declaration for element KeyInfo<BR>XMLSEC_TEST.xml:71: element
SecurityTokenReference: validity error : No declaration for element
SecurityTokenReference<BR>XMLSEC_TEST.xml:72: element Reference: validity error
: No declaration for element Reference<BR>XMLSEC_TEST.xml:72: element Reference:
validity error : No declaration for attribute URI of element
Reference<BR>XMLSEC_TEST.xml:72: element Reference: validity error : No
declaration for attribute ValueType of element Reference<BR>XMLSEC_TEST.xml:78:
element Body: validity error : No declaration for element
Body<BR>XMLSEC_TEST.xml:78: element Body: validity error : No declaration for
attribute Id of element Body<BR>XMLSEC_TEST.xml:79: element
RequestSecurityToken: validity error : No declaration for element
RequestSecurityToken<BR>XMLSEC_TEST.xml:79: element RequestSecurityToken:
validity error : No declaration for attribute xmlns:wst of element
RequestSecurityToken<BR>XMLSEC_TEST.xml:80: element TokenType: validity error :
No declaration for element TokenType<BR>XMLSEC_TEST.xml:81: element RequestType:
validity error : No declaration for element
RequestType<BR>func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unknown:subj=xmlXPtrEval:error=5:libxml2
library function
failed:expr=xpointer(id('pfxfeb1d38a-a5f3-aa5a-e735-eba9501d6554'))<BR>func=xmlSecXPathDataListExecute:file=xpath.c:line=356:obj=unknown:subj=xmlSecXPathDataExecute:error=1:xmlsec
library function failed:
<BR>func=xmlSecTransformXPathExecute:file=xpath.c:line=466:obj=xpointer:subj=xmlSecXPathDataExecute:error=1:xmlsec
library function failed:
<BR>func=xmlSecTransformDefaultPushXml:file=transforms.c:line=2371:obj=xpointer:subj=xmlSecTransformExecute:error=1:xmlsec
library function failed:
<BR>func=xmlSecTransformCtxXmlExecute:file=transforms.c:line=1207:obj=unknown:subj=xmlSecTransformPushXml:error=1:xmlsec
library function
failed:transform=xpointer<BR>func=xmlSecTransformCtxExecute:file=transforms.c:line=1267:obj=unknown:subj=xmlSecTransformCtxXmlExecute:error=1:xmlsec
library function failed:
<BR>func=xmlSecDSigReferenceCtxProcessNode:file=xmldsig.c:line=1568:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec
library function failed:
<BR>func=xmlSecDSigCtxProcessSignedInfoNode:file=xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec
library function
failed:node=Reference<BR>func=xmlSecDSigCtxProcessSignatureNode:file=xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec
library function failed:
<BR>func=xmlSecDSigCtxSign:file=xmldsig.c:line=303:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec
library function failed: <BR>Error: signature failed <BR>Error: failed to sign
file "XMLSEC_TEST.xml"<BR></DIV></FONT></SPAN>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=055335113-25032010><FONT size=2
face=Arial></FONT></SPAN> </DIV></BODY></HTML>