Re: [xml] Question regarding xmlAddId



ya that is right, DSig and Enc schema requires, local
ID (name Id) attributes, whether a DTD is there or not
in the given xml doc. xmlSec library always registers
these 
IDs before performing signature, encryption etc. with
the parser.
internally it is calling xmlAddID with all those
checks, which Eric wants :)....
Nitin.
--- Daniel Veillard <veillard redhat com> wrote:

On Thu, Nov 11, 2004 at 09:06:40AM -0800, nitin
singh wrote:
Hello Eric,
the closest solution to you problem is the
function
xmlSecAddIDs, this function was written for the
local 
Ids but  If you understand the code,your problem
for global Ids is solved as well, with a minor
modification.

   Just for clarification, I assume it is a specific
function
present in xmlsec1 and specifically designed to fix
the ID without
DTD problem, right ? 

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team
http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit
 http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]