Results 1 to 1 of 1
  1. Kull Damned's Avatar
    CrackBerry Newbie

    Posts
    7 Posts
    Thread AuthorThread Author   #1  

    Default Validate XML with XSD schema?

    Hi everyone,

    Is any way to validate XML using Blackberry API?

    Code:
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    factory.setValidating(true);
    DocumentBuilder builder = factory.newDocumentBuilder();
    if I remove factory.setValidating(true); - everything works. But with this line next step fails with following exception:
    ParserConfigurationException: not supported

    Maybe someone faced with this before and know solution of example.

Posting Permissions