Re: XML messages

2001-08-31 Thread Piroumian, Konstantin
I'm not agree with it. Cocoon 2 has a very good thing such as Actions. Instead of developing a separate servlet for message receiving functionality you can just implement a set of actions that will handle message requests. You can implement any functionality that you need inside of your actions:

Re: XML messages

2001-08-31 Thread Piroumian, Konstantin
question...i see people talking about this cvs versions all the time.. if i pull xml-cocoon2 from cvs., would that be sufficient or something else needs to be done for this c2.1dev cvs? Thanks --- Piroumian, Konstantin [EMAIL PROTECTED] wrote: It's in the C2.1-dev CVS. You will need to download

Re: How do you create dynamic XML content under Cocoon?

2001-08-29 Thread Piroumian, Konstantin
Sorry if this is easily answered, or has been answered many times but I couldn't find any answers in the mailing list logs. For dynamic XML content Cocoon uses XSP (eXtensible Server Pages). Look at the C2 site: http://xml.apache.org/cocoon2 and you will see a lot of links to XSP stuff. If

Re: can't match images in sitemap

2001-08-22 Thread Piroumian, Konstantin
If you have all your images in one directory (%context%/images) then you can use this: map:match pattern=**/*.jpg map:read src=context://images/{2}.jpg mime-type=image/jpeg/ /map:match This will redirect all requests like: docs/samples/pages/images/img.jpg -- this is what you get with your

Re: Create session conditionally in XSP page?

2001-08-21 Thread Piroumian, Konstantin
Hi All, Is there a way to conditionally create a session object in C2? I have a page that authenticates a user and I don't want to use create-session=true in the xsp:page element since this will also create a session for a user whose authentication failed (I think). Is there a way to

Re: Wildcard Parameters in Sitemap

2001-08-20 Thread Piroumian, Konstantin
Hi! skip map:match pattern=protected/** map:act type=session-is-valid map:act type=session-validator map:parameter name=descriptor value=context://mmsc//descriptors/login-params.xml/ map:parameter name=validate value=username/

Re: future plans?

2001-07-31 Thread Piroumian, Konstantin
Hi! Hi, does anybody knows if i18n will be extended in the future or has some undocumented features? Currently, I am busy with my work project and don't have much time for i18nTransformer. It's open source and you are free to extend it. I hope to be a little more free in a week or two then I

Re: web-designing with xslt

2001-07-30 Thread Piroumian, Konstantin
XML Spy is not a visual XSL editor. It's just a convenient text editor for XSL with transformation and preview capabilities. There is a number of tools for HTML-to-XSL generation (Excelon Stylus, XSplit, etc.). But for a good result you'll also need to specify the XML input: XML + HTML [maybe

Re: AW: XML Spy becomes a tool we all were looking for

2001-07-26 Thread Piroumian, Konstantin
[EMAIL PROTECTED] wrote: Yes, but if you are not working on a CVS but in a SQL database to store such files ? Piroumian, Konstantin wrote: Plus it does not support any authorization and authentication, which would be a must if I let my content

Re: AW: XML Spy becomes a tool we all were looking for

2001-07-25 Thread Piroumian, Konstantin
documents in an SQL database? Yes, but if you are not working on a CVS but in a SQL database to store such files ? Piroumian, Konstantin wrote: Plus it does not support any authorization and authentication, which would be a must if I let my content writers at my XML data

Re: org.w3c.dom.Document as param, html as output

2001-07-07 Thread Piroumian, Konstantin
I'm trying to find a class/method (possibly xalan) that will take an org.w3c.dom.Document as an arg which will include an ?xml:stylesheet? processing instruction and have an ouput of html. I need to have this done on the fly without the xml doc saved in a directoryany suggestions??

Re: hello.pdf not displaying anything

2001-07-05 Thread Piroumian, Konstantin
On Wed, 4 Jul 2001, Kalven Beaver wrote: I'd reall like to figure this one out. Everything else seems to be working fine from the welcome screen, yet hello.pdf just displays a blank screen without even launching the Acrobat Reader. Anyone had similar results and if so, what the heck

Re: hello.pdf not displaying anything

2001-07-05 Thread Piroumian, Konstantin
Piroumian, Konstantin wrote: Do you think that supporting only 15%-20% of users is a good way of application development? Do you think supporting standards is a good way of development? IE's market share will drop rapidly, if more people would take a stand for HTTP-compliance

Re: I18nTransformer2 seeks null.xml

2001-07-04 Thread Piroumian, Konstantin
Hi! This can be a problem with the substitution params of your matcher pipeline? Somewhere here: map:generate type=serverpages src=catalog/{1}.xml/ - for some reason {1} evaluates to null. Are you sure that the problem is in I18nTransformer2? Btw, you are using old version of C2 - in the

Re: Re:How can I make a validation !

2001-06-20 Thread Piroumian, Konstantin
I think it's not a bug. That means that you had empty param in your URL: EMP_DEP= In this case you'll get an empty string and not a null value. So, the best way to check is to use both: if (test != null test.length() != 0) or if (test != null !.equals(test)) I'm not sure, that it's absolutely

Re: [C2] Encoding value with I18n

2001-06-20 Thread Piroumian, Konstantin
, and it also doesn't work. Thanks for your help - Original Message - From: Piroumian, Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 7:16 PM Subject: Re: [C2] Encoding value with I18n I am not sure that the problem is with i18n but I'll take

Re: How do you build your XSLs?

2001-06-19 Thread Piroumian, Konstantin
and it supports Xalan-J too. - Original Message - From: Piroumian, Konstantin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 18, 2001 8:00 AM Subject: Re: How do you build your XSLs? I personally edit XSL in XMLSpy eval version, the only functionality of XMLSpy I use is XML

Re: [C2] Encoding value with I18n

2001-06-19 Thread Piroumian, Konstantin
If you talk about i18nTransformer from latest C2 (which replaced the old i18n transformer), then it is not intended to specify encodings. It uses encodings from your files and simply replaces i18n text by values from the dictionary. If your XML file is in UTF-8 then the result will be also in

Re: How do you build your XSLs?

2001-06-18 Thread Piroumian, Konstantin
I personally edit XSL in XMLSpy eval version, the only functionality of XMLSpy I use is XML validation, sp I don't miss a tag or closing bracket or something like that. Otherwise, Notepad is as good a tool for editing XSL. Then I run this XSL in pair with data-containing XML through Web

[C2] [Patch] Dictionaries in i18n and automation

2001-06-09 Thread Piroumian, Konstantin
Hi! ?ould anybody replce the simple_dict.xml in C2 webapp's i18n/translations directory. I've applied corrected translations for German posted by Jörg Prante. Now we need a Spanish-spoeaking volunteer to correct the Spanish translations. I've developed an XSL stylesheet for automation of i18n

Re: C2 and Avalon

2001-06-08 Thread Piroumian, Konstantin
... With Tomcat 4.0b5 and WebLogic you will have to make a little additional steps. (For Tomcat - you'll find instructions on the installation page on the C2 site). For WL 6 I can tell you what to do if you are interested. Hmm... I compile Tomcat 4.0 out of CVS AS-IS and deploy my

Re: DOM005 and DOM002 exceptions

2001-06-04 Thread Piroumian, Konstantin
Can you tell me when do we get the DOM005 and DOM002 exceptions? I do not know the root cause for this error. These exceptions do not come up consistently. DOM005 error is for the Wrong document excpetion. Usually, it means that you are trying to add nodes to your document from another one.

<    1   2   3