You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Peter B. West" <pb...@powerup.com.au> on 2001/11/20 16:23:03 UTC

uri parser?

Does anyone know of a general URI parser tucked away in the code 
somewhere, or failing that, available elsewhere?

Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Fop ignores my unicode character

Posted by Ulrich Mayring <ul...@denic.de>.
Cyril Rognon wrote:
> 
> Hi again list !
> 
> thanks to Chris, I have discovered two unicode character to represent
> checked and unchecked checkboxes. Now I am trying to use it in my xsl style
> sheet to produce them checkboxes in my pdf output but all I get with fop is
> a # character.

Have you checked that your font actually has that character?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Fop ignores my unicode character

Posted by Cyril Rognon <cr...@objectiva.fr>.
Hi again list !

thanks to Chris, I have discovered two unicode character to represent 
checked and unchecked checkboxes. Now I am trying to use it in my xsl style 
sheet to produce them checkboxes in my pdf output but all I get with fop is 
a # character.

I am using <xsl:text> &#x2611;</xsl:text> to insert this U^2611 character 
(checkbox), like I have seen it done with the euro sign (wich works by the 
way, with the U^20AC character).

all I have in return is a # !

Should I do some configuration change to my Fop ?
Should I use some new font ?

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: looking for a checkbox unicode character

Posted by "Christopher R. Maden" <cr...@maden.org>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At 01:34 22-11-2001, Cyril Rognon wrote:
>I am not sure it is the right place to post but since many of you speak 
>about unicode you might know about that :
>
>I am looking for a way to insert checked checkbox an unchecked checkbox in 
>my documents. The unchecked one is a dingbat character, but I cannot find 
>a checked version. Is ther any one or should I import some font that takes 
>care of it ?

Try U+2611, BALLOT BOX WITH CHECK, or U+2612, BALLOT BOX WITH X.

HTH,
Chris
- -- 
Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc.
DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training
<URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ >
PGP Fingerprint: BBA6 4085 DED0 E176 D6D4  5DFC AC52 F825 AFEC 58DA
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.8

iQA/AwUBO/zMr6xS+CWv7FjaEQKpaACeIej3T001wMGLGIjgz84FD+EW50wAn1Tx
+tS8VB1GVSCM0LXdcpSwp0Gg
=QJBO
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


looking for a checkbox unicode character

Posted by Cyril Rognon <cr...@objectiva.fr>.
Hi list,

I am not sure it is the right place to post but since many of you speak 
about unicode you might know about that :

I am looking for a way to insert checked checkbox an unchecked checkbox in 
my documents. The unchecked one is a dingbat character, but I cannot find a 
checked version. Is ther any one or should I import some font that takes 
care of it ?

Thanks

Cyril


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: uri parser?

Posted by "Peter B. West" <pb...@powerup.com.au>.
Keiron,

Thanks.  I was looking at the handling of 'url(...)' in the property 
expression parser, and I thought that the general solution would be a 
uri parser.

Peter

Keiron Liddle wrote:

> On 2001.11.20 16:23 Peter B. West wrote:
> 
>> Does anyone know of a general URI parser tucked away in the code 
>> somewhere, or failing that, available elsewhere?
>>
>> Peter
> 
> 
> There is a uri parser in batik since they also need to handle uri's.
> This is one of the classes that is used:
> http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/util/ParsedURL.java?rev=1.9&content-type=text/vnd.viewcvs-markup 


-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: uri parser?

Posted by Keiron Liddle <ke...@aftexsw.com>.
On 2001.11.20 16:23 Peter B. West wrote:
> Does anyone know of a general URI parser tucked away in the code 
> somewhere, or failing that, available elsewhere?
> 
> Peter

There is a uri parser in batik since they also need to handle uri's.
This is one of the classes that is used:
http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/util/ParsedURL.java?rev=1.9&content-type=text/vnd.viewcvs-markup

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: uri parser?

Posted by "Peter B. West" <pb...@powerup.com.au>.
Ulrich,

I don't have much understanding of this arcana, but it looks as though 
java.net.URL will parse a known http: protocol URL.  It won't identify 
the extent of a URL in piece of input text, or so it seems on cursory 
examination.

I had just noticed that there was no lexical token for a 
URI-SPECIFICATION in PropertyParser, and wondered whether it was easy to 
find a parser.

Peter

Ulrich Mayring wrote:

> "Peter B. West" wrote:
> 
>>Does anyone know of a general URI parser tucked away in the code
>>somewhere, or failing that, available elsewhere?
>>
> 
> How about java.net.URL?
> 
> Ulrich
> 
> 


-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: uri parser?

Posted by Ulrich Mayring <ul...@denic.de>.
"Peter B. West" wrote:
> 
> Does anyone know of a general URI parser tucked away in the code
> somewhere, or failing that, available elsewhere?

How about java.net.URL?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


RE: uri parser?

Posted by Scott Sanders <ss...@nextance.com>.
HTTPPool has a URI class that is quite a bit better than the
java.net.URL class. It can be found at
http://www.innovation.ch/java/HTTPClient/

Regards,
Scott Sanders

-----Original Message-----
From: Peter B. West [mailto:pbwest@powerup.com.au] 
Sent: Tuesday, November 20, 2001 7:23 AM
To: fop-dev
Subject: uri parser?

Does anyone know of a general URI parser tucked away in the code 
somewhere, or failing that, available elsewhere?

Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org