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

List:       xmlrpc-user
Subject:    Re: getLineNumber not working in Apache XmlSchema
From:       Oscar Westra van Holthe - Kind <oscar () westravanholthe ! nl>
Date:       2023-03-28 11:20:31
Message-ID: CAOD=i1_EmoPLyZA5GhQQJWfOUOBsuc1XdKLh99NVsg1BdLfmFg () mail ! gmail ! com
[Download RAW message or body]

Hi Mike,

To my knowledge, the line & column numbers exist in the API, but are not
implemented. The only places where I see them get set is when copying
objects.


Kind regards,
Oscar


On Tue, 28 Mar 2023 at 01:56, Mike Beckerle <mbeckerle@apache.org> wrote:

>
> So apologies if this question is well answered already. I am having no
> luck web searching for this. I get lots of irrelevant hits back.
>
> When I call XmlSchemaObject.getLineNumber on any of the objects that
> implement that method, I always get back "0".
>
> Is there an example code snippet showing this working that I can learn
> from?
>


-- 

✉️ Oscar Westra van Holthe - Kind <oscar@westravanholthe.nl>

[Attachment #3 (text/html)]

<div dir="ltr"><div class="gmail_default" \
style="font-family:georgia,serif;font-size:small">Hi Mike,<br><br>To my knowledge, \
the line &amp; column numbers exist in the API, but are not implemented. The only \
places where I see them get set is when copying objects.<br><br></div><div \
class="gmail_default" \
style="font-family:georgia,serif;font-size:small"><br></div><div \
class="gmail_default" style="font-family:georgia,serif;font-size:small">Kind \
regards,</div><div class="gmail_default" \
style="font-family:georgia,serif;font-size:small">Oscar</div><div \
class="gmail_default" \
style="font-family:georgia,serif;font-size:small"><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 28 Mar 2023 at 01:56, \
Mike Beckerle &lt;<a href="mailto:mbeckerle@apache.org">mbeckerle@apache.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div \
dir="ltr"><div><br></div><div>So apologies if this question is well answered already. \
I am having no luck web searching for this. I get lots of irrelevant hits back.  \
<br><br>When I call XmlSchemaObject.getLineNumber on any of the objects that \
implement that method, I always get back &quot;0&quot;.<br><br>Is there an example \
code snippet showing this working that I can learn from?<br></div></div> \
</blockquote></div><br clear="all"><div><br></div><span \
class="gmail_signature_prefix">-- </span><br><div dir="ltr" \
class="gmail_signature"><div dir="ltr"><pre><span style="font-family:&quot;times new \
roman&quot;,serif"><code><span><span><pre><span style="font-family:&quot;times new \
roman&quot;,serif"><code><span style="font-family:&quot;times new \
roman&quot;,serif"><code>✉️ Oscar Westra van Holthe - Kind \
&lt;oscar</code></span>@</code></span><span style="font-family:&quot;times new \
roman&quot;,serif"><code><span style="font-family:&quot;times new \
roman&quot;,serif"><code><a href="http://westravanholthe.nl" \
target="_blank">westravanholthe.nl</a></code></span>&gt; \
</code></span></pre></span></span></code></span></pre></div></div>



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

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