Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Display Types Defined in XML Schema with xs\QueryXS.java
How to display types defined in an XML Schema file with the xs\QueryXS.java provided in the Apache Xerces package?
✍: FYIcenter
If you want to display types defined in an XML Schema file,
you can try the xs\QueryXS.java provided in the Apache Xerces package:
Compile and run xs\QueryXS.java, if you have Apache Xerces 2.11.0 installed:
\fyicenter\xerces-2_11_0\samples>\fyicenter\jdk-1.8.0\bin\javac
-cp ..\xercesImpl.jar xs\QueryXS.java
\fyicenter\xerces-2_11_0\samples>\fyicenter\jdk-1.8.0\bin\java
-cp .;..\xercesImpl.jar xs.QueryXS User.xsd
Parsing User.xsd...
*************************************************
* Global element declarations: {namespace} name
*************************************************
{http://fyicenter.com}User
*************************************************
* Global type declarations: {namespace} name
*************************************************
{http://fyicenter.com}sexType
{http://www.w3.org/2001/XMLSchema}byte
{http://www.w3.org/2001/XMLSchema}integer
{http://www.w3.org/2001/XMLSchema}ENTITY
{http://www.w3.org/2001/XMLSchema}ID
{http://www.w3.org/2001/XMLSchema}NCName
{http://www.w3.org/2001/XMLSchema}boolean
{http://www.w3.org/2001/XMLSchema}base64Binary
{http://www.w3.org/2001/XMLSchema}nonPositiveInteger
{http://www.w3.org/2001/XMLSchema}ENTITIES
{http://www.w3.org/2001/XMLSchema}NMTOKENS
{http://www.w3.org/2001/XMLSchema}gYearMonth
{http://www.w3.org/2001/XMLSchema}unsignedByte
{http://www.w3.org/2001/XMLSchema}nonNegativeInteger
{http://www.w3.org/2001/XMLSchema}Name
{http://www.w3.org/2001/XMLSchema}NOTATION
{http://www.w3.org/2001/XMLSchema}positiveInteger
{http://www.w3.org/2001/XMLSchema}duration
{http://www.w3.org/2001/XMLSchema}gMonthDay
{http://www.w3.org/2001/XMLSchema}token
{http://www.w3.org/2001/XMLSchema}double
{http://www.w3.org/2001/XMLSchema}negativeInteger
{http://www.w3.org/2001/XMLSchema}IDREFS
{http://www.w3.org/2001/XMLSchema}float
{http://www.w3.org/2001/XMLSchema}date
{http://www.w3.org/2001/XMLSchema}long
{http://www.w3.org/2001/XMLSchema}normalizedString
{http://www.w3.org/2001/XMLSchema}anySimpleType
{http://www.w3.org/2001/XMLSchema}anyURI
{http://www.w3.org/2001/XMLSchema}dateTime
{http://www.w3.org/2001/XMLSchema}string
{http://www.w3.org/2001/XMLSchema}unsignedInt
{http://www.w3.org/2001/XMLSchema}IDREF
{http://www.w3.org/2001/XMLSchema}unsignedShort
{http://www.w3.org/2001/XMLSchema}anyType
{http://www.w3.org/2001/XMLSchema}unsignedLong
{http://www.w3.org/2001/XMLSchema}QName
{http://www.w3.org/2001/XMLSchema}gMonth
{http://www.w3.org/2001/XMLSchema}gDay
{http://www.w3.org/2001/XMLSchema}hexBinary
{http://www.w3.org/2001/XMLSchema}gYear
{http://www.w3.org/2001/XMLSchema}time
{http://www.w3.org/2001/XMLSchema}decimal
{http://www.w3.org/2001/XMLSchema}language
{http://www.w3.org/2001/XMLSchema}int
{http://www.w3.org/2001/XMLSchema}NMTOKEN
{http://www.w3.org/2001/XMLSchema}short
The output shows two global definitions from User.xsd. XML Schema built-in definitions are also listed.
⇒ Downloading Apache xml-commons
⇐ xs\QueryXS.java - Apache Xerves XS Sample
2017-09-12, ≈28🔥, 0💬
Popular Posts:
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
maven-core-3.8.6.jar is the JAR file for Apache Maven 3.8.6 Core module. Apache Maven is a software ...
Apache Log4j IOStreams is a Log4j API extension that provides numerous classes from java.io that can...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...
What Is log4j-1.2.13.jar? I got the JAR file from logging-log4j-1.2.13.zip .log4j-1.2.13.jar is the ...