[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Commented: (XMLBEANS-170) Javadoc error: @link class not
From:       "Daniel Bevenius (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2007-05-21 18:49:16
Message-ID: 16770382.1179773356521.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLBEANS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497540 \
] 

Daniel Bevenius commented on XMLBEANS-170:
------------------------------------------

Hi, 

I tried changing this in the following class : \
src/typeimpl/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java

method:
 void printFactory(SchemaType sType) throws IOException

I changed the occurences of :
 emit("/** @deprecated {@link XMLInputStream} */");
to:
 emit("/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */");

Would be great if this could be fixed.

Thanks

Daniel

> Javadoc error: @link class not fully qualified
> ----------------------------------------------
> 
> Key: XMLBEANS-170
> URL: https://issues.apache.org/jira/browse/XMLBEANS-170
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2
> Reporter: Jasper Rosenberg
> Assigned To: Jacob Danner
> Priority: Minor
> 
> The following code is generated:
> <code>
> /** @deprecated {@link XMLInputStream} */
> public static noNamespace.Address \
> parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws \
> org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException \
> { return (noNamespace.Address) \
> org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 
> /** @deprecated {@link XMLInputStream} */
> public static noNamespace.Address \
> parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, \
> org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, \
> org.apache.xmlbeans.xml.stream.XMLStreamException { return (noNamespace.Address) \
> org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 
> /** @deprecated {@link XMLInputStream} */
> public static org.apache.xmlbeans.xml.stream.XMLInputStream \
> newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) \
> throws org.apache.xmlbeans.XmlException, \
> org.apache.xmlbeans.xml.stream.XMLStreamException { return \
> org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( \
> xis, type, null ); } 
> /** @deprecated {@link XMLInputStream} */
> public static org.apache.xmlbeans.xml.stream.XMLInputStream \
> newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, \
> org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, \
> org.apache.xmlbeans.xml.stream.XMLStreamException { return \
> org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( \
> xis, type, options ); } </code>
> I get these warnings from eclipse:
> "Javadoc: XMLInputStream cannot be resolved to a type"
> I believe it just needs to be change to generate this instead:
> <code>
> /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
> </code>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic