```batchfile
@rem Schema downloader
@rem
@rem Tool to download schemas.

@echo off

setlocal
if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)

set cp=
set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar

java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %*

:done
```

Fix for sDownload tool. Added correct v2 classpath entries. Submitted by: Jacob Danner
user
```batchfile
@rem Schema downloader
@rem
@rem Tool to download schemas.

@echo off

setlocal
if "%XMLBEANS_HOME%" EQU "" (set XMLBEANS_HOME=%~dp0..)

set cp=
set cp=%cp%;%XMLBEANS_HOME%\build\ar\xbean.jar
set cp=%cp%;%XMLBEANS_HOME%\build\lib\jsr173_api.jar
set cp=%cp%;%XMLBEANS_HOME%\build\lib\resolver.jar


java -classpath %cp% org.apache.xmlbeans.impl.tool.SchemaResourceManager %*

:done
```
assistant