A wise old hermit known only as Nortje, Andrew <[EMAIL PROTECTED]> once 
said:

> I noticed that the jboss finder syntax generated in jaws.xml looks like 
> this
>  
>          <finder>
>             <name>findByCountry</name>
>             <query><![CDATA[countryAbbreviation = {1}]]></query>
>             <order></order>
>          </finder>
>  
> In the jboss online manual there is not ![CDATA and I have never used it
> myself before. What does the CDATA mean? 

It's standard XML syntax, signifying the contents are character data and 
so not to be parsed further.  This means it can include tag-like text 
(e.g. "This <word> isn't actually a tag") without having to worry about 
escaping it or stuff like that.  In the particular case you mention, I 
guess it's there in case you want to have e.g. "WHERE column1 < 10" 
without it thinking the '<' sign is part of an XML tag and so throwing a 
parse error.


Andrew.

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to