Xml Char
[Woden/C project]


Functions

axis2_bool_t woden_xml_char_is_supplemental (int c)
int woden_xml_char_supplemental (char h, char l)
axis2_char_t woden_xml_char_high_surrogate (int c)
axis2_char_t woden_xml_char_low_surrogate (int c)
axis2_bool_t woden_xml_char_is_high_surrogate (int c)
axis2_bool_t woden_xml_char_is_low_surrogate (int c)
axis2_bool_t woden_xml_char_is_valid (int c)
axis2_bool_t woden_xml_char_is_invalid (int c)
axis2_bool_t woden_xml_char_is_content (int c)
axis2_bool_t woden_xml_char_is_markup (int c)
axis2_bool_t woden_xml_char_is_space (int c)
axis2_bool_t woden_xml_char_is_xml11_space (int c)
axis2_bool_t woden_xml_char_is_name_start (int c)
axis2_bool_t woden_xml_char_is_name (int c)
axis2_bool_t woden_xml_char_is_nc_name_start (int c)
axis2_bool_t woden_xml_char_is_nc_name (int c)
axis2_bool_t woden_xml_char_is_pubid (int c)
axis2_bool_t woden_xml_char_is_valid_name (axis2_char_t *name)
axis2_bool_t woden_xml_char_is_valid_nc_name (axis2_char_t *nc_name)
axis2_bool_t woden_xml_char_is_valid_nmtoken (axis2_char_t *nmtoken)

Function Documentation

axis2_char_t woden_xml_char_high_surrogate ( int  c  ) 

Returns the high surrogate of a supplemental character

Parameters:
c The supplemental character to "split".

axis2_bool_t woden_xml_char_is_content ( int  c  ) 

Returns AXIS2_TRUE if the specified character can be considered content.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_high_surrogate ( int  c  ) 

Returns whether the given character is a high surrogate

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_invalid ( int  c  ) 

Returns AXIS2_TRUE if the specified character is invalid.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_low_surrogate ( int  c  ) 

Returns whether the given character is a low surrogate

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_markup ( int  c  ) 

Returns AXIS2_TRUE if the specified character can be considered markup. Markup characters include '<', '&', and ''.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_name ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a valid name character as defined by production [4] in the XML 1.0 specification.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_name_start ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a valid name start character as defined by production [5] in the XML 1.0 specification.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_nc_name ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a valid NCName character as defined by production [5] in Namespaces in XML recommendation.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_nc_name_start ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a valid nc_name start character as defined by production [4] in Namespaces in XML recommendation.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_pubid ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a valid Pubid character as defined by production [13] in the XML 1.0 specification.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_space ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a space character as defined by production [3] in the XML 1.0 specification.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_supplemental ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a supplemental character.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_valid ( int  c  ) 

Returns AXIS2_TRUE if the specified character is valid. This method also checks the surrogate character range from 0x10000 to 0x10FFFF.

If the program chooses to apply the mask directly to the xml_char_impl->CHARS array, then they are responsible for checking the surrogate character range.

Parameters:
c The character to check.

axis2_bool_t woden_xml_char_is_valid_name ( axis2_char_t *  name  ) 

Check to see if a string is a valid Name according to [5] in the XML 1.0 Recommendation

Parameters:
name string to check
Returns:
AXIS2_TRUE if name is a valid Name

axis2_bool_t woden_xml_char_is_valid_nc_name ( axis2_char_t *  nc_name  ) 

Check to see if a string is a valid NCName according to [4] from the XML Namespaces 1.0 Recommendation

Parameters:
nc_name string to check
Returns:
AXIS2_TRUE if name is a valid NCName

axis2_bool_t woden_xml_char_is_valid_nmtoken ( axis2_char_t *  nmtoken  ) 

Check to see if a string is a valid Nmtoken according to [7] in the XML 1.0 Recommendation

Parameters:
nmtoken string to check
Returns:
AXIS2_TRUE if nmtoken is a valid nmtoken

axis2_bool_t woden_xml_char_is_xml11_space ( int  c  ) 

Returns AXIS2_TRUE if the specified character is a space character as amdended in the XML 1.1 specification.

Parameters:
c The character to check.

axis2_char_t woden_xml_char_low_surrogate ( int  c  ) 

Returns the low surrogate of a supplemental character

Parameters:
c The supplemental character to "split".

int woden_xml_char_supplemental ( char  h,
char  l 
)

Returns AXIS2_TRUE the supplemental character corresponding to the given surrogates.

Parameters:
h The high surrogate.
l The low surrogate.


Generated on Thu Oct 26 21:00:28 2006 for Axis2/C by  doxygen 1.4.7