[xmlsec] Application specific URIs?

Asbjørn Oskal asbjorn.oskal@welldiagnostics.com
Thu, 5 Dec 2002 11:08:57 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C29C4E.B4B247C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi!

As far as I can see in the W3C xml spec section 2.1.1, URIs in
references can also be of application specific type. Is this correct?

I also found the method xmlSecRegisterInputCallbacks which seemed to
take care of this by allowing the definition of methods to handle other
types of URIs than the default ones.

Let say I want to handle URIs starting with "internal://".

I create four functions=20

xmlIOInternalMatch, xmlIOInternalOpen, xmlIOInternalRead and =
xmlIOInternalClose

to handle this and register them with xmlSecRegisterInputCallbacks.

I tried but they were never called.

:)
------=_NextPart_000_0007_01C29C4E.B4B247C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DCourier size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>As far as I can see in the W3C xml =
spec section=20
2.1.1, URIs in</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>references can also be =
of&nbsp;application=20
specific type. Is this correct?</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>I also found the method=20
xmlSecRegisterInputCallbacks which seemed to</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>take care of this by allowing the =
definition of=20
methods to handle other</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2>types of URIs than the default =
ones.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>Let say I want to handle URIs =
starting with=20
"internal://".</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>I&nbsp;create four </FONT><FONT =
face=3DCourier=20
size=3D2>functions </FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>xmlIOInternalMatch, =
xmlIOInternalOpen,=20
xmlIOInternalRead and&nbsp;xmlIOInternalClose</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>to handle this and register them with =

xmlSecRegisterInputCallbacks.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>I tried but they were never =
called.</FONT></DIV>
<DIV><FONT face=3DCourier size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DCourier size=3D2>:)</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C29C4E.B4B247C0--