You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, e.g. in some format conversions to XML, it is useful to know whether a string is a valid Name. LibXML.xs has a function to do such a check: LibXML_test_node_name. But this function is not available in the public API. I suppose that a current solution would be to use XML::LibXML::Attr->new and test whether the result is defined, but that's overkill and the behavior in case of invalid name is even undocumented. Thus a public version of LibXML_test_node_name would be useful.
The text was updated successfully, but these errors were encountered:
In some cases, e.g. in some format conversions to XML, it is useful to know whether a string is a valid Name. LibXML.xs has a function to do such a check: LibXML_test_node_name. But this function is not available in the public API. I suppose that a current solution would be to use XML::LibXML::Attr->new and test whether the result is defined, but that's overkill and the behavior in case of invalid name is even undocumented. Thus a public version of LibXML_test_node_name would be useful.
In some cases, e.g. in some format conversions to XML, it is useful to know whether a string is a valid Name.
LibXML.xs
has a function to do such a check:LibXML_test_node_name
. But this function is not available in the public API. I suppose that a current solution would be to useXML::LibXML::Attr->new
and test whether the result is defined, but that's overkill and the behavior in case of invalid name is even undocumented. Thus a public version ofLibXML_test_node_name
would be useful.The text was updated successfully, but these errors were encountered: