You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Erlend Oftedal <eo...@gmail.com> on 2014/11/10 12:13:33 UTC

Limit length of tag name, attribute name or attribute value

Hi

Is it possible to instruct the parser to impose maximum length limits on
tag names, attribute names and attribute values?

Best regards
Erlend

Re: Limit length of tag name, attribute name or attribute value

Posted by Gary Gregory <ga...@gmail.com>.
For a given attribute or element value, you can use an XMLSchema to set a
maximum. You cannot AFAIK set a max generically for any tag name.

Gary

On Mon, Nov 10, 2014 at 6:13 AM, Erlend Oftedal <eo...@gmail.com> wrote:

> Hi
>
> Is it possible to instruct the parser to impose maximum length limits on
> tag names, attribute names and attribute values?
>
> Best regards
> Erlend
>



-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory