Hi!

While trying to read up on how whitespace is handled, I tried to access
http://axkit.org/wiki/view/AxKit/Apache::AxKit::Language::XSP::SimpleTaglib
but it currently gives me a 500 error... 

But then, I might as well ask... :-) 

I have noted that constructs such as 
<user:get-passwd>
          <user:username>kjetil</user:username>
</user:get-passwd>
work OK, but
<user:get-passwd>
  <user:username>
        kjetil
  </user:username>
</user:get-passwd>
tend to give unexpected results, probably due to the extra whitespace. 
Is it my responsibility to remove whitespace in the taglibs I write if 
it is in the way? 

I seem to recall that the XML spec has a couple of things about 
whitespace, yup, http://www.w3.org/TR/REC-xml#sec-white-space
Perhaps this could be made use of? 

Best,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to