Exemplo n.º 1
0
 public static DiscoverableTaxonomySet getTemplateTaxonomy() {
   try {
     SAXBuilder saxBuilder = new SAXBuilder();
     return saxBuilder.build(
         new InputSource("xbrl/unit_tests/taxonomy_original/t-st-2006-12-31.xsd"));
   } catch (Exception ex) {
     System.err.println(ex.toString());
     ex.printStackTrace();
   }
   return null;
 }
Exemplo n.º 2
0
  public static DiscoverableTaxonomySet getDTS(String source)
      throws SAXException, IOException, ParserConfigurationException {

    SAXBuilder saxBuilder = new SAXBuilder();
    return saxBuilder.build(new InputSource(source));
  }