java - What's the current URL for JAXB Bindings XML Schema? -
i'm trying automate generation of java classes xml dtd using xjc. generated java classes must serializable. articles add pointer bindings file uses schema @ http://java.sun.com/xml/ns/jaxb jaxb namespace, url doesn't work anymore.
the url http://java.sun.com/xml/ns/jaxb redirects http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/jaxb/index.html in turn says http://java.sun.com/xml/ns/jaxb latest url links http://www.oracle.com/xml/ns/jaxb/ redirects http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/jaxb/index.html.
a bit confusing.
i've found tutorials @ oracle updated in 2014 still use url, , didn't find other. have more date info?
this works me:
<?xml version="1.0" encoding="utf-8"?> <jaxb:bindings xmlns:xsd='http://www.w3.org/2001/xmlschema' xmlns:jaxb='http://java.sun.com/xml/ns/jaxb' version='2.1' xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/jaxb http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/jaxb/bindingschema_2_0.xsd"> </jaxb:bindings>
Comments
Post a Comment