RE: Regarding this URL: http://xml.apache.org/xalan
Larry Trammell <[email protected]> Fri, 26 Apr 2013 11:42:39 -0800
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <34FBDC3809811D4299E07FABC487CB677ADE95@mailserver.local.mstarlabs.com> |
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01CE42B6.35D90820 Content-Type: text/plain Maybe this is just a simple typo error? Is that really a double-slash preceeding the 'xalan' part of the URL? _____ From: Subbarao Damacharla [mailto:[email protected]] Sent: Friday, April 26, 2013 10:19 AM To: [email protected] Subject: Regarding this URL: http://xml.apache.org/xalan Hi xalan-j-users, As I got the below URL is no longer available xmlns:xalan="http://xml.apache.org//xalan" What URL should be used instead of that ? xmlns:util="src.DataValidator" Actually a java class is being used in XSLT for validation purpose. For that validation, the following way a java class is being used as a component inside XSLT for my project. But this is not working now because of that URL is no longer available. <xalan:componet prefix="util" elements="init validate done"> <xalan:script lang="javaclass" src="xalan://src.DataValidator"/> </xalan:component> <util:init> <xsl:fallback/> </util:init> The init , validate, done functions in DataValidator class should executed from XSLT , earlier it worked fine. Now these are not getting called because component tag itself is getting neglected while transforming the data to xml format. Could you please advice me how can make that code works from XSLT ? Thanks Subba. ------_=_NextPart_001_01CE42B6.35D90820 Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META name=3DGENERATOR content=3D"MSHTML 10.00.9200.16540"></HEAD> <BODY> <DIV dir=3Dltr align=3Dleft><SPAN class=3D623184119-26042013><FONT = size=3D2=20 face=3DArial>Maybe this is just a simple typo error? Is that really=20 a double-slash preceeding the 'xalan' part of the = URL?</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN = class=3D623184119-26042013></SPAN> </DIV><BR> <DIV lang=3Den-us class=3DOutlookMessageHeader dir=3Dltr align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>From:</B> Subbarao Damacharla=20 [mailto:[email protected]] <BR><B>Sent:</B> Friday, April 26, 2013 = 10:19=20 AM<BR><B>To:</B> [email protected]<BR><B>Subject:</B> = Regarding this=20 URL: http://xml.apache.org/xalan<BR></FONT><BR></DIV> <DIV></DIV> <DIV=20 style=3D"FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, = times, serif; COLOR: #000; BACKGROUND-COLOR: #fff"> <DIV>Hi xalan-j-users,</DIV> <DIV><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">As=20 I got the below<SPAN style=3D"BACKGROUND-COLOR: transparent"> URL = is no=20 longer available </SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">xmlns:xalan=3D"<SPAN=20 style=3D"FONT-WEIGHT: bold; BACKGROUND-COLOR: = transparent">http://xml.apache.org//xalan"</SPAN></DIV> <DIV style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', times, serif; COLOR: rgb(0,0,0); FONT-STYLE: = normal; BACKGROUND-COLOR: transparent"><SPAN=20 style=3D"FONT-WEIGHT: bold; BACKGROUND-COLOR: = transparent"><BR></SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><SPAN=20 style=3D"FONT-WEIGHT: bold; BACKGROUND-COLOR: transparent"> <DIV style=3D"FONT-WEIGHT: normal; BACKGROUND-COLOR: transparent">What = URL should=20 be used instead of that ?</DIV> <DIV><BR></DIV></SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">xmlns:util=3D"src.DataValidator"</DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><SPAN=20 style=3D"BACKGROUND-COLOR: transparent">Actually a java class is = being used=20 in XSLT for validation purpose. </SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><SPAN=20 style=3D"BACKGROUND-COLOR: transparent"> </SPAN><SPAN=20 style=3D"BACKGROUND-COLOR: transparent">For that validation, the = following way a=20 java class is being used as a component inside XSLT for my project.=20 </SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><SPAN=20 style=3D"BACKGROUND-COLOR: transparent"> But this is not working = now because=20 of that URL is no longer available.</SPAN></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><xalan:componet=20 prefix=3D"util" elements=3D"init validate done"></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"> =20 <xalan:script lang=3D"javaclass"=20 src=3D"xalan://src.DataValidator"/></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"></xalan:component></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><util:init></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"> =20 <xsl:fallback/> </DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"></util:init><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><SPAN=20 style=3D"BACKGROUND-COLOR: transparent">The init , validate, done = functions=20 in DataValidator class should executed from XSLT , = earlier it=20 worked fine.</SPAN><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">Now=20 these are not getting called because component tag itself is getting = neglected=20 while transforming the data to xml format.</DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">Could=20 you please advice me how can make that code works from XSLT ?<BR></DIV> <DIV style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', times, serif; COLOR: rgb(0,0,0); FONT-STYLE: = normal; BACKGROUND-COLOR: transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">Thanks</DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent">Subba.</DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV> <DIV=20 style=3D"FONT-SIZE: 16px; FONT-FAMILY: 'times new roman', 'new york', = times, serif; COLOR: rgb(0,0,0); FONT-STYLE: normal; BACKGROUND-COLOR: = transparent"><BR></DIV></DIV></BODY></HTML> ------_=_NextPart_001_01CE42B6.35D90820--