[xmlsec] Brackets in Reference

Rich Salz rsalz at datapower.com
Sat Mar 27 15:26:27 PST 2004

> <Reference URI="#Object[040327174718Z]">

Being pedantic:
1.  That *may* be legal, since URI is of type anyURI.
2.  Without the --dtdfile argument, xmlsec doesn't know that this
    is an IDREF/ID pair.
3.  ID's are of type NAME, and cannot have square brackets in them;
    so "<foo Id='Object[....]>", if Id is an attribute of type ID,
    is not legal XML.  The toolkit you used is doing something wrong.


Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html
XML Security Overview      http://www.datapower.com/xmldev/xmlsecurity.html

More information about the xmlsec mailing list