sentence,label JAXB Bindings File Sets @XmlElement type to String instead of XMLGregorianCalendar.,o I'm trying to create an CODETERM1 that takes in an CODETERM2 and outputs an CODETERM3 .,o The purpose is simlply to remove timezone data from the element when unmarshalling data.,o It looks like this: CODESNIPPET_JAVA1 .,o This works fine for the following code: CODESNIPPET_JAVA2 .,p "Unfortunately, when I generate the code using a CODETERM4 file, the above code looks like this: CODESNIPPET_JAVA3 .",n "It sets the type to CODETERM5 , so my above method doesn't work.",o The type CODETERM6 setting is overriding the CODETERM7 type that it should be.,o "I can manually change it, but I'd rather not have to remember to update it every time the jaxb files are regenerated.",o Does anyone know if there's an option to manually set the CODETERM8 type or have it ignored?,o Here is the relevant portion of the CODETERM9 file: CODESNIPPET_JAVA4 .,o It might be that the XPath term in your Binding is not finding the required element.,o You don't need the dot since // searches in the entire document.,o And more importantly try surrounding the element name with ''.,o "Resulting term should look like this: node=""//xs:element[@name='bar-date']"".",o What does the XSD look like?,o Is the bar-date element defined as xs:string or a complexType?,o "maybe i'm wrong, but i think marshall/unmarshall pursuit a different goal, what you are trying to do is conceptually incorrect.",n "maybe the timezone removal itself is incorrect, why would someone do it?",o "Please provide the xsd, without it its difficult to guess the issue, or recreate it.",n the bar-date element should be defined with a xsd:date type.,o Is this the case ?,o "sorry, too long for a comment... i can't understand: 1. why the hell are you using CODETERM1 ?",o 2. why should you CODETERM2 / CODETERM3 ( CODETERM4 / CODETERM5 ) to the very same data structure?,o 3. why should you remove timezone??,o and 1. i use straight and simple CODETERM6 2.,p CODETERM7 / CODETERM8 should always involve CODETERM9 s (at least for XML) 3. i really don' see a good reason to arbitrarily remove a piece of a date representation.,p maybe you want to serialize it in an absolute way.,o however CODESNIPPET_JAVA1 .,o HTML/XML Parser for Java.,o "What HTML parsers have the following features: Fast Thread-safe Reliable and bug-free Parses HTML and XML Handles erroneous HTML Has a DOM implementation Supports HTML4, JavaScript, and CSS tags Relatively simple, object-oriented API What parser you think is better?",o Thank you.,p "what do you mean by ""support HTML4, javascript and CSS"" ?",o "A parser is just that, a parser, it won't interpret your page.",o "If you want to simulate a browser, please rephrase your question.",o No.,o Some parsers do not understand things like CSS.,o This is what I mean.,o "If CSS is in a